Page 1 of 1

Running 1.3 in Ubuntu 19.04

Posted: Thu Jan 02, 2020 8:34 pm
by aavar
Hi
After the 1.3 release was removed from the 19.04 repos I have had problems with running it.
It does not matter if I install older packages or build from source it does not work right.
It connects to the server just fine, but some parts don't work.
For example; when I click the preferences-icon it does nothing.
If I run it in a terminal it prints this:
Unhandled error in Deferred:

Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/twisted/protocols/policies.py", line 120, in dataReceived
self.wrappedProtocol.dataReceived(data)
File "/usr/local/lib/python2.7/dist-packages/deluge-1.3.15-py2.7.egg/deluge/ui/client.py", line 179, in dataReceived
d.callback(request[2])
File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 460, in callback
self._startRunCallbacks(result)
File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 568, in _startRunCallbacks
self._runCallbacks()
--- <exception caught here> ---
File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 654, in _runCallbacks
current.result = callback(current.result, *args, **kw)
File "/usr/local/lib/python2.7/dist-packages/deluge-1.3.15-py2.7.egg/deluge/ui/gtkui/preferences.py", line 221, in _on_get_cache_status
self._show()
File "/usr/local/lib/python2.7/dist-packages/deluge-1.3.15-py2.7.egg/deluge/ui/gtkui/preferences.py", line 323, in _show
lt_single_proxy = component.get("PreferencesManager").LT_SINGLE_PROXY
File "/usr/local/lib/python2.7/dist-packages/deluge-1.3.15-py2.7.egg/deluge/component.py", line 427, in get
return _ComponentRegistry.components[name]
exceptions.KeyError: 'PreferencesManager'
Can someone help me with this?

Re: Running 1.3 in Ubuntu 19.04

Posted: Thu Jan 02, 2020 8:59 pm
by mhertz
You can try this fix here, where I posted a prepatched file with fix includet: viewtopic.php?f=12&t=55463&start=190#p230843

Re: Running 1.3 in Ubuntu 19.04

Posted: Thu Jan 02, 2020 11:21 pm
by gderf
You can still run 1.3.15 in a docker.

Re: Running 1.3 in Ubuntu 19.04

Posted: Sat Jan 04, 2020 9:48 pm
by aavar
Thank you for your reply!
mhertz' fix worked great.

:)

Re: Running 1.3 in Ubuntu 19.04

Posted: Sun Jan 05, 2020 2:57 am
by mhertz
Glad to hear it, you're very welcome mate! :)