1.3.1 WebUI will not start on Ubuntu

General support for problems installing or using Deluge
Post Reply
sikk

1.3.1 WebUI will not start on Ubuntu

Post by sikk »

Hello,

I recently updated an old Ubuntu Desktop 8.10 box which had been running deluged and deluge-web quite happily to Ubuntu Desktop 10.4.1 LTS.

After the usual dist-upgrade issues, I found that deluge needed an upgrade (was running 1.0.6 I thing and I added the PPA to install 1.3.1, apt-get install deluge ran happily, and after adding deluge web as well I started up deluge at the command line, and went on to try deluge-web as well. It returned this error.

Code: Select all

xxx@xxx:~/.config/deluge$ /usr/bin/deluge-web
Traceback (most recent call last):
  File "/usr/bin/deluge-web", line 9, in <module>
    load_entry_point('deluge==1.3.1', 'console_scripts', 'deluge-web')()
  File "/usr/lib/pymodules/python2.6/deluge/ui/web/web.py", line 138, in start
    web.start()
  File "/usr/lib/pymodules/python2.6/deluge/ui/web/web.py", line 108, in start
    self.__server = server.DelugeWeb()
  File "/usr/lib/pymodules/python2.6/deluge/ui/web/server.py", line 612, in __init__
    self.config["old_pwd_md5"] = encodestring(old_config["pwd_md5"])
  File "/usr/lib/pymodules/python2.6/deluge/config.py", line 243, in __getitem__
    return self.get_item(key)
  File "/usr/lib/pymodules/python2.6/deluge/config.py", line 262, in get_item
    return self.__config[key].decode("utf8")
  File "/usr/lib/python2.6/encodings/utf_8.py", line 16, in decode
    return codecs.utf_8_decode(input, errors, True)
UnicodeDecodeError: 'utf8' codec can't decode bytes in position 1-3: invalid data
xxx@xxx:~/.config/deluge$
Google returns numerous python related hits on the "UnicodeDecodeError: 'utf8' codec can't decode bytes in position 1-3: invalid data" which seems to relate to a python bug.

http://bugs.python.org/issue3061

Has anyone hit this previously? It is only a minor annoyance to me at this stage...... If I am doing something stupid or have missed something, I would however take an easy fix ;)

Sikk.
Cas
Top Bloke
Top Bloke
Posts: 3681
Joined: Mon Dec 07, 2009 6:04 am
Location: Scotland

Re: 1.3.1 WebUI will not start on Ubuntu

Post by Cas »

Best I can suggest is to try deleting the config and reinstalling
Post Reply