#1648 closed defect (fixed)
checkwiki.py, checkwiki.pyc, checkwiki.pyo on Windows install
Reported by: | Owned by: | Christopher Lenz | |
---|---|---|---|
Priority: | normal | Milestone: | 0.8.3 |
Component: | admin/console | Version: | 0.8.1 |
Severity: | minor | Keywords: | wiki install |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
Windows installer installs checkwiki.py, checkwiki.pyc, checkwiki.pyo files add wiki load eventualy fails when trying to load/import checkwiki.pyc:
c:/python23/share/trac/wiki-default\CamelCase => CamelCase c:/python23/share/trac/wiki-default\checkwiki.py => checkwiki.py c:/python23/share/trac/wiki-default\checkwiki.pyc => checkwiki.pyc Wiki load failed: execute() argument 1 must be string without null bytes, not str
Attachments (0)
Change History (8)
comment:1 by , 20 years ago
Severity: | normal → minor |
---|
comment:2 by , 20 years ago
Keywords: | wiki install added |
---|
I tried the 0.8.2 Windows installer on Windows 2000 which crashes, then I tried running setup.py install manually from the command line after downloading the .zip version. Trac installed nicely and I am getting to the python trac-admin path/to/repo.db step. When I enter the 3 pieces of data (Project name, path to repos, default template location (just hit enter), the script starts working and gets to the wiki load step and fails as the other user reported above.
Are you saying above that removing those files from wiki-default will fix the issue?
comment:3 by , 20 years ago
I answered my own question. Removing those files allows the rest of the script to run. Thanks for the pointer.
comment:4 by , 20 years ago
- To answer mgood's question: I used only 0.8.2 windows installer and haven't tried the setup.py. Removing checkwiki.* files fixes the problem.
- Checked out trunk (rev 1777) and used setup.py without any problems: trac-admin worked like a charm.
comment:5 by , 20 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
My fault, I forgot to remove the checkwiki.py
script before building the installer as described in TracDev/ReleaseChecklist.
comment:6 by , 20 years ago
Milestone: | → 0.8.3 |
---|
comment:7 by , 20 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Fixed in the windows package for 0.8.3.
Did you use the included setup.py script, or did you happen to copy files into the wiki-default directory by hand? The setup script checks to only copy files in that directory that start with an uppercase letter, so the
checkwiki.*
files should not have been copied to that directory.