Message5867

Author jheiselman
Recipients jheiselman
Date 2010-07-01.19:17:42
SpamBayes Score 1.0032796e-06
Marked as misclassified No
Message-id <1278011864.59.0.184592588522.issue1626@psf.upfronthosting.co.za>
In-reply-to
Content
I cannot seem to get urlretrieve to function the way it should.  No matter what URL I give it, it gives this error.  The 2 argument version (for saving to a named file) throws the same error.

Platform information:
Jython 2.5.1 (Release_2_5_1:6813, Sep 26 2009, 13:47:54)
[Java HotSpot(TM) Client VM (Sun Microsystems Inc.)] on java1.5.0_22


>>> urllib.urlretrieve("http://build.chromium.org/buildbot/snapshots/chromium-rel-xp/50594/chrome-win32.zip")
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "C:\jython\jython.jar\Lib\urllib.py", line 89, in urlretrieve
  File "C:\jython\jython.jar\Lib\urllib.py", line 222, in retrieve
  File "C:\jython\jython.jar\Lib\urllib.py", line 180, in open
TypeError: cannot concatenate 'str' and 'NoneType' objects
History
Date User Action Args
2010-07-01 19:17:44jheiselmansetrecipients: + jheiselman
2010-07-01 19:17:44jheiselmansetmessageid: <1278011864.59.0.184592588522.issue1626@psf.upfronthosting.co.za>
2010-07-01 19:17:44jheiselmanlinkissue1626 messages
2010-07-01 19:17:42jheiselmancreate