Issue 2550841
Created on 2014-05-05 05:52 by jerrykan, last changed 2014-06-26 05:48 by jerrykan.
msg5096 |
Author: [hidden] (jerrykan) |
Date: 2014-05-05 05:52 |
|
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
|
msg5110 |
Author: [hidden] (jerrykan) |
Date: 2014-06-26 05:48 |
|
Fix committed in http://sourceforge.net/p/roundup/code/ci/349a83a
|
|
Date |
User |
Action |
Args |
2014-06-26 05:48:20 | jerrykan | set | status: new -> closed assignee: jerrykan resolution: fixed messages:
+ msg5110 |
2014-05-05 11:15:47 | ThomasAH | set | priority: high -> normal |
2014-05-05 05:52:56 | jerrykan | set | type: behavior components:
+ Installation, Command-line interface versions:
+ 1.5 |
2014-05-05 05:52:08 | jerrykan | create | |
|