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: firefox Owned by:
Priority: major Milestone: 2.x
Component: Web UI Version: develop
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 13 years ago.

Download all attachments as: .zip

Change History (15)

Changed 13 years ago by firefox

comment:1 Changed 13 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 13 years ago by damoxc

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

comment:3 Changed 13 years ago by damoxc

  • Component changed from core to webui

comment:4 Changed 13 years ago by Cas

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

comment:5 Changed 13 years ago by damoxc

Does it work with deluge-web?

comment:6 Changed 13 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 10 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 8 years ago by bro

  • Cc bro added

Add bro to cc

comment:9 Changed 8 years 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 8 years ago by Cas

  • Milestone changed from Future to 2.0

comment:11 Changed 8 years 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...

comment:12 Changed 7 years ago by Cas

  • Milestone changed from 2.0 to 2.0.x

comment:13 Changed 7 years ago by firefox

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

  • Milestone changed from 2.0.x to 2.x

Milestone renamed

Note: See TracTickets for help on using tickets.