If this is not the right mailinglist for this subject, please do let
me know which is the right one. I wrote a little glade/python app that
is supposed to download several (rather large) files when a certain
button is clicked. The download should be able to be canceled by
pressing an other button, and a progress-bar should be updated. After
messing around with urllib and urllib2, I decided to go with gnomevfs:
http://cvs.gnome.org/viewcvs/gnome-python/gnome-python/examples/vfs/async-xfer.py?rev=1.1&view=markup
This script does exactly what I want, so I adjusted it, and put it in
my app. But lots of the downloads failed. Even the original script
fails:

[EMAIL PROTECTED] ~/downloads/foo $ ./async-xfer.py http://foo.bar/foo.zip
/home/bar/foo.zip
*** glibc detected *** double free or corruption (!prev): 0x080620f8 ***
Aborted

This happens only on some of the servers, but in 1/10 of the cases,
the download does proceed. (with some urls, the download always works)

I have a gentoo linux system:
[ebuild   R   ] gnome-base/gnome-vfs-2.10.1-r1  -debug -doc -gnutls
-hal -howl +ipv6 +samba +ssl 0 kB
[ebuild   R   ] dev-python/gnome-python-2.10.0  -debug -doc -gtkhtml 0 kB

Is there something I'm doing wrong, or should I file a bug (where?)?


Jens Geiregat
_______________________________________________
pygtk mailing list   [email protected]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Reply via email to