rc3: ui not starting on ubuntu 8.04 (hardy)

General support for problems installing or using Deluge
Post Reply
ihatetoregister
Member
Member
Posts: 11
Joined: Fri Dec 18, 2009 12:01 pm

rc3: ui not starting on ubuntu 8.04 (hardy)

Post by ihatetoregister »

hello,

i was running 1.19 from launchpad before and everything worked nicely. then i accidentally did an upgrade to 1.2 rc3.

i am running a headless ubuntu 8.04 lts (hardy) without graphics and use deluge via webui from my windows notebook.

i've got launchpad in my sources.list, so i dunno why it didn't upgrade before. anyway, now i got everything on 1.2 rc3. the daemon starts nicely and seems to be working. i can also fire up "deluge -u web" as i usually do. as soon as i connect to it from my remote notebook, the following error messages appear on the shell, where i started deluge. obviously the web-interface doesn't appear, the browser stays blank.

Code: Select all

Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/twisted/protocols/basic.py", line 232, in dataReceived
    why = self.lineReceived(line)
  File "/usr/lib/python2.5/site-packages/twisted/web/http.py", line 1001, in lineReceived
    self.allContentReceived()
  File "/usr/lib/python2.5/site-packages/twisted/web/http.py", line 1042, in allContentReceived
    req.requestReceived(command, path, version)
  File "/usr/lib/python2.5/site-packages/twisted/web/http.py", line 598, in requestReceived
    self.process()
--- <exception caught here> ---
  File "/usr/lib/python2.5/site-packages/twisted/web/server.py", line 160, in process
    self.render(resrc)
  File "/usr/lib/python2.5/site-packages/twisted/web/server.py", line 167, in render
    body = resrc.render(self)
  File "/var/lib/python-support/python2.5/deluge/ui/web/server.py", line 142, in render
    return template.render()
  File "/var/lib/python-support/python2.5/deluge/ui/web/common.py", line 66, in render
    rendered = MakoTemplate.render_unicode(self, *args, **data)
  File "/usr/lib/python2.5/site-packages/mako/template.py", line 118, in render_unicode
    return runtime._render(self, self.callable_, args, data, as_unicode=True)
  File "/usr/lib/python2.5/site-packages/mako/runtime.py", line 287, in _render
    _render_context(template, callable_, context, *args, **_kwargs_for_callable(callable_, data))
  File "/usr/lib/python2.5/site-packages/mako/runtime.py", line 304, in _render_context
    _exec_template(inherit, lclcontext, args=args, kwargs=kwargs)
  File "/usr/lib/python2.5/site-packages/mako/runtime.py", line 337, in _exec_template
    callable_(context, *args, **kwargs)
  File "_var_lib_python_support_python2_5_deluge_ui_web_gettext_js", line 80, in render_body

exceptions.UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 15: ordinal not in range(128)
Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/twisted/protocols/basic.py", line 232, in dataReceived
    why = self.lineReceived(line)
  File "/usr/lib/python2.5/site-packages/twisted/web/http.py", line 1001, in lineReceived
    self.allContentReceived()
  File "/usr/lib/python2.5/site-packages/twisted/web/http.py", line 1042, in allContentReceived
    req.requestReceived(command, path, version)
  File "/usr/lib/python2.5/site-packages/twisted/web/http.py", line 598, in requestReceived
    self.process()
--- <exception caught here> ---
  File "/usr/lib/python2.5/site-packages/twisted/web/server.py", line 160, in process
    self.render(resrc)
  File "/usr/lib/python2.5/site-packages/twisted/web/server.py", line 167, in render
    body = resrc.render(self)
  File "/var/lib/python-support/python2.5/deluge/ui/web/server.py", line 142, in render
    return template.render()
  File "/var/lib/python-support/python2.5/deluge/ui/web/common.py", line 66, in render
    rendered = MakoTemplate.render_unicode(self, *args, **data)
  File "/usr/lib/python2.5/site-packages/mako/template.py", line 118, in render_unicode
    return runtime._render(self, self.callable_, args, data, as_unicode=True)
  File "/usr/lib/python2.5/site-packages/mako/runtime.py", line 287, in _render
    _render_context(template, callable_, context, *args, **_kwargs_for_callable(callable_, data))
  File "/usr/lib/python2.5/site-packages/mako/runtime.py", line 304, in _render_context
    _exec_template(inherit, lclcontext, args=args, kwargs=kwargs)
  File "/usr/lib/python2.5/site-packages/mako/runtime.py", line 337, in _exec_template
    callable_(context, *args, **kwargs)
  File "_var_lib_python_support_python2_5_deluge_ui_web_gettext_js", line 80, in render_body

exceptions.UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 15: ordinal not in range(128)
what can i do?
help would be much appreciated. thanks alot!

ps: i'm no great linux expert, please be as verbose as you can in your answer. thank you!
mel
Member
Member
Posts: 11
Joined: Fri Dec 04, 2009 6:31 am

Re: rc3: ui not starting on ubuntu 8.04 (hardy)

Post by mel »

Deluge RCs aren't Hardy friendly...almost all the packages used by Deluge are not available in the right versions from the repositories. I would look at all the dependencies listed and compare them to what you have installed. If you want to stick with it though you're going to need to get familiar with compiling your own source until someone releases an update ppa that works.

Oh, and yeah I used the ppa build for Hardy from https://launchpad.net/~deluge-team/+arc ... lter=hardy
It didn't work for me...ended up jumping to the next RC and compiling all the missing dependencies myself :(
ihatetoregister
Member
Member
Posts: 11
Joined: Fri Dec 18, 2009 12:01 pm

Re: rc3: ui not starting on ubuntu 8.04 (hardy)

Post by ihatetoregister »

thanks alot for the statement.

i guess i won't go to the troubles of compiling stuff myself to resolve dependencies. i'd much rather go back to 1.1.9 which was working nicely before.

BUT: this doesnt work either. i grabbed those from getdeb

Code: Select all

deluge-torrent_1.1.9-1~getdeb1_i386.deb
deluge-common_1.1.9-1~getdeb1_all.deb
deluge-core_1.1.9-1~getdeb1_all.deb
then i installed all of them with "aptitude install ..." which worked fine without errors. i could also fire up the daemon, but there's no "deluge" application to start the UI.

Code: Select all

The program 'deluge' is currently not installed.  You can install it by typing:
apt-get install deluge-torrent
but this installs a false version from the respositories and not 1.1.9.

any ideas?
mel
Member
Member
Posts: 11
Joined: Fri Dec 04, 2009 6:31 am

Re: rc3: ui not starting on ubuntu 8.04 (hardy)

Post by mel »

Pretty sure you need the deluge-webui package as well
ihatetoregister
Member
Member
Posts: 11
Joined: Fri Dec 18, 2009 12:01 pm

Re: rc3: ui not starting on ubuntu 8.04 (hardy)

Post by ihatetoregister »

unfortunately there is no such package there:

Code: Select all

http://old.getdeb.net/search.php?keywords=deluge
ihatetoregister
Member
Member
Posts: 11
Joined: Fri Dec 18, 2009 12:01 pm

Re: rc3: ui not starting on ubuntu 8.04 (hardy)

Post by ihatetoregister »

ok, here's a few more things:

1) in order to manually install the files from getdeb with aptitude install, you also need to have launchpad-for-hardy activated in the sources.list. it seems this is necessary to resolve some otherwise unresolvable dependencies.

2) i've tried to install deluge-webui from this source. (i've googled for it)

Code: Select all

http://mirror.informatik.uni-mannheim.de/pub/mirrors/getdeb/ubuntu/jaunty/de/deluge-webui_1.1.9-1~getdeb1_all.deb
it's not working (of course) because it's a version for jaunty, but there seems to be no version for hardy available. but with this version i can at least get to the login-screen on the remote webbrowser. please, dear people of deluge-island, why are you not providing deluge-webui 1.1.9 for hardy?
russel

Re: rc3: ui not starting on ubuntu 8.04 (hardy)

Post by russel »

i'm add ppa:deluge-team/ppa for hardy (important for Hardy)
and run

Code: Select all

sudo apt-get install deluge deluge-web python-mako
without "python-mako" i'm get same errors like in first message.
Injoy ;)
Post Reply