Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 283263

Summary: net-p2p/deluge-9999 miss dev-python/mako dependency
Product: Gentoo Linux Reporter: Mathieu Rochette <mathieu>
Component: Current packagesAssignee: Gentoo net-p2p team <net-p2p>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Mathieu Rochette 2009-08-30 17:25:48 UTC
can't start deluge web client

Reproducible: Always

Steps to Reproduce:
1. deluge -u web

Actual Results:  
evangeneer@localhost ~ $ deluge -u web
/usr/lib/python2.6/site-packages/twisted/persisted/sob.py:12: DeprecationWarning: the md5 module is deprecated; use hashlib instead
  import os, md5, sys
/usr/lib/python2.6/site-packages/twisted/python/filepath.py:12: DeprecationWarning: the sha module is deprecated; use the hashlib module instead
  import sha
[ERROR   ] 19:06:51 ui:146 No module named mako.template
Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/deluge/ui/ui.py", line 132, in __init__
    ui = WebUI(args)
  File "/usr/lib/python2.6/site-packages/deluge/ui/web/web.py", line 41, in __init__
    import server
  File "/usr/lib/python2.6/site-packages/deluge/ui/web/server.py", line 58, in <module>
    from deluge.ui.web.auth import Auth
  File "/usr/lib/python2.6/site-packages/deluge/ui/web/auth.py", line 59, in <module>
    from deluge.ui.web.json_api import JSONComponent, export
  File "/usr/lib/python2.6/site-packages/deluge/ui/web/json_api.py", line 54, in <module>
    from deluge.ui.web.common import _
  File "/usr/lib/python2.6/site-packages/deluge/ui/web/common.py", line 37, in <module>
    from mako.template import Template as MakoTemplate
ImportError: No module named mako.template
[ERROR   ] 19:06:51 ui:147 There was an error whilst launching the request UI: web
[ERROR   ] 19:06:51 ui:148 Look at the traceback above for more information.


installing dev-python/mako fix this problem
Comment 1 Raúl Porcel (RETIRED) gentoo-dev 2009-11-05 16:14:28 UTC
There's an USE-flag called webinterface for that now.