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

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to