"Error starting core"

General support for problems installing or using Deluge
Post Reply
A_T

"Error starting core"

Post by A_T »

I am running 1.2.0 RC3 on Ubuntu Karmic - installed through apt from the PPA.

On starting I get "There was an error starting the core component which is required to run Deluge in Classic Mode"

and this

Code: Select all

Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.6/deluge/ui/gtkui/gtkui.py", line 267, in _on_reactor_start
    client.start_classic_mode()
  File "/usr/lib/pymodules/python2.6/deluge/ui/client.py", line 538, in start_classic_mode
    self._daemon_proxy = DaemonClassicProxy(self.__event_handlers)
  File "/usr/lib/pymodules/python2.6/deluge/ui/client.py", line 408, in __init__
    self.__daemon = deluge.core.daemon.Daemon(classic=True)
  File "/usr/lib/pymodules/python2.6/deluge/core/daemon.py", line 134, in __init__
    from deluge.core.core import Core
  File "/usr/lib/pymodules/python2.6/deluge/core/core.py", line 36, in <module>
    from deluge._libtorrent import lt
  File "/usr/lib/pymodules/python2.6/deluge/_libtorrent.py", line 59, in <module>
    import libtorrent as lt
ImportError: /usr/lib/pymodules/python2.6/libtorrent.so: undefined symbol: _ZTIN10libtorrent5alertE
User avatar
Tares
Member
Member
Posts: 38
Joined: Wed Jun 13, 2007 3:37 pm
Location: Europe, Poland

Re: "Error starting core"

Post by Tares »

I'm having similar problem since libtorrent update :

Code: Select all

cat .config/deluge/deluged.log 
[ERROR   ] 09:20:51 main:216 /usr/lib/pymodules/python2.6/libtorrent.so: undefined symbol: _ZTIN10libtorrent15peer_connectionE
Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.6/deluge/main.py", line 209, in start_daemon
    Daemon(options, args)
  File "/usr/lib/pymodules/python2.6/deluge/core/daemon.py", line 134, in __init__
    from deluge.core.core import Core
  File "/usr/lib/pymodules/python2.6/deluge/core/core.py", line 36, in <module>
    from deluge._libtorrent import lt
  File "/usr/lib/pymodules/python2.6/deluge/_libtorrent.py", line 59, in <module>
    import libtorrent as lt
ImportError: /usr/lib/pymodules/python2.6/libtorrent.so: undefined symbol: _ZTIN10libtorrent15peer_connectionE
EDIT :

If you install any other version of python-libtorrent that is in official repo then the above problem occurs. I've tried the newest qbittorrent which also uses libtorrent package, but it has newer version so there is problem here.

SOLUTION :

Just uninstall everything including python-libtorrent, remove unnessesary repos (like qbittorrent) and install deluge again. Works here perfectly.
Ubuntu 9.10 Karmic Koala amd64
forkandspoon
Member
Member
Posts: 11
Joined: Wed Sep 15, 2010 10:34 pm

Re: "Error starting core"

Post by forkandspoon »

I also get

Code: Select all

ImportError: /usr/local/lib/python2.6/dist-packages/libtorrent.so: undefined symbol: _ZTIN10libtorrent5alertE
After compiling libtorrent from source with --enable-python-binding and run:

Code: Select all

root@linux:~# python
Python 2.6.5 (r265:79063, Apr 16 2010, 13:57:41)
[GCC 4.4.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import libtorrent;
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: /usr/local/lib/python2.6/dist-packages/libtorrent.so: undefined symbol: _ZTIN10libtorrent5alertE
>>>
This is a problem with the latest release of libtorrent and nothing to do with Deluge itself. Would love if anything knew how to fix though...
Post Reply