Using Hardy (python2.5) running a WSGI app which depends on python-
elementtree via Apache2 I get the following in
/var/log/apache2/error.log:

 File "/usr/lib/python2.5/site-packages/pkg_resources.py", line 524, in 
resolve, referer: http://192.168.111.134/dashboard/index.wsgi/page/sidebar
 raise DistributionNotFound(req)  # XXX put more info here, referer: 
http://192.168.111.134/dashboard/index.wsgi/page/sidebar
 DistributionNotFound: elementtree>=1.2,<=1.3, referer: 
http://192.168.111.134/dashboard/index.wsgi/page/sidebar
 mod_wsgi (pid=13362): Target WSGI script '/usr/lib/webui/index.wsgi' cannot be 
loaded as Python module.

As a work around I create a symlink in /var/lib/python-
support/python2.5/ to /usr/share/python-support/python-
elementtree/elementtree-1.2.6_20050316.egg-info as this seems to be what
some other packages do (eg python-decorator).

-- 
python-elementtree 
pack/usr/share/python-support/python-elementtree/elementtree/age has wrong 
directory structure
https://bugs.launchpad.net/bugs/138349
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to