Page 1 of 1

Unable to load WebUI

Posted: Tue Jan 12, 2010 10:55 am
by Kieeps
Have been using deluge for a while now, but i havn't used the webui yet. Always use the client on my windows PC to connect but i wanna be able to look at deluge while i'm at work sometimes since i use flexget. anyhow. wanted to start the webui:

I use the SVN verion 6090

I started deluged with debuging and logging, when i wrote:

Code: Select all

deluge -u web
But it gives:

Code: Select all

$ deluge -u web
[ERROR   ] 11:52:45 ui:146 No module named mako.template
Traceback (most recent call last):
  File "/usr/local/lib/python2.6/dist-packages/deluge-1.2.0_rc5_dev-py2.6.egg/deluge/ui/ui.py", line 132, in __init__
    ui = WebUI(args)
  File "/usr/local/lib/python2.6/dist-packages/deluge-1.2.0_rc5_dev-py2.6.egg/deluge/ui/web/web.py", line 43, in __init__
    import server
  File "/usr/local/lib/python2.6/dist-packages/deluge-1.2.0_rc5_dev-py2.6.egg/deluge/ui/web/server.py", line 58, in <module>
    from deluge.ui.web.auth import Auth
  File "/usr/local/lib/python2.6/dist-packages/deluge-1.2.0_rc5_dev-py2.6.egg/deluge/ui/web/auth.py", line 61, in <module>
    from deluge.ui.web.json_api import JSONComponent, export
  File "/usr/local/lib/python2.6/dist-packages/deluge-1.2.0_rc5_dev-py2.6.egg/deluge/ui/web/json_api.py", line 54, in <module>
    from deluge.ui.web.common import _
  File "/usr/local/lib/python2.6/dist-packages/deluge-1.2.0_rc5_dev-py2.6.egg/deluge/ui/web/common.py", line 37, in <module>
    from mako.template import Template as MakoTemplate
ImportError: No module named mako.template
[ERROR   ] 11:52:45 ui:147 There was an error whilst launching the request UI: web
[ERROR   ] 11:52:45 ui:148 Look at the traceback above for more information.
also gave the console a try and wrote:

Code: Select all

plugin -e WebUi
it didn't give any error but when i checked the log i found the same error as above.

Any idea what's wrong?

Oh and btw! what is the default port for the WebUI?

Re: Unable to load WebUI

Posted: Tue Jan 12, 2010 11:16 am
by johnnyg
You need to install mako: http://www.makotemplates.org/
Default port for web UI is 8112 (default password is deluge).

Re: Unable to load WebUI

Posted: Tue Jan 12, 2010 11:26 am
by Kieeps
worked great ;D wow it really looks good :) nice work!