This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author sschwarzer
Recipients ajaksu2, orsenthil, reowen, sschwarzer
Date 2011-06-26.13:54:35
SpamBayes Score 7.502198e-05
Marked as misclassified No
Message-id <1309096476.65.0.601910763947.issue1067702@psf.upfronthosting.co.za>
In-reply-to
Content
I was able to get some error output with the code of the OP. However, I only saw the "opposite" message, such as:

Retrieval of 'ftp://ftp.gnome.org/pub/debian/dists/stable/main/source/Sources.bz2' failed with error: [Errno ftp error] 200 Switching to Binary mode.

I had to change the used FTP server and path because I had problems connecting to that server.

Even with the guidelines by the OP, I could trigger the bug only occasionally.

I converted the script to be executable with manual intervention (see attachment). Still, sometimes both files are also successfully downloaded in the second iteration (i. e. the "outer" iteration which downloads both files).

These results are from a test with Python 2.6.6. I plan to continue testing with the tip of the Python 2.7 branch.
History
Date User Action Args
2011-06-26 13:54:37sschwarzersetrecipients: + sschwarzer, reowen, orsenthil, ajaksu2
2011-06-26 13:54:36sschwarzersetmessageid: <1309096476.65.0.601910763947.issue1067702@psf.upfronthosting.co.za>
2011-06-26 13:54:35sschwarzerlinkissue1067702 messages
2011-06-26 13:54:35sschwarzercreate