#3055 closed bug (Fixed)
not connecting to daemon
Reported by: | firefox | Owned by: | Cas |
---|---|---|---|
Priority: | critical | Milestone: | 2.0.0 |
Component: | GTK UI | Version: | develop |
Keywords: | Cc: |
Description (last modified by Cas)
renato@firefox-server:~$ deluge Unhandled Error Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/twisted/internet/base.py", line 420, in fireEvent DeferredList(beforeResults).addCallback(self._continueFiring) File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 319, in addCallback callbackKeywords=kw) File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 308, in addCallbacks self._runCallbacks() File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 651, in _runCallbacks current.result = callback(current.result, *args, **kw) --- <exception caught here> --- File "/usr/lib/python2.7/dist-packages/twisted/internet/base.py", line 433, in _continueFiring callable(*args, **kwargs) File "/usr/lib/python2.7/dist-packages/deluge/ui/gtkui/gtkui.py", line 295, in _on_reactor_start return self._start_thinclient() File "/usr/lib/python2.7/dist-packages/deluge/ui/gtkui/gtkui.py", line 343, in _start_thinclient if host_config[1] in self.connectionmanager.LOCALHOST: exceptions.AttributeError: 'ConnectionManager' object has no attribute 'LOCALHOST' 07:01:02.358 [CRITICAL][twisted :154 ] Unhandled Error Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/twisted/internet/base.py", line 420, in fireEvent DeferredList(beforeResults).addCallback(self._continueFiring) File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 319, in addCallback callbackKeywords=kw) File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 308, in addCallbacks self._runCallbacks() File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 651, in _runCallbacks current.result = callback(current.result, *args, **kw) --- <exception caught here> --- File "/usr/lib/python2.7/dist-packages/twisted/internet/base.py", line 433, in _continueFiring callable(*args, **kwargs) File "/usr/lib/python2.7/dist-packages/deluge/ui/gtkui/gtkui.py", line 295, in _on_reactor_start return self._start_thinclient() File "/usr/lib/python2.7/dist-packages/deluge/ui/gtkui/gtkui.py", line 343, in _start_thinclient if host_config[1] in self.connectionmanager.LOCALHOST: exceptions.AttributeError: 'ConnectionManager' object has no attribute 'LOCALHOST' 07:01:02.358 [CRITICAL][twisted :154 ] Unhandled Error Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/twisted/internet/base.py", line 420, in fireEvent DeferredList(beforeResults).addCallback(self._continueFiring) File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 319, in addCallback callbackKeywords=kw) File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 308, in addCallbacks self._runCallbacks() File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 651, in _runCallbacks current.result = callback(current.result, *args, **kw) --- <exception caught here> --- File "/usr/lib/python2.7/dist-packages/twisted/internet/base.py", line 433, in _continueFiring callable(*args, **kwargs) File "/usr/lib/python2.7/dist-packages/deluge/ui/gtkui/gtkui.py", line 295, in _on_reactor_start return self._start_thinclient() File "/usr/lib/python2.7/dist-packages/deluge/ui/gtkui/gtkui.py", line 343, in _start_thinclient if host_config[1] in self.connectionmanager.LOCALHOST: exceptions.AttributeError: 'ConnectionManager' object has no attribute 'LOCALHOST'
Change History (18)
comment:1 Changed 6 years ago by Cas
- Description modified (diff)
- Milestone changed from needs verified to 2.0
- Owner set to Cas
- Status changed from new to assigned
- Version changed from other (please specify) to develop (git)
comment:2 Changed 6 years ago by Cas
- Resolution set to WorksForMe
- Status changed from assigned to closed
comment:3 Changed 6 years ago by firefox
broken since Deluge 2.0.0.dev7027 .. that version is ok, further is broken, on thin mode you cant either add users from gtk and only one daemon is shown even if in the config there is two. i tested on a clean configuration so it's not the config, and also downgrading works fine. Maybe your config is different but if you test on a clean one on thin mode you will see errors... i am using the ppa btw. thanks
comment:4 Changed 6 years ago by Cas
I have tested with latest code with fresh and old configs.
Are you still seeing the same errors?
comment:5 Changed 6 years ago by firefox
Yes
comment:6 Changed 6 years ago by firefox
Formatted the drive and installed a fresh Ubuntu 17.04 then added ppa for deluge... That was really fresh.
comment:7 Changed 6 years ago by Cas
Ok I have made a mistake with which filename... I shall see if I can replicate
comment:8 Changed 6 years ago by firefox
If u need more info just ask. Maybe u need my config ?
comment:9 Changed 6 years ago by Cas
It's ok I see the issue now. You have autostart daemon ticked and there is a bug in that code.
If you start the daemon or disable the autostart option is should work.
comment:10 Changed 6 years ago by firefox
If u start manually works yes
comment:11 Changed 6 years ago by firefox
In thin mode it's impossible to add users too
comment:12 Changed 6 years ago by Cas
- Resolution WorksForMe deleted
- Status changed from closed to reopened
Fixed daemon issue: [d372be9b658e]
In thin mode it's impossible to add users too
That's a different bug, please open a new ticket for that, otherwise I can't keep track of them. You should be able to still manually add them to auth file.
comment:13 Changed 6 years ago by Cas
- Resolution set to Fixed
- Status changed from reopened to closed
comment:14 Changed 6 years ago by firefox
Ok will test it later. Thanks
comment:15 Changed 6 years ago by firefox
version 7053 still not working.
renato@firefox-server:/media/disk/deluge$ deluge Unhandled Error Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/twisted/internet/base.py", line 420, in fireEvent DeferredList(beforeResults).addCallback(self._continueFiring) File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 319, in addCallback callbackKeywords=kw) File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 308, in addCallbacks self._runCallbacks() File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 651, in _runCallbacks current.result = callback(current.result, *args, **kw) --- <exception caught here> --- File "/usr/lib/python2.7/dist-packages/twisted/internet/base.py", line 433, in _continueFiring callable(*args, **kwargs) File "/usr/lib/python2.7/dist-packages/deluge/ui/gtkui/gtkui.py", line 295, in _on_reactor_start return self._start_thinclient() File "/usr/lib/python2.7/dist-packages/deluge/ui/gtkui/gtkui.py", line 343, in _start_thinclient if host_config[1] in self.connectionmanager.LOCALHOST: exceptions.AttributeError: 'ConnectionManager' object has no attribute 'LOCALHOST' 08:14:08.845 [CRITICAL][twisted :154 ] Unhandled Error Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/twisted/internet/base.py", line 420, in fireEvent DeferredList(beforeResults).addCallback(self._continueFiring) File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 319, in addCallback callbackKeywords=kw) File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 308, in addCallbacks self._runCallbacks() File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 651, in _runCallbacks current.result = callback(current.result, *args, **kw) --- <exception caught here> --- File "/usr/lib/python2.7/dist-packages/twisted/internet/base.py", line 433, in _continueFiring callable(*args, **kwargs) File "/usr/lib/python2.7/dist-packages/deluge/ui/gtkui/gtkui.py", line 295, in _on_reactor_start return self._start_thinclient() File "/usr/lib/python2.7/dist-packages/deluge/ui/gtkui/gtkui.py", line 343, in _start_thinclient if host_config[1] in self.connectionmanager.LOCALHOST: exceptions.AttributeError: 'ConnectionManager' object has no attribute 'LOCALHOST' 08:14:08.846 [CRITICAL][twisted :154 ] Unhandled Error Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/twisted/internet/base.py", line 420, in fireEvent DeferredList(beforeResults).addCallback(self._continueFiring) File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 319, in addCallback callbackKeywords=kw) File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 308, in addCallbacks self._runCallbacks() File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 651, in _runCallbacks current.result = callback(current.result, *args, **kw) --- <exception caught here> --- File "/usr/lib/python2.7/dist-packages/twisted/internet/base.py", line 433, in _continueFiring callable(*args, **kwargs) File "/usr/lib/python2.7/dist-packages/deluge/ui/gtkui/gtkui.py", line 295, in _on_reactor_start return self._start_thinclient() File "/usr/lib/python2.7/dist-packages/deluge/ui/gtkui/gtkui.py", line 343, in _start_thinclient if host_config[1] in self.connectionmanager.LOCALHOST: exceptions.AttributeError: 'ConnectionManager' object has no attribute 'LOCALHOST' Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/deluge/ui/gtkui/connectionmanager.py", line 481, in on_button_startdaemon_clicked self.start_daemon(port, get_config_dir()).addCallback(on_daemon_status_change) AttributeError: 'bool' object has no attribute 'addCallback' Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/deluge/ui/gtkui/connectionmanager.py", line 481, in on_button_startdaemon_clicked self.start_daemon(port, get_config_dir()).addCallback(on_daemon_status_change) AttributeError: 'bool' object has no attribute 'addCallback' Cannot run multiple daemons with same config directory. If you believe this is an error, force starting by deleting: /home/renato/.config/deluge/deluged.pid renato@firefox-server:/media/disk/deluge$
comment:16 Changed 6 years ago by Cas
The ppa has not been updated yet with new code. It's built daily and should be available this evening.
comment:17 Changed 6 years ago by firefox
Ok thanks
This is not the latest develop code.