Your message dated Sun, 27 Jan 2013 16:39:06 +0000
with message-id <20130127163906.ga32...@einval.com>
and subject line Re: Bug#696837: Missing Depends on python-libtorrent, fails to 
start
has caused the Debian Bug report #696837,
regarding Missing Depends on python-libtorrent, fails to start
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
696837: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=696837
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: deluge-gtk
Version: 1.3.3-2
Severity: grave

After "apt-get install deluge-gtk" Deluge failed to start with the following
traceback:

Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/deluge/ui/gtkui/gtkui.py", line 299, 
in _on_reactor_start
    client.start_classic_mode()
  File "/usr/lib/python2.7/dist-packages/deluge/ui/client.py", line 559, in 
start_classic_mode
    self._daemon_proxy = DaemonClassicProxy(self.__event_handlers)
  File "/usr/lib/python2.7/dist-packages/deluge/ui/client.py", line 432, in 
__init__
    self.__daemon = deluge.core.daemon.Daemon(classic=True)
  File "/usr/lib/python2.7/dist-packages/deluge/core/daemon.py", line 136, in 
__init__
    from deluge.core.core import Core
  File "/usr/lib/python2.7/dist-packages/deluge/core/core.py", line 36, in 
<module>
    from deluge._libtorrent import lt
  File "/usr/lib/python2.7/dist-packages/deluge/_libtorrent.py", line 59, in 
<module>
    import libtorrent as lt
ImportError: No module named libtorrent

deluge-gtk needs a Depends on python-libtorrent. Installing it fixes it.

Cheers,
        Moritz

-- System Information:
Debian Release: 7.0
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.2.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages deluge-gtk depends on:
ii  deluge-common                        1.3.3-2
ii  librsvg2-common                      2.36.1-1
ii  python                               2.7.3-3
ii  python-glade2                        2.24.0-3
pn  python-notify                        <none>
ii  python2.6                            2.6.8-1
ii  python2.7                            2.7.3-5
ii  xdg-utils                            1.1.0~rc1+git20111210-6
ii  xfce4-notifyd [notification-daemon]  0.2.2-2

Versions of packages deluge-gtk recommends:
ii  python-pygame  1.9.1release+dfsg-7

deluge-gtk suggests no packages.

-- no debconf information

--- End Message ---
--- Begin Message ---
On Fri, Dec 28, 2012 at 08:49:57PM +0600, Andrey Rahmatullin wrote:
>On Fri, Dec 28, 2012 at 01:52:29AM +0100, Moritz Muehlenhoff wrote:
>>   File "/usr/lib/python2.7/dist-packages/deluge/_libtorrent.py", line 59, in 
>> <module>
>>     import libtorrent as lt
>> ImportError: No module named libtorrent
>> 
>> deluge-gtk needs a Depends on python-libtorrent. Installing it fixes it.
>Note that 
>- this is needed only to run the daemon part, by the standalone daemon or
>  by the clien in classic mode
>- deluged depends on python-libtorrent
>- deluge (which has "You may want to install this package to use Deluge in
>  classic mode" in the description") depends on python-libtorrent
>
>But you can install just deluge-gtk and the classic mode will be enabled
>by default, displaying a window with the stack trace and a button which
>disables the classic mode. If it was disabled by default I would lower the
>severity but the current situation sounds wrong unless I'm missing
>something. 
>The easiest fix is to have deluge-gtk recommend python-libtorrent but the
>existence of an almost empty deluge package shows that the current
>situation is probably not what was intended by the maintainer.

If deluge-gtk prints a stack trace to a first-time user on first use
because of a missing dependency, let's just install that dependency
already. What's the downside to that?

NMU in delayed/2 now using the attached debdiff (Eddy's patch).

-- 
Steve McIntyre, Cambridge, UK.                                st...@einval.com
We don't need no education.
We don't need no thought control.
diff -Nru deluge-1.3.3/debian/changelog deluge-1.3.3/debian/changelog
--- deluge-1.3.3/debian/changelog       2011-09-25 17:04:26.000000000 +0100
+++ deluge-1.3.3/debian/changelog       2013-01-27 16:29:27.000000000 +0000
@@ -1,3 +1,11 @@
+deluge (1.3.3-2+nmu1) unstable; urgency=low
+
+  * NMU
+  * Add Depends: python-libtorrent. Closes: #696837
+    Thanks to Eddy Pronk for the patch.
+
+ -- Steve McIntyre <93...@debian.org>  Sun, 27 Jan 2013 16:29:15 +0000
+
 deluge (1.3.3-2) unstable; urgency=low
 
   * debian/patches:
diff -Nru deluge-1.3.3/debian/control deluge-1.3.3/debian/control
--- deluge-1.3.3/debian/control 2011-09-25 17:04:26.000000000 +0100
+++ deluge-1.3.3/debian/control 2013-01-27 16:27:03.000000000 +0000
@@ -22,6 +22,7 @@
          python-pkg-resources,
          python-chardet,
          python-xdg,
+         python-libtorrent (>= 0.14.9),
          geoip-database
 Breaks: deluge-torrent-common (<< 1.0.7.dfsg-1), deluge-torrent (<< 
1.0.7.dfsg-1), deluge-core (<< 1.2.0~rc1-1)
 Replaces: deluge-torrent-common (<< 1.0.7.dfsg-1), deluge-torrent (<< 
1.0.7.dfsg-1), deluge-core (<< 1.2.0~rc1-1)
@@ -41,8 +42,7 @@
 Package: deluged
 Architecture: all
 Depends: ${misc:Depends}, ${python:Depends},
-         deluge-common (= ${source:Version}),
-         python-libtorrent (>= 0.14.9)
+         deluge-common (= ${source:Version})
 Description: bittorrent client written in Python/PyGTK (daemon)
  Deluge is a full-featured, multi-platform, multi-interface BitTorrent client
  using libtorrent-rasterbar in it's backend and featuring multiple

--- End Message ---

Reply via email to