1.2.0 still crashing on ubuntu hardy

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

1.2.0 still crashing on ubuntu hardy

Post by ihatetoregister »

i was happy to see that launchpad finally made the 1.2.0 binaries available for all ubuntus (including hardy).

so with launchpad in my sources.list i installed "deluge" via apt-get (no synaptic, the server runs without graphics) and it went down without any error message. i could fire up "deluged" without a problem

i could also fire up "deluge -u web" but as soon as i try to connect to from my remote windows machine, the console gives me the following errors:

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)
i've tried to rename the folder with the configuration-files and then make a clean install - same problem. is there a problem with my python dependencies? and shouldn't apt-get clear those problems?

pleeeeease help!! i really need to get deluge running again.
ihatetoregister
Member
Member
Posts: 11
Joined: Fri Dec 18, 2009 12:01 pm

Re: 1.2.0 still crashing on ubuntu hardy

Post by ihatetoregister »

after some extensive debugging session with the incredibly nice help of a knowledgable dev, a solution for hardy has been found. the hardy version of "mako" caused the problems. launchpad does now include an updated version of mako. so you need launchpad in your sources.list and then do "apt-get install python-mako"

this should fix the problems for hardy users. hopefully
Post Reply