Bug#554446: deluge: Problems directly opening torrent files

View: New views
3 Messages — Rating Filter:   Alert me  

Bug#554446: deluge: Problems directly opening torrent files

by Sven Arvidsson :: Rate this Message:

Reply (Restricted by the Administrator) | Reply to Author | View Threaded | Show Only this Message

Package: deluge
Version: 1.2.0~rc3-1
Severity: normal

Hi,

The new version of Deluge have problems when I directly add Torrent
files, such as using the "Open" button directly in my web browser,
Epiphany.

The first time I do this, Deluge is launched, but no torrent added. If
I use the "Open" button again, the torrent is launched and starts to
download, but the progressbar is frozen and never updates.

This is a regression from earlier versions.

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.31-trunk-686-bigmem (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages deluge depends on:
ii  deluge-gtk                   1.2.0~rc3-1 bittorrent client written in Pytho
ii  python                       2.5.4-2     An interactive high-level object-o

deluge recommends no packages.

deluge suggests no packages.

-- no debconf information



--
To UNSUBSCRIBE, email to debian-bugs-dist-REQUEST@...
with a subject of "unsubscribe". Trouble? Contact listmaster@...


Bug#554446: deluge: Problems directly opening torrent files

by Cristian Greco-4 :: Rate this Message:

Reply (Restricted by the Administrator) | Reply to Author | View Threaded | Show Only this Message

On Wed, 04 Nov 2009 15:36:35 +0100
Sven Arvidsson <sa@...> wrote:

> Package: deluge
> Version: 1.2.0~rc3-1
> Severity: normal
>
> Hi,
>
> The new version of Deluge have problems when I directly add Torrent
> files, such as using the "Open" button directly in my web browser,
> Epiphany.
>
> The first time I do this, Deluge is launched, but no torrent added. If
> I use the "Open" button again, the torrent is launched and starts to
> download, but the progressbar is frozen and never updates.
>
> This is a regression from earlier versions.
Hi Sven,

I'm unable to reproduce this bug.

Could you please test it with another browser? What happens if deluge is
already running when you add the torrent.

Thanks,
--
Cristian Greco
GPG key ID: 0xCF4D32E4 (old: 0x0C095825)


signature.asc (853 bytes) Download Attachment

Bug#554446: deluge: Problems directly opening torrent files

by Sven Arvidsson :: Rate this Message:

Reply (Restricted by the Administrator) | Reply to Author | View Threaded | Show Only this Message

On Wed, 2009-11-04 at 19:28 +0100, Cristian Greco wrote:
> I'm unable to reproduce this bug.
>
> Could you please test it with another browser? What happens if deluge is
> already running when you add the torrent.

I'm actually able to reproduce this from the command line:

With no Deluge process open, running "deluge some-file.torrent" results
in Deluge running, but the torrent isn't added.

I'm getting the following messages in the terminal:

/usr/lib/pymodules/python2.5/deluge/ui/gtkui/statusbar.py:108:
DeprecationWarning: Use the new widget gtk.Tooltip
  self.tooltips = gtk.Tooltips()
Unhandled error in Deferred:
Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.5/deluge/component.py", line 125, in
start_component
    self.components[name]._start()
  File "/usr/lib/pymodules/python2.5/deluge/component.py", line 67, in
_start
    self._timer.start(self._interval)
  File "/usr/lib/python2.5/site-packages/twisted/internet/task.py", line
83, in start
    self()
  File "/usr/lib/python2.5/site-packages/twisted/internet/task.py", line
114, in __call__
    d = defer.maybeDeferred(self.f, *self.a, **self.kw)
--- <exception caught here> ---
  File "/usr/lib/python2.5/site-packages/twisted/internet/defer.py",
line 106, in maybeDeferred
    result = f(*args, **kw)
  File "/usr/lib/pymodules/python2.5/deluge/ui/gtkui/systemtray.py",
line 217, in update
    self.tray.set_tooltip(msg)
exceptions.AttributeError: 'SystemTray' object has no attribute 'tray'
/usr/lib/pymodules/python2.5/deluge/ui/gtkui/statusbar.py:229:
DeprecationWarning: Use the new widget gtk.Tooltip
  self.tooltips.set_tip(item.get_eventbox(), tooltip)
/usr/lib/pymodules/python2.5/deluge/ui/gtkui/statusbar.py:176:
DeprecationWarning: Use the new widget gtk.Tooltip
  self.tooltips.set_tip(self.dht_item.get_eventbox(), "DHT Nodes")
/usr/lib/pymodules/python2.5/deluge/core/core.py:496:
DeprecationWarning: Use get_session_status().
  warnings.warn("Use get_session_status().", DeprecationWarning)
/usr/lib/pymodules/python2.5/deluge/core/core.py:611:
DeprecationWarning: Use get_session_status().
  warnings.warn("Use get_session_status().", DeprecationWarning)
Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/twisted/internet/base.py", line
374, in fireEvent
    DeferredList(beforeResults).addCallback(self._continueFiring)
  File "/usr/lib/python2.5/site-packages/twisted/internet/defer.py",
line 195, in addCallback
    callbackKeywords=kw)
  File "/usr/lib/python2.5/site-packages/twisted/internet/defer.py",
line 186, in addCallbacks
    self._runCallbacks()
  File "/usr/lib/python2.5/site-packages/twisted/internet/defer.py",
line 328, in _runCallbacks
    self.result = callback(self.result, *args, **kw)
--- <exception caught here> ---
  File "/usr/lib/python2.5/site-packages/twisted/internet/base.py", line
387, in _continueFiring
    callable(*args, **kwargs)
  File "/usr/lib/pymodules/python2.5/deluge/ui/gtkui/gtkui.py", line
291, in _on_reactor_start
    component.start()
  File "/usr/lib/pymodules/python2.5/deluge/component.py", line 193, in
start
    _ComponentRegistry.start()
  File "/usr/lib/pymodules/python2.5/deluge/component.py", line 111, in
start
    self.start_component(component)
  File "/usr/lib/pymodules/python2.5/deluge/component.py", line 124, in
start_component
    self.components[name].start()
  File "/usr/lib/pymodules/python2.5/deluge/ui/gtkui/queuedtorrents.py",
line 89, in start
    self.on_button_add_clicked(None)
  File "/usr/lib/pymodules/python2.5/deluge/ui/gtkui/queuedtorrents.py",
line 197, in on_button_add_clicked
    self.liststore.foreach(add_torrent, None)
  File "/usr/lib/pymodules/python2.5/deluge/ui/gtkui/queuedtorrents.py",
line 194, in add_torrent
    base64.encodestring(open(torrent_path).read()),
exceptions.NameError: global name 'base64' is not defined

Running "deluge some-file.torrent" a second time, with a deluge process
already running, results in the torrent being added, but the progressbar
and the columns for everything (seeders, peers, speed etc.) is never
updated.

--
Cheers,
Sven Arvidsson
http://www.whiz.se
PGP Key ID 760BDD22



signature.asc (205 bytes) Download Attachment