Some torrents can't be added using web-ui

General support for problems installing or using Deluge
Post Reply
Apewall
Member
Member
Posts: 11
Joined: Sat Jul 11, 2009 8:17 pm

Some torrents can't be added using web-ui

Post by Apewall »

I've ran into this a few times where .torrent files are not accepted by the web-ui. Once you add them they do not show the true torrent name and they do not list the files included in the torrent. Adding these via GTK or console seems to work fine.

My setup is deluge 1.3.1 on Ubuntu 10.10 Maverick 32bit

Anyone know of this issue or if it can be resolved?
CSB
Leecher
Leecher
Posts: 66
Joined: Fri Dec 03, 2010 1:55 am

Re: Some torrents can't be added using web-ui

Post by CSB »

Some torrents don't work... Maybe you can give a few examples so that it's possible to get any sort of underztandingaof the problem?

Do you have logs you can post?
Apewall
Member
Member
Posts: 11
Joined: Sat Jul 11, 2009 8:17 pm

Re: Some torrents can't be added using web-ui

Post by Apewall »

Unfortunately I cannot post the torrents in question here. I have not been able to figure out how to recreate the problem making my own yet.
Output of deluge.log

Code: Select all

[ERROR   ] 14:27:58 json_api:266 'utf8' codec can't decode byte 0xb7 in position 0: invalid start byte
Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.6/deluge/ui/web/json_api.py", line 288, in render
    d = self._on_json_request(request)
  File "/usr/lib/pymodules/python2.6/deluge/ui/web/json_api.py", line 260, in _on_json_request
    return self._send_response(request, response)
  File "/usr/lib/pymodules/python2.6/deluge/ui/web/json_api.py", line 271, in _send_response
    response = json.dumps(response)
  File "/usr/lib/python2.6/json/__init__.py", line 230, in dumps
    return _default_encoder.encode(obj)
  File "/usr/lib/python2.6/json/encoder.py", line 367, in encode
    chunks = list(self.iterencode(o))
  File "/usr/lib/python2.6/json/encoder.py", line 309, in _iterencode
    for chunk in self._iterencode_dict(o, markers):
  File "/usr/lib/python2.6/json/encoder.py", line 275, in _iterencode_dict
    for chunk in self._iterencode(value, markers):
  File "/usr/lib/python2.6/json/encoder.py", line 309, in _iterencode
    for chunk in self._iterencode_dict(o, markers):
  File "/usr/lib/python2.6/json/encoder.py", line 275, in _iterencode_dict
    for chunk in self._iterencode(value, markers):
  File "/usr/lib/python2.6/json/encoder.py", line 309, in _iterencode
    for chunk in self._iterencode_dict(o, markers):
  File "/usr/lib/python2.6/json/encoder.py", line 275, in _iterencode_dict
    for chunk in self._iterencode(value, markers):
  File "/usr/lib/python2.6/json/encoder.py", line 309, in _iterencode
    for chunk in self._iterencode_dict(o, markers):
  File "/usr/lib/python2.6/json/encoder.py", line 275, in _iterencode_dict
    for chunk in self._iterencode(value, markers):
  File "/usr/lib/python2.6/json/encoder.py", line 309, in _iterencode
    for chunk in self._iterencode_dict(o, markers):
  File "/usr/lib/python2.6/json/encoder.py", line 275, in _iterencode_dict
    for chunk in self._iterencode(value, markers):
  File "/usr/lib/python2.6/json/encoder.py", line 309, in _iterencode
    for chunk in self._iterencode_dict(o, markers):
  File "/usr/lib/python2.6/json/encoder.py", line 275, in _iterencode_dict
    for chunk in self._iterencode(value, markers):
  File "/usr/lib/python2.6/json/encoder.py", line 309, in _iterencode
    for chunk in self._iterencode_dict(o, markers):
  File "/usr/lib/python2.6/json/encoder.py", line 275, in _iterencode_dict
    for chunk in self._iterencode(value, markers):
  File "/usr/lib/python2.6/json/encoder.py", line 309, in _iterencode
    for chunk in self._iterencode_dict(o, markers):
  File "/usr/lib/python2.6/json/encoder.py", line 275, in _iterencode_dict
    for chunk in self._iterencode(value, markers):
  File "/usr/lib/python2.6/json/encoder.py", line 294, in _iterencode
    yield encoder(o)
UnicodeDecodeError: 'utf8' codec can't decode byte 0xb7 in position 0: invalid start byte
nothing output in deluge-web.log and i was able to add them over deluge-console, as I stated earlier.
CSB
Leecher
Leecher
Posts: 66
Joined: Fri Dec 03, 2010 1:55 am

Re: Some torrents can't be added using web-ui

Post by CSB »

It kind of sounds like an input sanitization problem, but you never know. I'm any of the devs would have come to the conclusion at a glance, or know more than I...
Post Reply