Message5096
It seems as though when roundup is installed in a virtualenv the
roundup-demo script is unable to find the templates.
Tested on Debian testing with:
roundup 1.5.0
virtualenv 1.11.4
Steps to reproduce:
# virtualenv venv
# source venv/bin/activate
# pip install roundup
# roundup-demo
This seems to be caused by the templates being installed into:
venv/share/roundup/templates/
but the 'roundup.admin' module imported by the 'roundup-script' is from:
venv/local/lib/python2.7/site-packages/roundup/admin.py
which in turn (via AdminTool.listTemplates()) is looking for templates in:
venv/local/lib/python2.7/site-packages/share/roundup/templates
venv/local/lib/share/roundup/templates
venv/local/share/roundup/templates
but the templates are located in:
venv/share/roundup/templates
and there is no symlink for:
venv/local/share -> venv/share
I am guessing this also will cause problems from 'roundup admin install'.
A temporary workaround for anyone experiencing this issue is to create a
new symlink after initialising the virtualenv:
ln -s ../share venv/local/share |
|
Date |
User |
Action |
Args |
2014-05-05 05:52:08 | jerrykan | set | recipients:
+ jerrykan |
2014-05-05 05:52:08 | jerrykan | set | messageid: <1399269128.67.0.112397194072.issue2550841@psf.upfronthosting.co.za> |
2014-05-05 05:52:08 | jerrykan | link | issue2550841 messages |
2014-05-05 05:52:07 | jerrykan | create | |
|