Ticket #5877 (closed defect: wontfix)
trac-admin initenv fails: OSError: [Errno 2] No such file or directory
| Reported by: | asloan7@… | Owned by: | cmlenz |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | admin/console | Version: | 0.10.4 |
| Severity: | normal | Keywords: | |
| Cc: |
Description (last modified by eblot) (diff)
On Ubuntu 7.04 sudo apt-get install python (2.5) sudo easy_install trac (0.10.4) and all the other dependencies
doing this: sudo trac-admin /var/www/trachome initenv Project name: testqa sqlite:db/trac.db (skip) SVN templates dir: /usr/lib/python2.5/site-packages/trac/share/trac/templates
ERROR:
Creating and Initializing Project
Installing default wiki pages
Failed to initialize environment. [Errno 2] No such file or directory: 'C:\\Programme\\Python\\2.3\\share\\trac\\wiki-default'
Traceback (most recent call last):
File "/usr/lib/python2.5/site-packages/trac-0.10.4-py2.5.egg/trac/scripts/admin.py", line 623, in do_initenv
self._do_wiki_load(default_dir('wiki'), cursor)
File "/usr/lib/python2.5/site-packages/trac-0.10.4-py2.5.egg/trac/scripts/admin.py", line 832, in do_wiki_load
for page in os.listdir(dir):
OSError: [Errno 2] No such file or directory: 'C:\\Programme\\Python\\2.3\\share\\trac\\wiki-default'
This is strange, because I am not on a Windows OS, so where is this default Windows path coming from??? So can't install trac
Attachments
Change History
Note: See
TracTickets for help on using
tickets.


