LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Deluge error. (https://www.linuxquestions.org/questions/slackware-14/deluge-error-928686/)

TheShadowFog 02-10-2012 12:03 PM

Deluge error.
 
I installed deluged using sbopkg. The GUI would start but I wouldn't be able to add torrents. So I checked
deluged.log. These are it's contents:

Contents:
Code:


[ERROR  ] 17:56:20 main:226 dynamic module does not define init function (initlibtorrent)
Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/deluge/main.py", line 219, in start_daemon
    Daemon(options, args)
  File "/usr/lib/python2.6/site-packages/deluge/core/daemon.py", line 136, in __init__
    from deluge.core.core import Core
  File "/usr/lib/python2.6/site-packages/deluge/core/core.py", line 36, in <module>
    from deluge._libtorrent import lt
  File "/usr/lib/python2.6/site-packages/deluge/_libtorrent.py", line 59, in <module>
    import libtorrent as lt
ImportError: dynamic module does not define init function (initlibtorrent)

I take it the daemon isn't starting...


Does anyone know a fix?

SOLVED: Install deluge from source. then rm the configuration file, then run deluged. (Then start the GUI.)

malekmustaq 02-10-2012 01:44 PM

Hi,

There is a dialogue input box requesting to start the daemon when you launch Deluge; there you may start the daemon or start it from the terminal with switches. However, starting or not, the problem is not the daemon. Deluge has plenty of dependencies that you must first install them before it behaves properly. Check and install the dependencies here.

I remember under Slack 12.2 before when in order to run Deluge I have needed to install 3 or 5 dependencies first. That is "manually". Today Gslapt did not install dependencies automatically under Salix OS, neither the Sourcery package manager. I think again we have to do it manually. Anyway SlackBuilds has them.

Hope it helps. Good luck.

mm

TheShadowFog 02-10-2012 02:44 PM

Quote:

Originally Posted by malekmustaq (Post 4599206)
Hi,

There is a dialogue input box requesting to start the daemon when you launch Deluge; there you may start the daemon or start it from the terminal with switches. However, starting or not, the problem is not the daemon. Deluge has plenty of dependencies that you must first install them before it behaves properly. Check and install the dependencies here.

I remember under Slack 12.2 before when in order to run Deluge I have needed to install 3 or 5 dependencies first. That is "manually". Today Gslapt did not install dependencies automatically under Salix OS, neither the Sourcery package manager. I think again we have to do it manually. Anyway SlackBuilds has them.

Hope it helps. Good luck.

mm

Thank you for your reply! I installed deluge by source and it worked! I guess that's that.


All times are GMT -5. The time now is 06:21 AM.