Opened 18 years ago
Last modified 18 years ago
#3079 closed task
Trac-admin create fail — at Version 4
Reported by: | Owned by: | daniel | |
---|---|---|---|
Priority: | lowest | Milestone: | |
Component: | admin/console | Version: | devel |
Severity: | normal | Keywords: | trad-admin |
Cc: | Christian Boos, daniel | Branch: | |
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description (last modified by )
When I install webadmin ok. Then use trac-admin to creat a new enviroment then happened fail python2.3.5 sqlite3.3.5 pysqlite2.2.2 webadmin0.1.2dev
traceback C:\Python23\Scripts>python.exe trac-admin c:\svn\trac.db Traceback (most recent call last): File "trac-admin", line 21, in ? from trac.scripts.admin import run File "c:\python23\lib\site-packages\TracWebAdmin-0.1.2dev_r0-py2.3.egg\trac\sc ripts\admin.py", line 34, in ? from trac.ticket.model import * File "c:\python23\lib\site-packages\TracWebAdmin-0.1.2dev_r0-py2.3.egg\trac\ti cket\__init__.py", line 1, in ? from trac.ticket.api import * File "c:\python23\lib\site-packages\TracWebAdmin-0.1.2dev_r0-py2.3.egg\trac\ti cket\api.py", line 21, in ? from trac.Search import ISearchSource, search_to_sql, shorten_result File "c:\python23\lib\site-packages\TracWebAdmin-0.1.2dev_r0-py2.3.egg\trac\Se arch.py", line 25, in ? from trac.web.chrome import add_link, add_stylesheet, INavigationContributor File "c:\python23\lib\site-packages\TracWebAdmin-0.1.2dev_r0-py2.3.egg\trac\we b\chrome.py", line 25, in ? from trac.web.api import IRequestHandler, HTTPNotFound ImportError: cannot import name HTTPNotFound
Change History (4)
comment:1 by , 18 years ago
Priority: | high → highest |
---|
comment:2 by , 18 years ago
Cc: | added |
---|
comment:3 by , 18 years ago
Cc: | added |
---|---|
Priority: | highest → lowest |
Resolution: | → fixed |
Status: | new → closed |
Type: | defect → task |
I have already finish this problem when reinstall all application Just some program must follow setup step by step to make sure.
My Trac site pm 24:00 will shutdown my pc.
comment:4 by , 18 years ago
Description: | modified (diff) |
---|---|
Resolution: | fixed |
Status: | closed → reopened |
Only used fixed when the ticket required a change in Trac's code.
Note:
See TracTickets
for help on using tickets.
I have solve before question But I have got a new question below the command below
C:\Python23\Scripts>python trac-admin c:\svn\trac.db2 Welcome to trac-admin 0.10dev Interactive Trac administration console. Copyright © 2003-2006 Edgewall Software
Type: '?' or 'help' for help on commands.
Trac [c:\svn\trac.db2]> initenv Creating a new Trac environment at c:\svn\trac.db2
Trac will first ask a few questions about your environment in order to initalize and prepare the project database.
Project Name [My Project]> Project
Database connection string db/trac.db>
Repository type [svn]>
Path to repository path/to/repos> c:\svn\trac
Templates directory [C:\Python23\share\trac\templates]>
Creating and Initializing Project Failed to create environment. [Errno 2] No such file or directory: 'c:
svn
tra c.db2' Traceback (most recent call last):
ripts\admin.py", line 596, in do_initenv
v.py", line 86, in init
v.py", line 172, in create
OSError: [Errno 2] No such file or directory: 'c:
svn
trac.db2' Failed to initialize environment. 1 Traceback (most recent call last):
ripts\admin.py", line 600, in do_initenv
SystemExit: 1 Trac [c:\svn\trac.db2]>