Roundup Tracker - Issues

Issue 1071402

classification
Cannot install with current directions
Type: Severity: normal
Components: Installation Versions:
process
Status: closed
:
: richard : a1s, myers_carpenter, richard
Priority: normal :

Created on 2004-11-23 01:55 by myers_carpenter, last changed 2004-11-24 07:04 by a1s.

Messages
msg1531 Author: [hidden] (myers_carpenter) Date: 2004-11-23 01:55
I would assume that "roundup-admin install" would
create a new style tracker with a config.ini, but it
creates an config.py. (the message at the end of the
install process points me to config.ini too).

After editing "config.py" I run "roundup-admin init":

Enter tracker home: /var/roundup/publisher/
Admin Password:
       Confirm:
Error: Instance has not been installed

If I ignore that and try to run this tracker using the
mod python front end I get this error in my apache
error log:

[Sat Nov 20 17:29:45 2004] [error] [client 127.0.0.1]
PythonHandler roundup.cgi.apache: Traceback (most
recent call last):
[Sat Nov 20 17:29:45 2004] [error] [client 127.0.0.1]
PythonHandler roundup.cgi.apache:   File
"/usr/lib/python2.3/site-packages/mod_python/apache.py",
line 299, in HandlerDispatch\n    result =
object(req)[Sat Nov 20 17:29:45 2004] [error] [client
127.0.0.1] PythonHandler roundup.cgi.apache:   File
"/usr/local/lib/python2.3/site-packages/roundup/cgi/apache.py",
line 84, in handler\n    _tracker =
roundup.instance.open(_home)
[Sat Nov 20 17:29:45 2004] [error] [client 127.0.0.1]
PythonHandler roundup.cgi.apache:   File
"/usr/local/lib/python2.3/site-packages/roundup/instance.py",
line 242, in open\n    return
OldStyleTrackers.open(tracker_home, optimize=optimize)
[Sat Nov 20 17:29:45 2004] [error] [client 127.0.0.1]
PythonHandler roundup.cgi.apache:   File
"/usr/local/lib/python2.3/site-packages/roundup/instance.py",
line 206, in open\n    raise TrackerError, 'File
"%s.py" missing from tracker '\\
[Sat Nov 20 17:29:45 2004] [error] [client 127.0.0.1]
PythonHandler roundup.cgi.apache: TrackerError: File
"select_db.py" missing from tracker home
"/var/roundup/publisher"

msg1532 Author: [hidden] (a1s) Date: 2004-11-23 10:00
Logged In: YES 
user_id=8719

it looks like you didn't cleanly uninstall 0.7 before
installing cvs version.  you have config.py files left in
share/roundup/templates/.  if that is the case, please
remove directories site-packages/roundup/ and share/roundup/
altogether, and then reinstall the cvs verison.

of course, 'roundup-admin install' should create new-style
tracker.
msg1533 Author: [hidden] (myers_carpenter) Date: 2004-11-23 15:51
Logged In: YES 
user_id=335935

Yes, that was it.   Perhaps the install target in the
setup.py needs to check for old files and give a warning?
msg1534 Author: [hidden] (a1s) Date: 2004-11-23 16:44
Logged In: YES 
user_id=8719

i'd prefer to have a note on that in upgrading.txt and not
create custom install class.

please make a patch for setup.py if you wish, but don't
forget about binary distributions and windows installations.
 i wouldn't like to have binary distributions more difficult
to install than the source package.  i don't know how to
reliable do that check from binary installation (especially
on windows), so you will have to find that out yourself.

... hm.  alternatively, we could reject old-style templates
in roundup-admin install procedure.  this seems to be a
better way than doing the check in setup.py install.
msg1535 Author: [hidden] (richard) Date: 2004-11-23 22:13
Logged In: YES 
user_id=6405

I'd also rather not modify setup.py to remove installed files. 
 
Perhaps we can just have roundup-admin install ignore the 
old-style files? 
msg1536 Author: [hidden] (a1s) Date: 2004-11-24 07:04
Logged In: YES 
user_id=8719

checked in
History
Date User Action Args
2004-11-23 01:55:04myers_carpentercreate