Issue 1578576
Created on 2006-10-16 23:13 by midtoad, last changed 2006-10-17 04:56 by a1s.
msg2308 |
Author: [hidden] (midtoad) |
Date: 2006-10-16 23:13 |
|
In Windows, roundup-admin.bat fails because it will not
accept any answer to the question about which template
to use (classic or minimal). Regardless of whether I
type 'classic' or 'minimal' or hit enter to accept the
default, I just get re-prompted on the same question.
C:\Documents and
Settings\smidwint\Desktop\roundup-1.2.1.tar\roundup-1.2.1\build\scripts-2.4>roundup-
-admin install
'roundup--admin' is not recognized as an internal or
external command,
operable program or batch file.
C:\Documents and
Settings\smidwint\Desktop\roundup-1.2.1.tar\roundup-1.2.1\build\scripts-2.4>roundup-
-admin.bat install
'roundup--admin.bat' is not recognized as an internal
or external command,
operable program or batch file.
C:\Documents and
Settings\smidwint\Desktop\roundup-1.2.1.tar\roundup-1.2.1\build\scripts-2.4>ls
Volume in drive C is BIG_ROOT
Volume Serial Number is 8C9E-52EF
Directory of C:\Documents and
Settings\smidwint\Desktop\roundup-1.2.1.tar\roundup-1.2.1\build\script
s-2.4
[.] roundup-admin.bat
roundup-gettext.bat roundup-server.bat
[..] roundup-demo.bat
roundup-mailgw.bat
5 File(s) 1,251 bytes
2 Dir(s) 74,921,713,664 bytes free
C:\Documents and
Settings\smidwint\Desktop\roundup-1.2.1.tar\roundup-1.2.1\build\scripts-2.4>roundup-
admin.bat install
Enter tracker home: d:/data/roundup/trackers
WARNING: directory
'c:\programs\python24\share\roundup\templates\classic'
contains old-style template - ignored
WARNING: directory
'c:\programs\python24\share\roundup\templates\minimal'
contains old-style template - ignored
Templates:
Select template [classic]:
Select template [classic]: classic
Select template [classic]: classic
Select template [classic]: Classic
Select template [classic]:
Select template [classic]: classic
Select template [classic]: minimal
Select template [classic]: classic
Select template [classic]:
Select template [classic]:
Select template [classic]:
I noted the error about old-style templates, then
copied the 'templates' folder from the roundup source
into the location above and re-ran the admin script.
same result as before.
Delving into the admin.py and init.py scripts, I see
that my user input is not accepted because there's no
match against the list of available templates, because
the list is empty because of the error about old-style
templates. in init.py you test whether the templates
are new-style or old-style by checking for the presence
of config.py. Since your install script (and my manual
copy) copies the templates into place, the pre-existing
config.py remains in place and thus the new templates
are determined to be old-style.
Suggested fix:
1. the install script should delete the old template
folder if it exists
2. if the admin script finds that the template folder
contains old-style templates, or the list of templates
is empty for any reason, the script should abort with
some instructions.
Hope that helps!
cheers
Stewart
|
msg2309 |
Author: [hidden] (a1s) |
Date: 2006-10-17 04:56 |
|
Logged In: YES
user_id=8719
You should read "Upgrading to newer versions of Roundup"
before upgrading. In particular, section "Migrating from
0.7.1 to 0.8.0": "You *must* fully uninstall previous
Roundup version before installing Roundup 0.8.0. If you
don't do that, roundup-admin install command may fail to
function properly."
Package uninstall is a duty of your package manager - that's
not the thing Roundup can do itself.
|
|
Date |
User |
Action |
Args |
2006-10-16 23:13:47 | midtoad | create | |
|