Opened 14 years ago
Closed 12 years ago
#1871 closed bug (Fixed)
Disabling classic mode then using connection manager results in rpcserver error
Reported by: | Justin Noah | Owned by: | Calum |
---|---|---|---|
Priority: | minor | Milestone: | 1.3.6 |
Component: | GTK UI | Version: | 1.3.2 |
Keywords: | Cc: |
Description
Description of problem:
rpcserver error on first run switching off classic mode and attempting to connect to the/a daemon.
How reproducible:
Every time.
Steps to Reproduce:
- Start with no config. Fresh install or delete/backup your current config.
- Start deluge-gtk from bash or your preferred console.
- Turn off classic mode
- Start the daemon and connect to it.
- Watch the error (actual results) repeatedly fly by.
Actual results:
[ERROR ] 12:03:16 client:454 'NoneType' object has no attribute 'rpcserver' Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/deluge/ui/client.py", line 452, in call m = self.__daemon.rpcserver.get_object_method(method) AttributeError: 'NoneType' object has no attribute 'rpcserver' Unhandled error in Deferred: Unhandled Error Traceback (most recent call last): Failure: exceptions.AttributeError: 'NoneType' object has no attribute 'rpcserver'
Expected results:
To not see the error shown in actual results.
Additional info:
Whether or not a daemon is started when you try to connect to it, the error will occur. It seems purely just clicking connect starts spewing the error.
Change History (5)
comment:1 by , 13 years ago
Milestone: | Future → 1.3.x |
---|
comment:2 by , 13 years ago
Summary: | First run rpcserver error → Disabling classic mode then using connection manager results in rpcserver error |
---|
comment:3 by , 12 years ago
Milestone: | 1.3.x → 1.3.6 |
---|---|
Owner: | set to |
Status: | new → assigned |
comment:4 by , 12 years ago
Here's what I'm thinking. Show a dialog when changing classic mode, ask the user if he wants to quit now. (restart would be nice, can't figure out how to do that exactly) The visibility of all the classic mode interface elements (connection manager, quit and shutdown daemon) don't change until user has actually restarted. diff branch
EDIT: The quit dialog should probably be changed to run quit and shutdown daemon when we are enabling classic mode.
It is documented somewhere that after unchecking classic mode you should close deluge and restart it. The reason for the errors is because you are already connected to the internal daemon and the connection manager does not handle that.
To resolve this we could have a popup when unchecing the classic mode option and also a check in connection mananger for client.classicmode to prevent the errros.