Opened 13 years ago

Last modified 7 years ago

#1820 assigned bug

Add checks so that deluge-web and webui plugin don't clash

Reported by: renato Owned by:
Priority: major Milestone: 2.x
Component: Web UI Version: develop
Keywords: Cc: Bro

Description (last modified by Calum)

  1. running deluge -u web freezes in the terminal
  1. if you try to load deluge without the classic mode it will not connect to the daemon
  1. deluge-console commands don't work because of no daemon and wait forever in the terminal without exit code.

i believe it's the same bug - deluge daemon - so i posted all in the same ticket and will attach some traces

Attachments (1)

terminal.trace (2.1 KB ) - added by renato 13 years ago.

Download all attachments as: .zip

Change History (15)

by renato, 13 years ago

Attachment: terminal.trace added

comment:1 by renato, 13 years ago

if i kill all deluged and deluge process run deluged doest give me any trace but when after i run deluge will say that there is a daemon running if i want to switch off classic mode, if i say yes brings up the not classic mode but not loading and if i press the connection manager i get

Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/deluge-1.3.900_dev-py2.7.egg/deluge/ui/gtkui/toolbar.py", line 175, in on_toolbutton_connectionmanager_clicked
    component.get("MenuBar").on_menuitem_connectionmanager_activate(data)
  File "/usr/local/lib/python2.7/dist-packages/deluge-1.3.900_dev-py2.7.egg/deluge/ui/gtkui/menubar.py", line 291, in on_menuitem_connectionmanager_activate
    component.get("ConnectionManager").show()
  File "/usr/local/lib/python2.7/dist-packages/deluge-1.3.900_dev-py2.7.egg/deluge/ui/gtkui/connectionmanager.py", line 187, in show
    self.__load_hostlist()
  File "/usr/local/lib/python2.7/dist-packages/deluge-1.3.900_dev-py2.7.egg/deluge/ui/gtkui/connectionmanager.py", line 271, in __load_hostlist
    for host in self.config["hosts"]:
AttributeError: 'ConnectionManager' object has no attribute 'config'
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/deluge-1.3.900_dev-py2.7.egg/deluge/ui/gtkui/toolbar.py", line 175, in on_toolbutton_connectionmanager_clicked
    component.get("MenuBar").on_menuitem_connectionmanager_activate(data)
  File "/usr/local/lib/python2.7/dist-packages/deluge-1.3.900_dev-py2.7.egg/deluge/ui/gtkui/menubar.py", line 291, in on_menuitem_connectionmanager_activate
    component.get("ConnectionManager").show()
  File "/usr/local/lib/python2.7/dist-packages/deluge-1.3.900_dev-py2.7.egg/deluge/ui/gtkui/connectionmanager.py", line 187, in show
    self.__load_hostlist()
  File "/usr/local/lib/python2.7/dist-packages/deluge-1.3.900_dev-py2.7.egg/deluge/ui/gtkui/connectionmanager.py", line 271, in __load_hostlist
    for host in self.config["hosts"]:
AttributeError: 'ConnectionManager' object has no attribute 'config'

comment:2 by Damien Churchill, 13 years ago

Owner: set to Damien Churchill
Status: newaccepted

comment:3 by Damien Churchill, 13 years ago

Component: corewebui

comment:4 by Calum, 13 years ago

Description: modified (diff)
Summary: deluge webdeluge web freezes in the terminal

comment:5 by Damien Churchill, 13 years ago

Does it work with deluge-web?

comment:6 by renato, 13 years ago

works... but either if i run deluge -u web or deluge-web and the gtk is allready running with the web option ON running these two commands give me this traceback. so maybe it's better if there is a check option that looks if the web interface is running allready

comment:7 by Calum, 11 years ago

Milestone: 1.4.0Future
Owner: Damien Churchill removed
Priority: criticalmajor
Status: acceptedassigned
Summary: deluge web freezes in the terminalAdd checks so that deluge-web and webui plugin don't clash

comment:8 by Bro, 9 years ago

Cc: Bro added

Add bro to cc

comment:9 by Bro, 8 years ago

Version: master (git)develop (git)

This issue needs to be retested after latest changes to develop. Commits that may be relevant: [70d8b65f0a], [47f14845], [e370d7db].

comment:10 by Calum, 8 years ago

Milestone: Future2.0

comment:11 by Calum, 8 years ago

The webui plugin should be shown as enabled in webui plugins (however the actual checking/unchecking of it should be disregarded). Perhaps also a plugin prefs page to explain that it is a placeholder and settings should be changed in webui prefs...

comment:12 by Calum, 7 years ago

Milestone: 2.02.0.x

comment:13 by renato, 7 years ago

20/06/17 latest commit fixed almost problems, but the host id was wrong in the web.conf. I had to manually change it with the hosts.conf one. That is something to be cleared out i believe.

comment:14 by Calum, 7 years ago

Milestone: 2.0.x2.x

Milestone renamed

Note: See TracTickets for help on using tickets.