Opened 8 years ago

Closed 8 years ago

#2902 closed bug (Invalid)

deluge-console crash

Reported by: renato Owned by:
Priority: blocker Milestone: not applicable
Component: libtorrent Version: develop
Keywords: Cc:

Description

On ubuntu 16.10 this happens, on 16.04 all ok after upgrade impossible to use deluge-console commands, also deluge-console with no parameter crashes

ex: deluge-console --username=xxx --password=xxx "info -v" /media/disk/deluge/deluge/_libtorrent.py:34: RuntimeWarning: to-Python converter for boost::shared_ptr<libtorrent::alert> already registered; second conversion method ignored.

import libtorrent as lt

00:22:07.036 [ERROR ][deluge.ui.client:157 ] RPCError Message Received!


RPCRequest: core.get_torrents_status({'id': (u'4f5cb33bdb7b18a101287c60b9439d619d53814d',)}, name)


ArgumentError Python argument types in

session.post_torrent_updates(session)

did not match C++ signature:

post_torrent_updates(libtorrent::session {lvalue}, unsigned int): Traceback (most recent call last):

File "/media/disk/deluge/deluge/core/rpcserver.py", line 293, in dispatch

ret = self.factory.methods[method](*args, kwargs)

File "/media/disk/deluge/deluge/core/core.py", line 500, in get_torrents_status

d = self.torrentmanager.torrents_status_update(torrent_ids, keys, diff=diff)

File "/media/disk/deluge/deluge/core/torrentmanager.py", line 1352, in torrents_status_update

self.session.post_torrent_updates()

ArgumentError: Python argument types in

session.post_torrent_updates(session)

did not match C++ signature:

post_torrent_updates(libtorrent::session {lvalue}, unsigned int)


Unhandled error in Deferred: 00:22:07.037 [CRITICAL][twisted :154 ] Unhandled error in Deferred:

Traceback (most recent call last): Failure: deluge.error.WrappedException: Python argument types in

session.post_torrent_updates(session)

did not match C++ signature:

post_torrent_updates(libtorrent::session {lvalue}, unsigned int)

Traceback (most recent call last):

File "/media/disk/deluge/deluge/core/rpcserver.py", line 293, in dispatch

ret = self.factory.methods[method](*args, kwargs)

File "/media/disk/deluge/deluge/core/core.py", line 500, in get_torrents_status

d = self.torrentmanager.torrents_status_update(torrent_ids, keys, diff=diff)

File "/media/disk/deluge/deluge/core/torrentmanager.py", line 1352, in torrents_status_update

self.session.post_torrent_updates()

ArgumentError: Python argument types in

session.post_torrent_updates(session)

did not match C++ signature:

post_torrent_updates(libtorrent::session {lvalue}, unsigned int)

00:22:07.037 [CRITICAL][deluge.log:93 ] twisted.internet.defer [Failure instance: Traceback (failure with no frames): <class 'deluge.error.WrappedException'>: Python argument types in

session.post_torrent_updates(session)

did not match C++ signature:

post_torrent_updates(libtorrent::session {lvalue}, unsigned int)

Traceback (most recent call last):

File "/media/disk/deluge/deluge/core/rpcserver.py", line 293, in dispatch

ret = self.factory.methods[method](*args, kwargs)

File "/media/disk/deluge/deluge/core/core.py", line 500, in get_torrents_status

d = self.torrentmanager.torrents_status_update(torrent_ids, keys, diff=diff)

File "/media/disk/deluge/deluge/core/torrentmanager.py", line 1352, in torrents_status_update

self.session.post_torrent_updates()

ArgumentError: Python argument types in

session.post_torrent_updates(session)

did not match C++ signature:

post_torrent_updates(libtorrent::session {lvalue}, unsigned int)

]

Change History (1)

comment:1 by Calum, 8 years ago

Component: Console UIlibtorrent
Milestone: 2.0.xnot applicable
Resolution: Invalid
Status: newclosed

You need to report this to Ubuntu and have them upgrade libtorrent from 1.1.0 to 1.1.1.

Note: See TracTickets for help on using tickets.