#2988: Failures due to "ImportError: /usr/lib/python2.7/dist-
packages/libtorrent.so: ..." don't causes initd unit to crash
----------------------+----------------------------
 Reporter:  krichter  |      Owner:
     Type:  bug       |     Status:  new
 Priority:  minor     |  Milestone:  needs verified
Component:  Core      |    Version:  1.3.14
 Keywords:            |
----------------------+----------------------------
 Failures due to `ImportError`s in the form of `ImportError:
 /usr/lib/python2.7/dist-packages/libtorrent.so: [...]`, like reported in
 #2950 don't cause the `initd` unit to crash, i.e. `sudo systemctl status
 deluged.service` reports

 {{{
 Mär 08 15:05:30 richtercloud.de systemd[1]: Starting LSB: Start or stop
 the Deluge BitTorrent daemon....
 Mär 08 15:05:31 richtercloud.de deluged[6293]:  * Starting Deluge
 BitTorrent Daemon deluged
 Mär 08 15:05:31 richtercloud.de deluged[6293]:    ...done.
 Mär 08 15:05:31 richtercloud.de systemd[1]: Started LSB: Start or stop the
 Deluge BitTorrent daemon..
 }}}

 and status `active (exited)` whereas the log contains

 {{{
 [ERROR   ] 15:05:34 main:248 /usr/lib/python2.7/dist-
 packages/libtorrent.so: undefined symbol:
 
_ZNK10libtorrent14announce_entry12can_announceENSt6chrono10time_pointINS1_3_V212system_clockENS1_8durationIlSt5ratioILl1ELl1000000000EEEEEEb
 Traceback (most recent call last):
   File "/usr/lib/python2.7/dist-packages/deluge/main.py", line 241, in
 start_daemon
     Daemon(options, args)
   File "/usr/lib/python2.7/dist-packages/deluge/core/daemon.py", line 144,
 in __init__
     from deluge.core.core import Core
   File "/usr/lib/python2.7/dist-packages/deluge/core/core.py", line 38, in
 <module>
     from deluge._libtorrent import lt
   File "/usr/lib/python2.7/dist-packages/deluge/_libtorrent.py", line 59,
 in <module>
     import libtorrent as lt
 ImportError: /usr/lib/python2.7/dist-packages/libtorrent.so: undefined
 symbol:
 
_ZNK10libtorrent14announce_entry12can_announceENSt6chrono10time_pointINS1_3_V212system_clockENS1_8durationIlSt5ratioILl1ELl1000000000EEEEEEb
 }}}

 and the process crashed.

 Maybe it's time for a `systemd` unit.

 I'm using 1.3.14-0~yakkety~ppa1 from the PPA on Ubuntu 16.10.

--
Ticket URL: <http://dev.deluge-torrent.org/ticket/2988>
Deluge <http://deluge-torrent.org/>
Deluge Project

-- 
You received this message because you are subscribed to the Google Groups 
"Deluge Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/deluge-dev.
For more options, visit https://groups.google.com/d/optout.

Reply via email to