Opened 6 years ago

Last modified 11 months ago

#1820 assigned bug

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

Reported by: firefox Owned by:
Priority: major Milestone: 2.0
Component: Web UI Version: develop (git)
Keywords: Cc: bro

Description (last modified by Cas)

  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 firefox 6 years ago.

Download all attachments as: .zip

Change History (12)

Changed 6 years ago by firefox

comment:1 Changed 6 years ago by firefox

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 Changed 6 years ago by damoxc

  • Owner set to damoxc
  • Status changed from new to accepted

comment:3 Changed 6 years ago by damoxc

  • Component changed from core to webui

comment:4 Changed 6 years ago by Cas

  • Description modified (diff)
  • Summary changed from deluge web to deluge web freezes in the terminal

comment:5 Changed 6 years ago by damoxc

Does it work with deluge-web?

comment:6 Changed 6 years ago by firefox

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 Changed 3 years ago by Cas

  • Milestone changed from 1.4.0 to Future
  • Owner damoxc deleted
  • Priority changed from critical to major
  • Status changed from accepted to assigned
  • Summary changed from deluge web freezes in the terminal to Add checks so that deluge-web and webui plugin don't clash

comment:8 Changed 17 months ago by bro

  • Cc bro added

Add bro to cc

comment:9 Changed 11 months ago by bro

  • Version changed from master (git) to develop (git)

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

comment:10 Changed 11 months ago by Cas

  • Milestone changed from Future to 2.0

comment:11 Changed 11 months ago by Cas

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...

Note: See TracTickets for help on using tickets.