Bug#696837: marked as done (Missing Depends on python-libtorrent, fails to start)

2013-01-29 Thread Debian Bug Tracking System
Your message dated Tue, 29 Jan 2013 17:03:29 +
with message-id 
and subject line Bug#696837: fixed in deluge 1.3.3-2+nmu1
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 

from deluge._libtorrent import lt
  File "/usr/lib/python2.7/dist-packages/deluge/_libtorrent.py", line 59, in 

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-common1.3.3-2
ii  librsvg2-common  2.36.1-1
ii  python   2.7.3-3
ii  python-glade22.24.0-3
pn  python-notify
ii  python2.62.6.8-1
ii  python2.72.7.3-5
ii  xdg-utils1.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 ---
Source: deluge
Source-Version: 1.3.3-2+nmu1

We believe that the bug you reported is fixed in the latest version of
deluge, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 696...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Steve McIntyre <93...@debian.org> (supplier of updated deluge package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@debian.org)


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Format: 1.8
Date: Sun, 27 Jan 2013 16:29:15 +
Source: deluge
Binary: deluge-common deluged deluge-console deluge-web deluge-gtk deluge 
deluge-webui deluge-torrent
Architecture: source all
Version: 1.3.3-2+nmu1
Distribution: unstable
Urgency: low
Maintainer: Cristian Greco 
Changed-By: Steve McIntyre <93...@debian.org>
Description: 
 deluge - bittorrent client written in Python/PyGTK
 deluge-common - bittorrent client written in Python/PyGTK (common files)
 deluge-console - bittorrent client written in Python/PyGTK (console ui)
 deluge-gtk - bittorrent client written in Python/PyGTK (GTK+ ui)
 deluge-torrent - bittorrent client (gtk ui transitional package)
 deluge-web - bittorrent client written in Python/PyGTK (web ui)
 deluge-webui - bittorrent client (web ui transitional package)
 deluged- bittorrent client written in Python/PyGTK (daemon)
Closes: 696837
Changes: 
 deluge (1.3.3-2+nmu1) unstable; urgency=low
 .
   * NMU
   * Add Depends: python-libtorrent. Closes: #696837
 Thanks to Eddy Pronk for the patch.
Checksums-Sha1: 
 ede64a42f3f3cab2db823d617316651bae56cf12 2217 deluge_1.3.3-2+nmu1.dsc
 a11e4e252e29f16d288b0258268129d01786ed8d 18867 
deluge_1.3.3-2+nmu1.debian.tar.gz
 5d02fe3813466403e33e7c76483243e3173aebde 1235506 
deluge-com

Bug#696837: marked as done (Missing Depends on python-libtorrent, fails to start)

2013-01-29 Thread Steve McIntyre
On Tue, Jan 29, 2013 at 01:52:43AM +0600, Andrey Rahmatullin wrote:
>On Mon, Jan 28, 2013 at 08:21:09PM +0100, Cristian Greco wrote:
>> First of all, I apologize for not taking care of the huge amount of
>> bugs with deluge lately.
>> 
>> I tend to disagree with the proposed patch. The current situation of
>> deluge dependencies is *exactly* as it was intended: the reason is
>> clearly (IMHO) stated in packages description; and it is the result
>> of a discussion which also involved upstream authors and led to the
>> kind of fragmentation of dependencies we all see.
>> 
>> The patch proposed to fix this bug is a complete revert of the change at
>> [0], which in turn was discussed and agreed with upstream in order to
>> fix the bug at [1] and to make it clear the client-server model of
>> deluge and the role of its UIs packages.
>> 
>> Having said that, I'd prefer to leave package' dependencies untouched,
>> and instead ask you for suggestions on how to improve their descriptions
>> and make it clear to the final user why and when she or he should
>> choose to install `deluge` rather than `deluge-gtk` (maybe the name of
>> the package is also unfortunate here and helps causing confusion).
>> 
>> [0] 
>> http://anonscm.debian.org/gitweb/?p=collab-maint/deluge.git;a=commitdiff;h=c9647e5e55e3fa89b4b4073708b291c3c08a23f9
>> [1] https://bugs.launchpad.net/ubuntu/+source/deluge/+bug/672069
>There is only one change needed: if an user installs just deluge-gtk they
>shouldn't get the classic mode enabled by default.
>I'm not sure that this is possible at all, though.

If that's not possible, then I'd argue that the package split is a
mess. Installing an end-user desktop program that *by default* will
show a python stack strace to a user on first use is far too
unfriendly. IMHO that's RC, just as described in this bug report.

-- 
Steve McIntyre, Cambridge, UK.st...@einval.com
< liw> everything I know about UK hotels I learned from "Fawlty Towers"


-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#696837: marked as done (Missing Depends on python-libtorrent, fails to start)

2013-01-28 Thread Andrey Rahmatullin
On Mon, Jan 28, 2013 at 08:21:09PM +0100, Cristian Greco wrote:
> First of all, I apologize for not taking care of the huge amount of
> bugs with deluge lately.
> 
> I tend to disagree with the proposed patch. The current situation of
> deluge dependencies is *exactly* as it was intended: the reason is
> clearly (IMHO) stated in packages description; and it is the result
> of a discussion which also involved upstream authors and led to the
> kind of fragmentation of dependencies we all see.
> 
> The patch proposed to fix this bug is a complete revert of the change at
> [0], which in turn was discussed and agreed with upstream in order to
> fix the bug at [1] and to make it clear the client-server model of
> deluge and the role of its UIs packages.
> 
> Having said that, I'd prefer to leave package' dependencies untouched,
> and instead ask you for suggestions on how to improve their descriptions
> and make it clear to the final user why and when she or he should
> choose to install `deluge` rather than `deluge-gtk` (maybe the name of
> the package is also unfortunate here and helps causing confusion).
> 
> [0] 
> http://anonscm.debian.org/gitweb/?p=collab-maint/deluge.git;a=commitdiff;h=c9647e5e55e3fa89b4b4073708b291c3c08a23f9
> [1] https://bugs.launchpad.net/ubuntu/+source/deluge/+bug/672069
There is only one change needed: if an user installs just deluge-gtk they
shouldn't get the classic mode enabled by default.
I'm not sure that this is possible at all, though.

-- 
WBR, wRAR


signature.asc
Description: Digital signature


Bug#696837: marked as done (Missing Depends on python-libtorrent, fails to start)

2013-01-28 Thread Cristian Greco
Hi all!

First of all, I apologize for not taking care of the huge amount of
bugs with deluge lately.

I tend to disagree with the proposed patch. The current situation of
deluge dependencies is *exactly* as it was intended: the reason is
clearly (IMHO) stated in packages description; and it is the result
of a discussion which also involved upstream authors and led to the
kind of fragmentation of dependencies we all see.

The patch proposed to fix this bug is a complete revert of the change at
[0], which in turn was discussed and agreed with upstream in order to
fix the bug at [1] and to make it clear the client-server model of
deluge and the role of its UIs packages.

Having said that, I'd prefer to leave package' dependencies untouched,
and instead ask you for suggestions on how to improve their descriptions
and make it clear to the final user why and when she or he should
choose to install `deluge` rather than `deluge-gtk` (maybe the name of
the package is also unfortunate here and helps causing confusion).

[0] 
http://anonscm.debian.org/gitweb/?p=collab-maint/deluge.git;a=commitdiff;h=c9647e5e55e3fa89b4b4073708b291c3c08a23f9
[1] https://bugs.launchpad.net/ubuntu/+source/deluge/+bug/672069


Thanks,
--
Cristian Greco
GPG key ID: 0xCF4D32E4


signature.asc
Description: PGP signature


Bug#696837: marked as done (Missing Depends on python-libtorrent, fails to start)

2013-01-27 Thread Andrey Rahmatullin
On Sun, Jan 27, 2013 at 12:02:43PM -0500, Andrew Starr-Bochicchio wrote:
> From the proposed patch:
> 
> @@ -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
> 
> Adding the extra dependency to deluge-gtk doesn't really bother me all
> that much one way or the other, but this patch isn't really correct
> either. This seems to remove the python-libtorrent dependency for
> deluged. That will break the use case of running the daemon
> application on a remote server.
It seems that the patch adds the dependency to deluge-common.

-- 
WBR, wRAR


signature.asc
Description: Digital signature


Bug#696837: marked as done (Missing Depends on python-libtorrent, fails to start)

2013-01-27 Thread Steve McIntyre
On Sun, Jan 27, 2013 at 12:02:43PM -0500, Andrew Starr-Bochicchio wrote:
>On Sun, Jan 27, 2013 at 11:42 AM, Debian Bug Tracking System
> wrote:
>> NMU in delayed/2 now using the attached debdiff (Eddy's patch).
>
>From the proposed patch:
>
>@@ -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
>
>
>
>Adding the extra dependency to deluge-gtk doesn't really bother me all
>that much one way or the other, but this patch isn't really correct
>either. This seems to remove the python-libtorrent dependency for
>deluged. That will break the use case of running the daemon
>application on a remote server.

Should be fine: deluged depends on deluge-common (same version), which
will now bring in python-libtorrent as a dependency.

-- 
Steve McIntyre, Cambridge, UK.st...@einval.com
"I can't ever sleep on planes ... call it irrational if you like, but I'm
 afraid I'll miss my stop" -- Vivek Dasmohapatra


-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#696837: marked as done (Missing Depends on python-libtorrent, fails to start)

2013-01-27 Thread Andrew Starr-Bochicchio
On Sun, Jan 27, 2013 at 11:42 AM, Debian Bug Tracking System
 wrote:
> NMU in delayed/2 now using the attached debdiff (Eddy's patch).

>From the proposed patch:

@@ -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



Adding the extra dependency to deluge-gtk doesn't really bother me all
that much one way or the other, but this patch isn't really correct
either. This seems to remove the python-libtorrent dependency for
deluged. That will break the use case of running the daemon
application on a remote server.

-- Andrew Starr-Bochicchio

   Ubuntu Developer 
   Debian Developer 
   PGP/GPG Key ID: D53FDCB1


-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#696837: marked as done (Missing Depends on python-libtorrent, fails to start)

2013-01-27 Thread Debian Bug Tracking System
Your message dated Sun, 27 Jan 2013 16:39:06 +
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 

from deluge._libtorrent import lt
  File "/usr/lib/python2.7/dist-packages/deluge/_libtorrent.py", line 59, in 

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-common1.3.3-2
ii  librsvg2-common  2.36.1-1
ii  python   2.7.3-3
ii  python-glade22.24.0-3
pn  python-notify
ii  python2.62.6.8-1
ii  python2.72.7.3-5
ii  xdg-utils1.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 
>> 
>> 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.0 +0100
+++ deluge-1.3.3/debian/changelog   2013-01-27 16:29:27.0 +
@@ -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 20