Page 1 of 2

WebUI broken

Posted: Sun Feb 22, 2009 2:13 am
by lvleph
I just upgraded to 1.1.3 in Ubuntu 8.10 Intrepid Ibex and now I have no WebUI. This is killing me, because it is how I control everything. Here are the errors I get:
From Browser;

Code: Select all

Traceback (most recent call last):
  File "/usr/share/deluge/plugins/WebUi/lib/gtk_cherrypy_wsgiserver.py", line 659, in communicate
  File "/usr/share/deluge/plugins/WebUi/lib/gtk_cherrypy_wsgiserver.py", line 392, in respond
  File "/usr/share/deluge/plugins/WebUi/lib/webpy022/webapi.py", line 308, in wsgifunc
  File "/usr/share/deluge/plugins/WebUi/lib/webpy022/webapi.py", line 170, in _debugwrite
IOError: [Errno 32] Broken pipe
From Terminal after running deluge -u web;

Code: Select all

[ERROR   ] 21:07:26 ui:65 Unable to find the requested UI: web.  Please select a different UI with the '-u' option or alternatively use the '-s' option to select a different default UI.
Traceback (most recent call last):
  File "/usr/bin/deluge", line 8, in <module>
    load_entry_point('deluge==1.1.3', 'console_scripts', 'deluge')()
  File "/var/lib/python-support/python2.5/deluge/main.py", line 120, in start_ui
    UI(options, args, options.args)
  File "/var/lib/python-support/python2.5/deluge/ui/ui.py", line 66, in __init__
    sys.exit(0)
NameError: global name 'sys' is not defined

Re: WebUI broken

Posted: Sun Feb 22, 2009 2:36 am
by andar
Did you install deluge-web?

Re: WebUI broken

Posted: Sun Feb 22, 2009 3:05 am
by lvleph
andar wrote:Did you install deluge-web?
It is a separate package now? I can't seem to find it. If you are referring to the plug-ins section; I cannot find it in there.

Re: WebUI broken

Posted: Sun Feb 22, 2009 3:18 am
by andar
lvleph wrote:
andar wrote:Did you install deluge-web?
It is a separate package now? I can't seem to find it. If you are referring to the plug-ins section; I cannot find it in there.
It's in the ppa..

Re: WebUI broken

Posted: Sun Feb 22, 2009 3:35 am
by lvleph
andar wrote:
lvleph wrote:
andar wrote:Did you install deluge-web?
It is a separate package now? I can't seem to find it. If you are referring to the plug-ins section; I cannot find it in there.
It's in the ppa..
I added the PPA (obviously since that is where 1.1.3 comes from), but when I tried sudo apt-get install deluge-web it says it could not find the package; even after sudo apt-get update.

EDIT: The package is deluge-webui not deluge-web.

Re: WebUI broken

Posted: Sun Feb 22, 2009 3:59 pm
by lvleph
I got that installed and started the webui using deluge -u web, but after logging in and selecting the daemon to use I get
Traceback (most recent call last):
File "/var/lib/python-support/python2.5/deluge/ui/webui/lib/webpy022/wsgiserver/__init__.py", line 628, in communicate
req.respond()
File "/var/lib/python-support/python2.5/deluge/ui/webui/lib/webpy022/wsgiserver/__init__.py", line 361, in respond
response = self.wsgi_app(self.environ, self.start_response)
File "/var/lib/python-support/python2.5/deluge/ui/webui/lib/webpy022/webapi.py", line 314, in wsgifunc
print >> debug, traceback.format_exc()
File "/var/lib/python-support/python2.5/deluge/ui/webui/lib/webpy022/webapi.py", line 170, in _debugwrite
out.write(x)
IOError: [Errno 5] Input/output error

Re: WebUI broken

Posted: Mon Feb 23, 2009 6:37 pm
by lvleph
No one?

Re: WebUI broken

Posted: Thu Feb 26, 2009 4:27 pm
by draggy
are you using ssl? remove the certs and try normally.

Re: WebUI broken

Posted: Fri Feb 27, 2009 2:42 am
by lvleph
I didn't setup ssl, so I don't think so.

Re: WebUI broken

Posted: Mon Mar 02, 2009 8:14 am
by homolibere
I also hav this problem

Code: Select all

Traceback (most recent call last):
  File "/var/lib/python-support/python2.5/deluge/ui/webui/lib/webpy022/wsgiserver/__init__.py", line 628, in communicate
    req.respond()
  File "/var/lib/python-support/python2.5/deluge/ui/webui/lib/webpy022/wsgiserver/__init__.py", line 361, in respond
    response = self.wsgi_app(self.environ, self.start_response)
  File "/var/lib/python-support/python2.5/deluge/ui/webui/lib/webpy022/webapi.py", line 314, in wsgifunc
    print >> debug, traceback.format_exc()
  File "/var/lib/python-support/python2.5/deluge/ui/webui/lib/webpy022/webapi.py", line 170, in _debugwrite
    out.write(x)
AttributeError: 'NoneType' object has no attribute 'write'
i assume this cames with apdates of python2 on my Ubuntu 9.04 beta