Hi, > I tried this script in jython which failed: ... > (and it works in Python itself...)
I suspect that's because jython is an implementation of python 2.1, and debian is using python 2.3. I tried running your script under python2.1, and it fails also: [EMAIL PROTECTED]:~> python foo.py http://webbook.nist.gov/cgi/cbook.cgi/nist-3d.mol?Str3File=foo http://webbook.nist.gov/cgi/cbook.cgi/nist-3d.mol?Str3File=bar http://webbook.nist.gov/cgi/cbook.cgi/nist-3d.mol?Str3File=baz [EMAIL PROTECTED]:~> python2.1 foo.py http://webbook.nist.gov/cgi/cbook.cgi/nist-3d.mol?Str3File=foo Traceback (most recent call last): File "foo.py", line 11, in ? for pageline in urllib.urlopen(url) : AttributeError: addinfourl instance has no attribute '__getitem__' [EMAIL PROTECTED]:~> My guess therefore is that it's not jython at fault, but just the fact that the script relies on behaviour that was introduced in python 2.2 or later. If this is correct, my suggestion would be to simply close this bug (since it's merely a case of the user writing to an incorrect version of the language). If this is not correct, any further insight you might have would be appreciated. Ben. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]