Page 2 of 3

Re: 1.2.2 Can't connect to host

Posted: Sat Mar 27, 2010 7:35 pm
by steve096
Cas wrote:i tested this on a virtualbox jaunty and it was installed with no issues.

what is the result of these commands (may need installing first):
apt-show-versions libtorrent-rasterbar5
apt-show-versions deluge
"apt-show-versions libtorrent-rasterbar5" returns this:

Code: Select all

libtorrent-rasterbar5/jaunty uptodate 0.14.10-2~jaunty~ppa1
"apt-show-versions deluge" returns this:

Code: Select all

deluge/jaunty uptodate 1.2.2-3~jaunty~ppa1

Re: 1.2.2 Can't connect to host

Posted: Sat Mar 27, 2010 7:47 pm
by Cas
sorry im out of ideas, i guess it could be an issue with python but its difficult to say especially since a standard jaunty install works fine.

johnnyg may have some ideas but you will have to wait for him to wake up in oz timezone

Re: 1.2.2 Can't connect to host

Posted: Sat Mar 27, 2010 8:02 pm
by lotharmat
Cas wrote:lotharmat you have a different problem and should create a new topic but what command are you using to actually run deluge and can you check the synaptic manager that the version match these:

deluge-gtk 1.2.2
deluged 1.2.2
deluge-common 1.2.2
python-libtorrent 0.14.10
libtorrent-rasterbar5 0.14.10
All the deluge packages are 1.2.2-3
Python-libtorrent is 0.15.0
libtorrent-rasterbar5 0.15.0

Re: 1.2.2 Can't connect to host

Posted: Sat Mar 27, 2010 8:18 pm
by nuchdog
I have the same problem as lotharmat. just ran an apt-get upgrade and now deluge is hosed.

I tried uninstalling and reinstalling various parts of deluge, but always the same error:

No registered converter was able to extract a C++ reference to type libtorrent::announce_entry from this Python object of type dict

Code: Select all

nuchdog@MsPacman:~/Desktop$ deluge
/usr/lib/pymodules/python2.6/deluge/ui/gtkui/gtkui.py:167: Warning: g_set_prgname() called multiple times
  self.gnome_prog = gnome.init("Deluge", deluge.common.get_version())
/usr/lib/pymodules/python2.6/deluge/core/core.py:502: DeprecationWarning: Use get_session_status().
  warnings.warn("Use get_session_status().", DeprecationWarning)
/usr/lib/pymodules/python2.6/deluge/core/core.py:508: DeprecationWarning: Use get_session_status().
  warnings.warn("Use get_session_status().", DeprecationWarning)
Traceback (most recent call last):
  File "/usr/lib/python2.6/dist-packages/twisted/internet/base.py", line 374, in fireEvent
    DeferredList(beforeResults).addCallback(self._continueFiring)
  File "/usr/lib/python2.6/dist-packages/twisted/internet/defer.py", line 195, in addCallback
    callbackKeywords=kw)
  File "/usr/lib/python2.6/dist-packages/twisted/internet/defer.py", line 186, in addCallbacks
    self._runCallbacks()
  File "/usr/lib/python2.6/dist-packages/twisted/internet/defer.py", line 328, in _runCallbacks
    self.result = callback(self.result, *args, **kw)
--- <exception caught here> ---
  File "/usr/lib/python2.6/dist-packages/twisted/internet/base.py", line 387, in _continueFiring
    callable(*args, **kwargs)
  File "/usr/lib/pymodules/python2.6/deluge/ui/gtkui/gtkui.py", line 299, in _on_reactor_start
    component.start()
  File "/usr/lib/pymodules/python2.6/deluge/component.py", line 210, in start
    _ComponentRegistry.start()
  File "/usr/lib/pymodules/python2.6/deluge/component.py", line 118, in start
    self.start_component(component)
  File "/usr/lib/pymodules/python2.6/deluge/component.py", line 125, in start_component
    self.start_component(depend)
  File "/usr/lib/pymodules/python2.6/deluge/component.py", line 131, in start_component
    self.components[name].start()
  File "/usr/lib/pymodules/python2.6/deluge/core/torrentmanager.py", line 203, in start
    self.load_state()
  File "/usr/lib/pymodules/python2.6/deluge/core/torrentmanager.py", line 585, in load_state
    resume_data=resume_data.get(torrent_state.torrent_id))
  File "/usr/lib/pymodules/python2.6/deluge/core/torrentmanager.py", line 440, in add
    torrent = Torrent(handle, options, state, filename, magnet)
  File "/usr/lib/pymodules/python2.6/deluge/core/torrent.py", line 132, in __init__
    self.set_trackers(state.trackers)
  File "/usr/lib/pymodules/python2.6/deluge/core/torrent.py", line 309, in set_trackers
    self.handle.replace_trackers(trackers)
exceptions.TypeError: No registered converter was able to extract a C++ reference to type libtorrent::announce_entry from this Python object of type dict


Re: 1.2.2 Can't connect to host

Posted: Sat Mar 27, 2010 8:24 pm
by nuchdog
Also, as mentioned. It appears that Python-libtorrent 0.15.0 and libtorrent-rasterbar5 0.15.0 are being installed while the PPA list 0.14.10 as the newest.

Re: 1.2.2 Can't connect to host

Posted: Sat Mar 27, 2010 8:28 pm
by lotharmat
w00t! Just cured it by removing the ~/.config/deluge folder
running sudo dpkg -r deluge
running deluge again.

All seems to work. - Yup just tested it and it works great!

Re: 1.2.2 Can't connect to host

Posted: Sat Mar 27, 2010 8:43 pm
by nuchdog
damn you beat me!!

Actually I found that it has something to do with the fact that my torrents wouldn't resume correctly.

I deleted the torrents.fastresume file in
~/.config/deluge/state

Then everything seemed fine.

Code: Select all

rm ~/.config/deluge/state/torrents.fastresume
then re-added my torrents manually by adding all the torrent files in ~/.config/deluge/state and forcing a recheck.

P.S. This method allowed me to keep my configuration intact.

Re: 1.2.2 Can't connect to host

Posted: Sat Mar 27, 2010 8:57 pm
by lotharmat
My config must have been in one hell of a state! - All I got when I loaded deluge was 'Not Connected'

Re: 1.2.2 Can't connect to host

Posted: Sat Mar 27, 2010 9:00 pm
by Cas
lotharmat wrote: All the deluge packages are 1.2.2-3
Python-libtorrent is 0.15.0
libtorrent-rasterbar5 0.15.0
This makes sense as it has been reported here that 0.15 does not work with 1.2.2, though this will be fixed in 1.2.3 according to andar.

Good to hear you have fixed it but please in future create a separate forum topic to avoid confusion as this is not the same issue that steve096 is experiencing.

Re: 1.2.2 Can't connect to host

Posted: Sat Mar 27, 2010 9:18 pm
by steve096
Everything lotharmat and nunchdog were talking about was completely different from the problem im experiencing. None of that was helpful in the least.
Cas wrote:sorry im out of ideas, i guess it could be an issue with python but its difficult to say especially since a standard jaunty install works fine.

johnnyg may have some ideas but you will have to wait for him to wake up in oz timezone
Thanks anyway Cas, hopefully someone can help me resolve this :|