Roundup Tracker - Issues

Message7268

Author tttech-klonner
Recipients rouilj, schlatterbeck, tttech-klonner
Date 2021-06-09.09:35:26
Message-id <1623231327.12.0.257353362144.issue2551143@roundup.psfhosted.org>
In-reply-to
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]: Traceback (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
    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
The 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
History
Date User Action Args
2021-06-09 09:35:27tttech-klonnersetrecipients: + tttech-klonner, schlatterbeck, rouilj
2021-06-09 09:35:27tttech-klonnersetmessageid: <1623231327.12.0.257353362144.issue2551143@roundup.psfhosted.org>
2021-06-09 09:35:27tttech-klonnerlinkissue2551143 messages
2021-06-09 09:35:26tttech-klonnercreate