[issue2551143] Problem with installing external trackers due to changed location of share folder under Ubuntu 18.04
Robert Klonner <[email protected]>
| Newsgroups | gmane.comp.bug-tracking.roundup.devel |
|---|---|
| Message-ID | <[email protected]> |
New submission from Robert Klonner:
During installation of the latest devel version I recognized a problem
during installation under Ubuntu 18.04 and Python 2.7.17. I am installing
Roundup with "python setup.py install".
I want to install a external tracker and therefore I am copying the
templates under /usr/local/share/roundup/templates.
With the latest version the share folder is now created under
/usr/local/lib/python2.7/dist-packages/roundup-2.0.0-
py2.7.egg/share/roundup/templates
I then get the traceback because the package is not found:
roundup-admin install time-todo-abo postgresql
Templates:: responsive, devel, jinja2, minimal, classic
Select template [classic]: [91mTraceback (most recent call last):
File "/usr/local/bin/roundup-admin", line 11, in <module>
load_entry_point('roundup==2.0.0', 'console_scripts', 'roundup-admin')
()
File "/usr/local/lib/python2.7/dist-packages/roundup-2.0.0-
py2.7.egg/roundup/scripts/roundup_admin.py", line 50, in run
sys.exit(tool.main())
File "/usr/local/lib/python2.7/dist-packages/roundup-2.0.0-
py2.7.egg/roundup/admin.py", line 1788, in main
[0m[91m ret = self.run_command(args)
File "/usr/local/lib/python2.7/dist-packages/roundup-2.0.0-
py2.7.egg/roundup/admin.py", line 1657, in run_command
return self.do_install(self.tracker_home, args)
File "/usr/local/lib/python2.7/dist-packages/roundup-2.0.0-
py2.7.egg/roundup/admin.py", line 409, in do_install
default='classic')
File "/usr/local/lib/python2.7/dist-packages/roundup-2.0.0-
py2.7.egg/roundup/admin.py", line 499, in _get_choice
argument = my_input('%s [%s]: ' % (prompt, default))
EOFError: EOF when reading a line
[0mThe command '/bin/sh -c roundup-admin install time-todo-abo
postgresql' returned a non-zero code: 1
This is not as convenient as before as I now have to know the installation
path and Roundup version for scripted installation.
The problem also persists if I manually create the non existing folder
/usr/local/share/roundup/templates and put the templates there so the path
seems also not to be included in the search path.
The last working version I had was from 7.4.2021:
http://hg.code.sf.net/p/roundup/code/rev/4e48a6a40bfe
I know that the version from 18.05.2021
http://hg.code.sf.net/p/roundup/code/rev/dbacf6bf2a2f and 6.6.2021
http://hg.code.sf.net/p/roundup/code/rev/ff4ab763f47c have this issue.
I tried to have a look at the diff to my last working version but I did
not find the change that caused this installation change:
https://github.com/roundup-
tracker/roundup/compare/7e955485d7e30ef5aeaabe8ebaa972687326cd89..6117dcd
I also shortly discussed with Ralf and we decided to do a bug report.
BR, Robert
----------
components: Installation
messages: 7268
nosy: rouilj, schlatterbeck, tttech-klonner
severity: normal
status: new
title: Problem with installing external trackers due to changed location of share folder under Ubuntu 18.04
type: behavior
versions: devel
_________________________________________________
Roundup tracker <[email protected]>
<https://issues.roundup-tracker.org/issue2551143>
_________________________________________________