web UI breaking down

General support for problems installing or using Deluge
Post Reply
deluger
New User
New User
Posts: 9
Joined: Sun Sep 09, 2007 9:08 pm

web UI breaking down

Post by deluger »

this is the part it told me to paste

Code: Select all

--Deluge Error--
DBusException : org.freedesktop.DBus.Python.UnicodeError: Traceback (most recent call last):
  File "/var/lib/python-support/python2.5/dbus/service.py", line 698, in _message_cb
    _method_reply_return(connection, message, method_name, signature, *retval)
  File "/var/lib/python-support/python2.5/dbus/service.py", line 239, in _method_reply_return
    reply.append(signature=signature, *retval)
UnicodeError: String parameters to be sent over D-Bus must be valid UTF-8

path : /index
file : /var/lib/python-support/python2.5/dbus/connection.py in call_blocking, line 602

--Input--
<Storage {'sort': 'ratio', 'order': 'up'}>

--Versions--
WebUi : rev.172
Python : 2.5.1 (r251:54863, Oct  5 2007, 13:36:32) 
[GCC 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2)]
dbus:0.82.0

--Traceback--
  File "/usr/share/deluge/plugins/WebUi/lib/webpy022/webapi.py", line 304, in wsgifunc
    result = func()
  File "/usr/share/deluge/plugins/WebUi/lib/webpy022/request.py", line 131, in <lambda>
    func = lambda: handle(inp, fvars)
  File "/usr/share/deluge/plugins/WebUi/lib/webpy022/request.py", line 61, in handle
    return tocall(*([x and urllib.unquote(x) for x in args] + fna))
  File "/usr/share/deluge/plugins/WebUi/webserver_framework.py", line 152, in deco
    return func(self, name) #ok, continue..
  File "/usr/share/deluge/plugins/WebUi/webserver_framework.py", line 136, in deco
    res = func(self, name)
  File "/usr/share/deluge/plugins/WebUi/webserver_framework.py", line 169, in deco
    return func(self, name)
  File "/usr/share/deluge/plugins/WebUi/deluge_webserver.py", line 103, in GET
    for torrent_id in ws.proxy.get_session_state()]
  File "/usr/share/deluge/plugins/WebUi/webserver_framework.py", line 220, in get_torrent_status
    status = Storage(ws.proxy.get_torrent_status(torrent_id,ws.TORRENT_KEYS))
  File "/var/lib/python-support/python2.5/dbus/proxies.py", line 135, in __call__
    **keywords)
  File "/var/lib/python-support/python2.5/dbus/connection.py", line 603, in call_blocking
    message, timeout)


mvoncken
Developer
Developer
Posts: 225
Joined: Mon Sep 03, 2007 9:38 pm

Re: web UI breaking down

Post by mvoncken »

deluger wrote:this is the part it told me to paste
Well a little explanation about what you were doing and if you could work around it would have helped ;).

My guess is:
There is 1 torrent with a non-unicode name, or other non-unicode meta-data, like filenames or trackers.
if you remove that torrent everything in the webui works again.
I would like to know what field(filename/name/tracker) is causing the problem, after that ill replace the non-unicode chars in that field with ?.
dev: webui, core, labels | irc:vonck7 |
deluger
New User
New User
Posts: 9
Joined: Sun Sep 09, 2007 9:08 pm

Re: web UI breaking down

Post by deluger »

its happened multiple times.. each time i wasnt doing anything in the webUI. i have it set to refresh every 60seconds so that must have caused it
Post Reply