Opened 16 years ago

Closed 16 years ago

#89 closed bug (WorksForMe)

Crash the webui

Reported by: anonymous Owned by: mvoncken
Priority: critical Milestone:
Component: Web UI Version: 0.5.8.6
Keywords: Cc:

Description

--Deluge Error-- DBusException : org.freedesktop.DBus.Python.UnicodeError?: Traceback (most recent call last):

File "/var/lib/python-support/python2.5/dbus/service.py", line 488, in _message_cb

_method_reply_return(connection, message, method_name, signature, *retval)

File "/var/lib/python-support/python2.5/dbus/service.py", line 232, 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/proxies.py in call, line 168

--Input-- <Storage {}>

--Versions-- WebUi? : rev.172 Python : 2.5.1 (r251:54863, Mar 7 2008, 03:41:45) [GCC 4.1.2 (Ubuntu 4.1.2-0ubuntu4)] dbus:0.80.2

--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 169, in call

reply_message = self._connection.send_message_with_reply_and_block(message, timeout)

Attachments (1)

kk.html.zip (6.5 KB) - added by anonymous 16 years ago.
Traceback

Download all attachments as: .zip

Change History (7)

Changed 16 years ago by anonymous

Traceback

comment:1 Changed 16 years ago by noizo

Same goes here.

--Deluge Error--
DBusException : org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
path : /torrent/start/6
file : /var/lib/python-support/python2.5/dbus/connection.py in call_blocking, line 602

--Input--
<Storage {'pauseresume': 'submit', 'pauseresume.x': '5', 'pauseresume.y': '11'}>

--Versions--
WebUi : rev.172
Python : 2.5.1 (r251:54863, Mar  7 2008, 04:10:12) 
[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/deluge_webserver.py", line 154, in POST
    ws.proxy.resume_torrent(torrent_ids)
  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)

comment:2 Changed 16 years ago by anonymous

r.3004 assume name,tracker,tracker_status could be non-unicode

comment:3 Changed 16 years ago by mvoncken

  • Resolution set to fixed
  • Status changed from new to closed

I could not test if it was fixed because i don't have this problem, but i think it is. please post a problem torrent if the problem persists.

comment:4 Changed 16 years ago by noizo

  • Resolution fixed deleted
  • Status changed from closed to reopened

It has happend when i was adding new torrent file from webui.

--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 {}>

--Versions-- WebUi? : rev.172 Python : 2.5.1 (r251:54863, Mar 7 2008, 04:10:12) [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)

There is a new code. It is ubuntu 7.10 if it changes anything. I will try to add some torrent file if it will happend again.

comment:5 Changed 16 years ago by anonymous

Please give me a link to a problem-torrent If you cant find a public problem-torrent:you can pm me a link at #deluge or the forum.

comment:6 Changed 16 years ago by mvoncken

  • Resolution set to worksforme
  • Status changed from reopened to closed

closing because of lack of response to my question.

Note: See TracTickets for help on using tickets.