Ticket #2533 (closed defect: invalid)
"Failed to create environment. No module name log" error - fix
| Reported by: | anaz | Owned by: | cboos |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | general | Version: | 0.9.3 |
| Severity: | normal | Keywords: | |
| Cc: |
Description (last modified by cboos) (diff)
Error when initialize project and enter the default template directory.
Creating and Initializing Project
'''Failed to create environment. No module named log'''
Traceback (most recent call last):
File "C:\Python23\lib\site-packages\trac\scripts\admin.py", line 139, in env_c
reate
self.__env = Environment(self.envname, create=True, db_str=db_str)
File "C:\Python23\lib\site-packages\trac\env.py", line 83, in __init__
self.setup_log()
File "C:\Python23\lib\site-packages\trac\env.py", line 228, in setup_log
from trac.log import logger_factory
'''ImportError: No module named log'''
'''Failed to initialize environment. 1'''
Traceback (most recent call last):
File "C:\Python23\lib\site-packages\trac\scripts\admin.py", line 594, in do_in
itenv
self.env_create(db_str)
File "C:\Python23\lib\site-packages\trac\scripts\admin.py", line 144, in env_c
reate
sys.exit(1)
SystemExit: 1
Attachments
Change History
Note: See
TracTickets for help on using
tickets.
