Roundup Tracker - Issues

Issue 741164

classification
0.6.0b1 installation broken on Win 2k / XP
Type: Severity: normal
Components: Installation Versions:
process
Status: closed fixed
:
: richard : jvickroy, richard
Priority: normal :

Created on 2003-05-21 14:46 by jvickroy, last changed 2003-06-09 04:07 by richard.

Files
File name Uploaded Description Edit Remove
admin.py richard, 2003-05-29 00:42
Messages
msg837 Author: [hidden] (jvickroy) Date: 2003-05-21 14:46
Hello,
 
During configuration, I enter the following command:
 
>roundup_admin.py install
 
and roundup responds thusly:
 
Enter tracker home: c:\roundup\trackers
Templates:
Select template [classic]:
Select template [classic]:
Select template [classic]: classic
Select template [classic]:
Select template [classic]: 
 
Note, it neither accepts the default [classic] template, 
when I press <Enter> at the prompt, nor my explicit 
entry of it.  I finally have to break out of this loop via
^Z.
 
I did not experience this behavior with roundup-0.5.7.
 
My Python version:
 
C:\Python22\Lib\site-packages\roundup\scripts>python
Python 2.2.2 (#37, Oct 14 2002, 17:02:34) [MSC 32 bit 
(Intel)] on win32
Type "help", "copyright", "credits" or "license" for more 
information.
>>>
msg838 Author: [hidden] (richard) Date: 2003-05-22 02:30
Logged In: YES 
user_id=6405

What does "roundup-admin initopts" say?

Could you please tell me where the setup.py installed the templates directory 
on your system? I look in "<prefix>/share/roundup/templates"
msg839 Author: [hidden] (anonymous) Date: 2003-05-22 14:55
Logged In: NO 

Hello Richard,

Thanks for your response; let me know how I can be of further assistence.

As for your questions ...

-------------------------------------------------------------------------------------------------
Here is what roundup-admin opts says:

D:\$PROJECTS\ROUNDUP-issue-tracker\roundup-0.6.0b1\roundup\scripts>roundup_admin.py initopts
Unknown command "initopts" ("help commands" for a list)

D:\$PROJECTS\ROUNDUP-issue-tracker\roundup-0.6.0b1\roundup\scripts>roundup_admin.py help
Usage: help topic
Give help about topic.

commands  -- list commands
<command> -- help specific to a command
initopts  -- init command options
all       -- all available help


D:\$PROJECTS\ROUNDUP-issue-tracker\roundup-0.6.0b1\roundup\scripts>roundup_admin.py initopts
Unknown command "initopts" ("help commands" for a list)

D:\$PROJECTS\ROUNDUP-issue-tracker\roundup-0.6.0b1\roundup\scripts>


-------------------------------------------------------------------------------------------------
Here is the directory structure for v0.6.0b1:

D:\$PROJECTS>cd ROUNDUP-issue-tracker

D:\$PROJECTS\ROUNDUP-issue-tracker>dir
 Volume in drive D is New Volume
 Volume Serial Number is F461-BE7E

 Directory of D:\$PROJECTS\ROUNDUP-issue-tracker

2003-05-21  08:36a      <DIR>          .
2003-05-21  08:36a      <DIR>          ..
2003-05-09  01:49p      <DIR>          roundup-0.5.7
2003-05-21  08:32a      <DIR>          roundup-0.6.0b1
2003-05-09  12:50p      <DIR>          trackers-0.5.7
2003-05-21  08:35a      <DIR>          trackers-0.6.0b1
               0 File(s)              0 bytes
               6 Dir(s)  14,115,999,744 bytes free

D:\$PROJECTS\ROUNDUP-issue-tracker>cd roundup-0.6.0b1

D:\$PROJECTS\ROUNDUP-issue-tracker\roundup-0.6.0b1>dir
 Volume in drive D is New Volume
 Volume Serial Number is F461-BE7E

 Directory of D:\$PROJECTS\ROUNDUP-issue-tracker\roundup-0.6.0b1

2003-05-21  08:32a      <DIR>          .
2003-05-21  08:32a      <DIR>          ..
2003-05-21  08:32a      <DIR>          build
2003-05-21  08:30a      <DIR>          cgi-bin
2003-05-08  11:05p              49,479 CHANGES.txt
2003-04-06  09:47p               4,562 COPYING.txt
2003-05-08  11:04p               3,328 demo.py
2003-05-21  08:30a      <DIR>          detectors
2003-05-21  08:30a      <DIR>          doc
2003-05-21  08:30a      <DIR>          frontends
2003-05-08  11:07p                 277 PKG-INFO
2003-05-08  10:46p                 949 README.txt
2003-05-21  08:32a      <DIR>          roundup
2003-04-17  12:51a                 657 run_tests
2003-05-21  08:30a      <DIR>          scripts
2003-05-08  11:04p               8,196 setup.py
2003-05-21  08:30a      <DIR>          templates
2003-05-21  08:30a      <DIR>          test
2003-05-21  08:30a      <DIR>          tools
               7 File(s)         67,448 bytes
              12 Dir(s)  14,115,999,744 bytes free

D:\$PROJECTS\ROUNDUP-issue-tracker\roundup-0.6.0b1>cd templates

D:\$PROJECTS\ROUNDUP-issue-tracker\roundup-0.6.0b1\templates>dir
 Volume in drive D is New Volume
 Volume Serial Number is F461-BE7E

 Directory of D:\$PROJECTS\ROUNDUP-issue-tracker\roundup-0.6.0b1\templates

2003-05-21  08:30a      <DIR>          .
2003-05-21  08:30a      <DIR>          ..
2003-05-21  08:30a      <DIR>          classic
2003-05-21  08:30a      <DIR>          minimal
               0 File(s)              0 bytes
               4 Dir(s)  14,115,999,744 bytes free

D:\$PROJECTS\ROUNDUP-issue-tracker\roundup-0.6.0b1\templates>

Note, the 'templates' directory is at the top level in v0.6.0b1.


-------------------------------------------------------------------------------------------------
Here is the directory structure for v0.5.7:

D:\$PROJECTS\ROUNDUP-issue-tracker>cd roundup-0.5.7

D:\$PROJECTS\ROUNDUP-issue-tracker\roundup-0.5.7>dir
 Volume in drive D is New Volume
 Volume Serial Number is F461-BE7E

 Directory of D:\$PROJECTS\ROUNDUP-issue-tracker\roundup-0.5.7

2003-05-09  01:49p      <DIR>          .
2003-05-09  01:49p      <DIR>          ..
2003-05-09  12:06p      <DIR>          build
2003-05-09  12:02p      <DIR>          cgi-bin
2003-05-08  01:07a              44,374 CHANGES.txt
2003-05-08  01:04a               4,562 COPYING.txt
2003-05-09  12:02p      <DIR>          doc
2003-05-09  12:02p      <DIR>          frontends
2003-05-08  01:10a                 274 PKG-INFO
2003-02-05  10:44p                 366 README.txt
2003-05-09  01:42p      <DIR>          roundup
2003-05-09  01:37p                 818 run_tests.py
2003-05-09  01:20p      <DIR>          scripts
2003-02-27  04:21a               8,181 setup.py
2003-05-09  01:37p               7,418 setup.pyc
2003-05-09  01:37p      <DIR>          test
2003-05-09  12:03p      <DIR>          tools
2003-05-09  01:47p                   3 _test_dirlck
               8 File(s)         65,996 bytes
              10 Dir(s)  14,115,999,744 bytes free

D:\$PROJECTS\ROUNDUP-issue-tracker\roundup-0.5.7>cd roundup

D:\$PROJECTS\ROUNDUP-issue-tracker\roundup-0.5.7\roundup>dir
 Volume in drive D is New Volume
 Volume Serial Number is F461-BE7E

 Directory of D:\$PROJECTS\ROUNDUP-issue-tracker\roundup-0.5.7\roundup

2003-05-09  01:42p      <DIR>          .
2003-05-09  01:42p      <DIR>          ..
2003-03-18  04:19p              45,819 admin.py
2003-05-09  01:42p      <DIR>          backends
2003-05-09  01:42p      <DIR>          cgi
2003-05-08  01:04a              23,795 date.py
2003-05-09  01:42p              26,268 date.pyc
2002-10-06  06:52p              21,742 hyperdb.py
2003-05-09  01:42p              34,604 hyperdb.pyc
2002-09-09  06:18p               1,957 i18n.py
2003-05-09  01:42p               1,192 i18n.pyc
2002-09-24  11:06p              12,948 indexer.py
2003-05-09  01:42p              11,244 indexer.pyc
2002-09-10  06:44a               4,495 init.py
2003-05-09  01:42p               4,380 init.pyc
2002-09-09  06:18p               4,675 install_util.py
2003-05-09  01:42p               5,333 install_util.pyc
2002-09-19  07:20p               2,741 instance.py
2003-05-09  01:42p               2,391 instance.pyc
2003-05-08  01:04a              40,474 mailgw.py
2003-05-09  01:42p              30,920 mailgw.pyc
2003-05-08  01:04a               5,038 password.py
2003-05-09  01:42p               5,723 password.pyc
2003-05-08  01:04a              17,990 roundupdb.py
2003-05-09  01:42p              15,125 roundupdb.pyc
2003-05-09  12:02p      <DIR>          scripts
2002-09-25  06:02p               6,168 security.py
2003-05-09  01:42p               8,107 security.pyc
2003-05-09  01:42p      <DIR>          templates
2002-09-09  06:18p               4,081 token.py
2003-05-09  01:42p               2,873 token.pyc
2002-09-09  06:18p               1,227 version_check.py
2003-05-08  01:07a               3,463 __init__.py
2003-05-09  12:06p               2,592 __init__.pyc
              28 File(s)        347,365 bytes
               6 Dir(s)  14,115,999,744 bytes free

D:\$PROJECTS\ROUNDUP-issue-tracker\roundup-0.5.7\roundup>

Note, the 'templates' directory is a sub-directory of the 'roundup' directory in v0.5.7.

msg840 Author: [hidden] (richard) Date: 2003-05-22 22:23
Logged In: YES 
user_id=6405

Sorry, I meant "roundup-admin help initopts". 
 
You're showing me the source directory, not the install directory. 
Where does setup.py put the "templates" directory when you run 
"python setup.py install"? 
 
Note: 0.5.7 had a different setup for templates, hence things are 
broken on windows now. 0.6.0 has a much more flexible (read: 
easier to break ;) system for finding templates. We just need to 
find out where setup is putting them :) 
 
msg841 Author: [hidden] (jvickroy) Date: 2003-05-27 15:29
Logged In: YES 
user_id=17213

Here is the output from roundup-admin.py help initopts

D:\$PROJECTS\ROUNDUP-issue-tracker\roundup-0.6.0b1\roundup\scripts>roundup_admin.py help initopts
Templates:
Back ends: anydbm, mysql, sqlite, bsddb

As for setup.py install ...
setup.py install does not create a "templates" folder under C:\Python22\Lib\site-packages\roundup -- the only 
folders there are: backends, cgi, and scripts.

Here is the output from setup.py install on my system:

D:\$PROJECTS\ROUNDUP-issue-tracker\roundup-0.6.0b1>setup.py install
running install
running build
running build_py
creating build
creating build\lib
creating build\lib\roundup
copying roundup\admin.py -> build\lib\roundup
copying roundup\date.py -> build\lib\roundup
copying roundup\hyperdb.py -> build\lib\roundup
copying roundup\i18n.py -> build\lib\roundup
copying roundup\indexer.py -> build\lib\roundup
copying roundup\init.py -> build\lib\roundup
copying roundup\install_util.py -> build\lib\roundup
copying roundup\instance.py -> build\lib\roundup
copying roundup\mailgw.py -> build\lib\roundup
copying roundup\password.py -> build\lib\roundup
copying roundup\rfc2822.py -> build\lib\roundup
copying roundup\roundupdb.py -> build\lib\roundup
copying roundup\security.py -> build\lib\roundup
copying roundup\token.py -> build\lib\roundup
copying roundup\version_check.py -> build\lib\roundup
copying roundup\__init__.py -> build\lib\roundup
creating build\lib\roundup\cgi
copying roundup\cgi\cgitb.py -> build\lib\roundup\cgi
copying roundup\cgi\client.py -> build\lib\roundup\cgi
copying roundup\cgi\MultiMapping.py -> build\lib\roundup\cgi
copying roundup\cgi\templating.py -> build\lib\roundup\cgi
copying roundup\cgi\zLOG.py -> build\lib\roundup\cgi
copying roundup\cgi\__init__.py -> build\lib\roundup\cgi
creating build\lib\roundup\cgi\PageTemplates
copying roundup\cgi\PageTemplates\ComputedAttribute.py -> build\lib\roundup\cgi\PageTemplates
copying roundup\cgi\PageTemplates\Expressions.py -> build\lib\roundup\cgi\PageTemplates
copying roundup\cgi\PageTemplates\MultiMapping.py -> build\lib\roundup\cgi\PageTemplates
copying roundup\cgi\PageTemplates\PageTemplate.py -> build\lib\roundup\cgi\PageTemplates
copying roundup\cgi\PageTemplates\PathIterator.py -> build\lib\roundup\cgi\PageTemplates
copying roundup\cgi\PageTemplates\PythonExpr.py -> build\lib\roundup\cgi\PageTemplates
copying roundup\cgi\PageTemplates\TALES.py -> build\lib\roundup\cgi\PageTemplates
copying roundup\cgi\PageTemplates\__init__.py -> build\lib\roundup\cgi\PageTemplates
creating build\lib\roundup\cgi\TAL
copying roundup\cgi\TAL\HTMLParser.py -> build\lib\roundup\cgi\TAL
copying roundup\cgi\TAL\HTMLTALParser.py -> build\lib\roundup\cgi\TAL
copying roundup\cgi\TAL\markupbase.py -> build\lib\roundup\cgi\TAL
copying roundup\cgi\TAL\TALDefs.py -> build\lib\roundup\cgi\TAL
copying roundup\cgi\TAL\TALGenerator.py -> build\lib\roundup\cgi\TAL
copying roundup\cgi\TAL\TALInterpreter.py -> build\lib\roundup\cgi\TAL
copying roundup\cgi\TAL\TALParser.py -> build\lib\roundup\cgi\TAL
copying roundup\cgi\TAL\XMLParser.py -> build\lib\roundup\cgi\TAL
copying roundup\cgi\TAL\__init__.py -> build\lib\roundup\cgi\TAL
creating build\lib\roundup\cgi\ZTUtils
copying roundup\cgi\ZTUtils\Batch.py -> build\lib\roundup\cgi\ZTUtils
copying roundup\cgi\ZTUtils\Iterator.py -> build\lib\roundup\cgi\ZTUtils
copying roundup\cgi\ZTUtils\__init__.py -> build\lib\roundup\cgi\ZTUtils
creating build\lib\roundup\backends
copying roundup\backends\back_anydbm.py -> build\lib\roundup\backends
copying roundup\backends\back_bsddb.py -> build\lib\roundup\backends
copying roundup\backends\back_bsddb3.py -> build\lib\roundup\backends
copying roundup\backends\back_metakit.py -> build\lib\roundup\backends
copying roundup\backends\back_mysql.py -> build\lib\roundup\backends
copying roundup\backends\back_sqlite.py -> build\lib\roundup\backends
copying roundup\backends\blobfiles.py -> build\lib\roundup\backends
copying roundup\backends\locking.py -> build\lib\roundup\backends
copying roundup\backends\portalocker.py -> build\lib\roundup\backends
copying roundup\backends\rdbms_common.py -> build\lib\roundup\backends
copying roundup\backends\sessions.py -> build\lib\roundup\backends
copying roundup\backends\__init__.py -> build\lib\roundup\backends
creating build\lib\roundup\scripts
copying roundup\scripts\roundup_admin.py -> build\lib\roundup\scripts
copying roundup\scripts\roundup_mailgw.py -> build\lib\roundup\scripts
copying roundup\scripts\roundup_server.py -> build\lib\roundup\scripts
copying roundup\scripts\__init__.py -> build\lib\roundup\scripts
running build_scripts
creating build\scripts-2.2
creating build\scripts-2.2\roundup-admin.bat
creating build\scripts-2.2\roundup-mailgw.bat
creating build\scripts-2.2\roundup-server.bat
running install_lib
not copying build\lib\roundup\admin.py (output up-to-date)
not copying build\lib\roundup\backends\back_anydbm.py (output up-to-date)
not copying build\lib\roundup\backends\back_bsddb.py (output up-to-date)
not copying build\lib\roundup\backends\back_bsddb3.py (output up-to-date)
not copying build\lib\roundup\backends\back_metakit.py (output up-to-date)
not copying build\lib\roundup\backends\back_mysql.py (output up-to-date)
not copying build\lib\roundup\backends\back_sqlite.py (output up-to-date)
not copying build\lib\roundup\backends\blobfiles.py (output up-to-date)
not copying build\lib\roundup\backends\locking.py (output up-to-date)
not copying build\lib\roundup\backends\portalocker.py (output up-to-date)
not copying build\lib\roundup\backends\rdbms_common.py (output up-to-date)
not copying build\lib\roundup\backends\sessions.py (output up-to-date)
not copying build\lib\roundup\backends\__init__.py (output up-to-date)
not copying build\lib\roundup\cgi\cgitb.py (output up-to-date)
not copying build\lib\roundup\cgi\client.py (output up-to-date)
not copying build\lib\roundup\cgi\MultiMapping.py (output up-to-date)
not copying build\lib\roundup\cgi\PageTemplates\ComputedAttribute.py (output up-to-date)
not copying build\lib\roundup\cgi\PageTemplates\Expressions.py (output up-to-date)
not copying build\lib\roundup\cgi\PageTemplates\MultiMapping.py (output up-to-date)
not copying build\lib\roundup\cgi\PageTemplates\PageTemplate.py (output up-to-date)
not copying build\lib\roundup\cgi\PageTemplates\PathIterator.py (output up-to-date)
not copying build\lib\roundup\cgi\PageTemplates\PythonExpr.py (output up-to-date)
not copying build\lib\roundup\cgi\PageTemplates\TALES.py (output up-to-date)
not copying build\lib\roundup\cgi\PageTemplates\__init__.py (output up-to-date)
not copying build\lib\roundup\cgi\TAL\HTMLParser.py (output up-to-date)
not copying build\lib\roundup\cgi\TAL\HTMLTALParser.py (output up-to-date)
not copying build\lib\roundup\cgi\TAL\markupbase.py (output up-to-date)
not copying build\lib\roundup\cgi\TAL\TALDefs.py (output up-to-date)
not copying build\lib\roundup\cgi\TAL\TALGenerator.py (output up-to-date)
not copying build\lib\roundup\cgi\TAL\TALInterpreter.py (output up-to-date)
not copying build\lib\roundup\cgi\TAL\TALParser.py (output up-to-date)
not copying build\lib\roundup\cgi\TAL\XMLParser.py (output up-to-date)
not copying build\lib\roundup\cgi\TAL\__init__.py (output up-to-date)
not copying build\lib\roundup\cgi\templating.py (output up-to-date)
not copying build\lib\roundup\cgi\zLOG.py (output up-to-date)
not copying build\lib\roundup\cgi\ZTUtils\Batch.py (output up-to-date)
not copying build\lib\roundup\cgi\ZTUtils\Iterator.py (output up-to-date)
not copying build\lib\roundup\cgi\ZTUtils\__init__.py (output up-to-date)
not copying build\lib\roundup\cgi\__init__.py (output up-to-date)
not copying build\lib\roundup\date.py (output up-to-date)
not copying build\lib\roundup\hyperdb.py (output up-to-date)
not copying build\lib\roundup\i18n.py (output up-to-date)
not copying build\lib\roundup\indexer.py (output up-to-date)
not copying build\lib\roundup\init.py (output up-to-date)
not copying build\lib\roundup\install_util.py (output up-to-date)
not copying build\lib\roundup\instance.py (output up-to-date)
not copying build\lib\roundup\mailgw.py (output up-to-date)
not copying build\lib\roundup\password.py (output up-to-date)
not copying build\lib\roundup\rfc2822.py (output up-to-date)
not copying build\lib\roundup\roundupdb.py (output up-to-date)
not copying build\lib\roundup\scripts\roundup_admin.py (output up-to-date)
not copying build\lib\roundup\scripts\roundup_mailgw.py (output up-to-date)
not copying build\lib\roundup\scripts\roundup_server.py (output up-to-date)
not copying build\lib\roundup\scripts\__init__.py (output up-to-date)
not copying build\lib\roundup\security.py (output up-to-date)
not copying build\lib\roundup\token.py (output up-to-date)
not copying build\lib\roundup\version_check.py (output up-to-date)
not copying build\lib\roundup\__init__.py (output up-to-date)
skipping byte-compilation of C:\Python22\Lib\site-packages\roundup\admin.py to admin.pyc
skipping byte-compilation of C:\Python22\Lib\site-packages\roundup\backends\back_anydbm.py to 
back_anydbm.pyc
skipping byte-compilation of C:\Python22\Lib\site-packages\roundup\backends\back_bsddb.py to back_bsddb.pyc
skipping byte-compilation of C:\Python22\Lib\site-packages\roundup\backends\back_bsddb3.py to 
back_bsddb3.pyc
skipping byte-compilation of C:\Python22\Lib\site-packages\roundup\backends\back_metakit.py to 
back_metakit.pyc
skipping byte-compilation of C:\Python22\Lib\site-packages\roundup\backends\back_mysql.py to back_mysql.pyc
skipping byte-compilation of C:\Python22\Lib\site-packages\roundup\backends\back_sqlite.py to back_sqlite.pyc
skipping byte-compilation of C:\Python22\Lib\site-packages\roundup\backends\blobfiles.py to blobfiles.pyc
skipping byte-compilation of C:\Python22\Lib\site-packages\roundup\backends\locking.py to locking.pyc
skipping byte-compilation of C:\Python22\Lib\site-packages\roundup\backends\portalocker.py to portalocker.pyc
skipping byte-compilation of C:\Python22\Lib\site-packages\roundup\backends\rdbms_common.py to 
rdbms_common.pyc
skipping byte-compilation of C:\Python22\Lib\site-packages\roundup\backends\sessions.py to sessions.pyc
skipping byte-compilation of C:\Python22\Lib\site-packages\roundup\backends\__init__.py to __init__.pyc
skipping byte-compilation of C:\Python22\Lib\site-packages\roundup\cgi\cgitb.py to cgitb.pyc
skipping byte-compilation of C:\Python22\Lib\site-packages\roundup\cgi\client.py to client.pyc
skipping byte-compilation of C:\Python22\Lib\site-packages\roundup\cgi\MultiMapping.py to MultiMapping.pyc
skipping byte-compilation of C:\Python22\Lib\site-packages\roundup\cgi\PageTemplates\ComputedAttribute.py to 
ComputedAtt
ribute.pyc
skipping byte-compilation of C:\Python22\Lib\site-packages\roundup\cgi\PageTemplates\Expressions.py to 
Expressions.pyc
skipping byte-compilation of C:\Python22\Lib\site-packages\roundup\cgi\PageTemplates\MultiMapping.py to 
MultiMapping.pyc

skipping byte-compilation of C:\Python22\Lib\site-packages\roundup\cgi\PageTemplates\PageTemplate.py to 
PageTemplate.pyc

skipping byte-compilation of C:\Python22\Lib\site-packages\roundup\cgi\PageTemplates\PathIterator.py to 
PathIterator.pyc

skipping byte-compilation of C:\Python22\Lib\site-packages\roundup\cgi\PageTemplates\PythonExpr.py to 
PythonExpr.pyc
skipping byte-compilation of C:\Python22\Lib\site-packages\roundup\cgi\PageTemplates\TALES.py to TALES.pyc
skipping byte-compilation of C:\Python22\Lib\site-packages\roundup\cgi\PageTemplates\__init__.py to 
__init__.pyc
skipping byte-compilation of C:\Python22\Lib\site-packages\roundup\cgi\TAL\HTMLParser.py to HTMLParser.pyc
skipping byte-compilation of C:\Python22\Lib\site-packages\roundup\cgi\TAL\HTMLTALParser.py to 
HTMLTALParser.pyc
skipping byte-compilation of C:\Python22\Lib\site-packages\roundup\cgi\TAL\markupbase.py to markupbase.pyc
skipping byte-compilation of C:\Python22\Lib\site-packages\roundup\cgi\TAL\TALDefs.py to TALDefs.pyc
skipping byte-compilation of C:\Python22\Lib\site-packages\roundup\cgi\TAL\TALGenerator.py to 
TALGenerator.pyc
skipping byte-compilation of C:\Python22\Lib\site-packages\roundup\cgi\TAL\TALInterpreter.py to 
TALInterpreter.pyc
skipping byte-compilation of C:\Python22\Lib\site-packages\roundup\cgi\TAL\TALParser.py to TALParser.pyc
skipping byte-compilation of C:\Python22\Lib\site-packages\roundup\cgi\TAL\XMLParser.py to XMLParser.pyc
skipping byte-compilation of C:\Python22\Lib\site-packages\roundup\cgi\TAL\__init__.py to __init__.pyc
skipping byte-compilation of C:\Python22\Lib\site-packages\roundup\cgi\templating.py to templating.pyc
skipping byte-compilation of C:\Python22\Lib\site-packages\roundup\cgi\zLOG.py to zLOG.pyc
skipping byte-compilation of C:\Python22\Lib\site-packages\roundup\cgi\ZTUtils\Batch.py to Batch.pyc
skipping byte-compilation of C:\Python22\Lib\site-packages\roundup\cgi\ZTUtils\Iterator.py to Iterator.pyc
skipping byte-compilation of C:\Python22\Lib\site-packages\roundup\cgi\ZTUtils\__init__.py to __init__.pyc
skipping byte-compilation of C:\Python22\Lib\site-packages\roundup\cgi\__init__.py to __init__.pyc
skipping byte-compilation of C:\Python22\Lib\site-packages\roundup\date.py to date.pyc
skipping byte-compilation of C:\Python22\Lib\site-packages\roundup\hyperdb.py to hyperdb.pyc
skipping byte-compilation of C:\Python22\Lib\site-packages\roundup\i18n.py to i18n.pyc
skipping byte-compilation of C:\Python22\Lib\site-packages\roundup\indexer.py to indexer.pyc
skipping byte-compilation of C:\Python22\Lib\site-packages\roundup\init.py to init.pyc
skipping byte-compilation of C:\Python22\Lib\site-packages\roundup\install_util.py to install_util.pyc
skipping byte-compilation of C:\Python22\Lib\site-packages\roundup\instance.py to instance.pyc
skipping byte-compilation of C:\Python22\Lib\site-packages\roundup\mailgw.py to mailgw.pyc
skipping byte-compilation of C:\Python22\Lib\site-packages\roundup\password.py to password.pyc
skipping byte-compilation of C:\Python22\Lib\site-packages\roundup\rfc2822.py to rfc2822.pyc
skipping byte-compilation of C:\Python22\Lib\site-packages\roundup\roundupdb.py to roundupdb.pyc
skipping byte-compilation of C:\Python22\Lib\site-packages\roundup\scripts\roundup_admin.py to 
roundup_admin.pyc
skipping byte-compilation of C:\Python22\Lib\site-packages\roundup\scripts\roundup_mailgw.py to 
roundup_mailgw.pyc
skipping byte-compilation of C:\Python22\Lib\site-packages\roundup\scripts\roundup_server.py to 
roundup_server.pyc
skipping byte-compilation of C:\Python22\Lib\site-packages\roundup\scripts\__init__.py to __init__.pyc
skipping byte-compilation of C:\Python22\Lib\site-packages\roundup\security.py to security.pyc
skipping byte-compilation of C:\Python22\Lib\site-packages\roundup\token.py to token.pyc
skipping byte-compilation of C:\Python22\Lib\site-packages\roundup\version_check.py to version_check.pyc
skipping byte-compilation of C:\Python22\Lib\site-packages\roundup\__init__.py to __init__.pyc
running install_scripts
copying build\scripts-2.2\roundup-admin.bat -> C:\Python22\Scripts
copying build\scripts-2.2\roundup-mailgw.bat -> C:\Python22\Scripts
copying build\scripts-2.2\roundup-server.bat -> C:\Python22\Scripts
running install_data
not copying cgi-bin\roundup.cgi (output up-to-date)
not copying templates\minimal\.\config.py (output up-to-date)
not copying templates\minimal\.\dbinit.py (output up-to-date)
not copying templates\minimal\.\interfaces.py (output up-to-date)
not copying templates\minimal\.\TEMPLATE-INFO.txt (output up-to-date)
not copying templates\minimal\.\__init__.py (output up-to-date)
not copying templates\minimal\detectors\__init__.py (output up-to-date)
not copying templates\minimal\html\home.classlist.html (output up-to-date)
not copying templates\minimal\html\home.html (output up-to-date)
not copying templates\minimal\html\page.html (output up-to-date)
not copying templates\minimal\html\style.css (output up-to-date)
not copying templates\minimal\html\user.index.html (output up-to-date)
not copying templates\minimal\html\user.item.html (output up-to-date)
not copying templates\minimal\html\user.register.html (output up-to-date)
not copying templates\minimal\html\_generic.help.html (output up-to-date)
not copying templates\minimal\html\_generic.index.html (output up-to-date)
not copying templates\minimal\html\_generic.item.html (output up-to-date)
not copying templates\classic\.\config.py (output up-to-date)
not copying templates\classic\.\dbinit.py (output up-to-date)
not copying templates\classic\.\htmlbase.py (output up-to-date)
not copying templates\classic\.\interfaces.py (output up-to-date)
not copying templates\classic\.\TEMPLATE-INFO.txt (output up-to-date)
not copying templates\classic\.\__init__.py (output up-to-date)
not copying templates\classic\detectors\messagesummary.py (output up-to-date)
not copying templates\classic\detectors\nosyreaction.py (output up-to-date)
not copying templates\classic\detectors\statusauditor.py (output up-to-date)
not copying templates\classic\detectors\__init__.py (output up-to-date)
not copying templates\classic\html\file.index.html (output up-to-date)
not copying templates\classic\html\file.item.html (output up-to-date)
not copying templates\classic\html\help_controls.js (output up-to-date)
not copying templates\classic\html\home.classlist.html (output up-to-date)
not copying templates\classic\html\home.html (output up-to-date)
not copying templates\classic\html\issue.index.html (output up-to-date)
not copying templates\classic\html\issue.index.html.orig (output up-to-date)
not copying templates\classic\html\issue.index.html.rej (output up-to-date)
not copying templates\classic\html\issue.item.html (output up-to-date)
not copying templates\classic\html\issue.search.html (output up-to-date)
not copying templates\classic\html\keyword.item.html (output up-to-date)
not copying templates\classic\html\msg.index.html (output up-to-date)
not copying templates\classic\html\msg.item.html (output up-to-date)
not copying templates\classic\html\page.html (output up-to-date)
not copying templates\classic\html\query.item.html (output up-to-date)
not copying templates\classic\html\style.css (output up-to-date)
not copying templates\classic\html\style.css.orig (output up-to-date)
not copying templates\classic\html\style.css.rej (output up-to-date)
not copying templates\classic\html\user.forgotten.html (output up-to-date)
not copying templates\classic\html\user.index.html (output up-to-date)
not copying templates\classic\html\user.item.html (output up-to-date)
not copying templates\classic\html\user.register.html (output up-to-date)
not copying templates\classic\html\user.rego_progress.html (output up-to-date)
not copying templates\classic\html\_generic.help.html (output up-to-date)
not copying templates\classic\html\_generic.index.html (output up-to-date)
not copying templates\classic\html\_generic.item.html (output up-to-date)

D:\$PROJECTS\ROUNDUP-issue-tracker\roundup-0.6.0b1>
msg842 Author: [hidden] (richard) Date: 2003-05-27 22:43
Logged In: YES 
user_id=6405

The template files are (correctly) put into 
c:\python22\share\roundup\templates on my win98 machine. This directory 
should be automatically found.

Why are you running the roundup scripts with that long invocation? They should 
be available on the command line as "roundup-admin" etc. I haven't got the 
win98 machine up and running at present, but I know that the scripts are 
installed in c:\python22\scripts - and I'd _assume_ that if distutils put them in 
there that the scripts directory would be put in the search path somehow...

What happens if you run "c:\python22\scripts\roundup-admin help initopts" - 
do the templates get listed then?
msg843 Author: [hidden] (jvickroy) Date: 2003-05-28 20:18
Logged In: YES 
user_id=17213

The template files are (also) in c:\python22\share\roundup\templates on my machine.

I do not know what is meant by running scripts with "that long invocation"?  Here is an example from my previous 
posting:

D:\$PROJECTS\ROUNDUP-issue-tracker\roundup-0.6.0b1\roundup\scripts>roundup_admin.py help initopts

Is the current directory (D:\$PROJECTS\ROUNDUP-issue-tracker\roundup-0.6.0b1\roundup\scripts), preceeding 
the DOS prompt (>), the point of confusion here?  The above script is being run from that directory as:

     roundup_admin.py help initopts

From my previous posting, here is the output from the above script:

          D:\$PROJECTS\ROUNDUP-issue-tracker\roundup-0.6.0b1\roundup\scripts>roundup_admin.py help initopts
          Templates:
                Back ends: anydbm, mysql, sqlite, bsddb

msg844 Author: [hidden] (richard) Date: 2003-05-29 00:42
Logged In: YES 
user_id=6405

My point was that you should be able to just run:

 d:\> roundup-admin help initopts

assuming that the "d:\python22\scripts" directory is in your search path. It 
would presumably be added by the same mechanism that adds "d:\python22" 
to your path (Richard shrugs at how this is done on Windows).

Regardless, I've figured out what the problem is - it stems from the code that 
tries to determine the install prefix used to install the roundup package. The 
paths are slightly different on Windows to Un*x. Please try the attached 
admin.py to replace the one in your python lib dir (c:\python22\lib\site-
packages\roundup\admin.py)

I've also checked this new admin.py version into the CVS.
msg845 Author: [hidden] (richard) Date: 2003-05-29 00:43
Logged In: YES 
user_id=6405

Er, I meant c:\python22 in those examples...
msg846 Author: [hidden] (jvickroy) Date: 2003-05-30 14:37
Logged In: YES 
user_id=17213

This fix works.  Thanks for your quick response!

Regarding your point that one should be able to just run:

    roundup-admin help initopts

from any directory, the roundup setup.py script does not place any py files in the "\python22\scripts" directory so 
this does not work.

msg847 Author: [hidden] (richard) Date: 2003-06-02 01:10
Logged In: YES 
user_id=6405

I'm glad the template issue is fixed - but I'm concerned about the script issue!

distutils *should* be installing the scripts in a place where they will be able to 
be run with little or no fuss by the user. Do you know where they are being 
installed, if not in the "c:\python22\scripts" directory?
msg848 Author: [hidden] (jvickroy) Date: 2003-06-02 17:37
Logged In: YES 
user_id=17213

Sometimes I can be as thick as mud -- especially when I try 
to do more than one thing at a time!

The ".bat" files ARE installed in \pythonxx\Scripts.  For some 
reason, I thought you were asking about the similarly-
named ".py" files.  That directory is not automatically part of 
the Windows search path, but its easy enough to manually 
add it.

Sorry for the wasted time on your part.
msg849 Author: [hidden] (richard) Date: 2003-06-02 21:59
Logged In: YES 
user_id=6405

I should include a note that the dir should be added to the path. Any 
suggestions on how this should be worded? Something like:

"Windows users should add the directory c:\python22\scripts to their search 
path. This is done by editing the XXXX file and ..."

?
msg850 Author: [hidden] (jvickroy) Date: 2003-06-03 14:35
Logged In: YES 
user_id=17213

The proper way is to update the "Path" environmental variable in the MSW Registry via a dialog box.  

For Windows 2000 (the only system I have access to at the moment), this dialog is accessed as follows:

(1) Press the "Start" button.
(2) Choose "Settings"
(3) Choose "Control Panel"
(4) Choose "System"
(5) Choose "Advanced"
(6) Choose "Environmental Variables"
(7) Add: "*\Scripts" to the "Path" environmental variable.

... where * in (7) is the root directory (e.g., C:\Python22\Scripts) of your Python installation.

Now, isn't that a thing of beauty? <frown>

I think that in MSW XP, (2) above is not needed as "Control Panel" is directly accessible from "Start".

I'm less certain about MSW 98.  I think support for updating the registry is even less intuitive there so one can 
directly edit an "autoexec.bat" file.

I just love Microsoft.

Anyway ... I will try to figure out how this can be automated; some installers clearly do this.
msg851 Author: [hidden] (richard) Date: 2003-06-09 04:07
Logged In: YES 
user_id=6405

Thanks, marking this as done. 
 
History
Date User Action Args
2003-05-21 14:46:34jvickroycreate