Package: freeloader Version: 0.3-3 Severity: grave Tags: patch Justification: renders package unusable
Running "freeloader" results in the following error message: Traceback (most recent call last): File "/usr/bin/freeloader", line 42, in ? import gnomevfs ImportError: No module named gnomevfs I guessed that the gnome.vfs module in the stable version of python2.3-gnome2 might be an earlier version of gnomevfs, so I tried replacing this line with: try: import gnomevfs except ImportError: import gnome.vfs as gnomevfs After this change, it was possible to start the program, open dialogs, and beging downloading files. However, after a download is finished, it shows the error message: Exception in thread Thread-2:Traceback (most recent call last): File "/usr/lib/python2.3/threading.py", line 442, in __bootstrap self.run() File "/usr/share/freeloader/webdl.py", line 111, in run self.completed() File "/usr/share/freeloader/genericdl.py", line 162, in completed iname = gnome.ui.icon_lookup(theme, fact, AttributeError: 'module' object has no attribute 'icon_lookup' and then becomes unresponsive; I had to send it a SIGTERM to kill it. Looking at the source, I can see why - it fails to release the Gdk mutex if an exception occurs on this line! To avoid this sort of problem, each use of gtk.gdk.threads_{enter,leave} in the program should be replaced with something like "gdk_lock = GdkLock()" or "del gdk_lock" respectively, where GdkLock is defined as something like: class GdkLock: def __init__(self): gtk.gdk.threads_enter() def __del__(self): gtk.gdk.threads_leave() With this second change, the program is barely functional, but continues to print error messages that suggest to me it requires a more recent version of python-gnome2 than that in sarge. -- System Information: Debian Release: 3.1 APT prefers unstable APT policy: (500, 'unstable') Architecture: i386 (i686) Kernel: Linux 2.4.27-2-686 Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) Versions of packages freeloader depends on: ii bittorrent 3.4.2-3sarge0.1 Scatter-gather network file transf ii librsvg2-2 2.8.1-3 SAX-based renderer library for SVG ii python 2.3.5-2 An interactive high-level object-o ii python-glade2 2.6.1-2 GTK+ bindings: Glade support ii python-gnome2 2.6.1-1 Python bindings for the GNOME desk ii python-gtk2 2.6.1-2 Python bindings for the GTK+ widge -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]