[Trac-tickets] [The Trac Project] #2892: Error while initialize
Trac environment
The Trac Project
noreply at edgewall.com
Sat Mar 18 07:29:58 CST 2006
#2892: Error while initialize Trac environment
--------------------------------------------+-------------------------------
Reporter: sdecleire at cariboo-networks.com | Owner: daniel
Type: defect | Status: new
Priority: high | Milestone:
Component: trac-admin | Version: 0.9.3
Severity: blocker | Keywords:
--------------------------------------------+-------------------------------
I get the error below when I init a new trac environment with the trac-
admin initenv command :
{{{
Creating and Initializing Project
Failed to create environment. need more than 1 value to unpack
Traceback (most recent call last):
File "/usr/local/lib/python2.4/site-packages/trac/scripts/admin.py",
line 139, in env_create
self.__env = Environment(self.envname, create=True, db_str=db_str)
File "/usr/local/lib/python2.4/site-packages/trac/env.py", line 79, in
__init__
self.create(db_str)
File "/usr/local/lib/python2.4/site-packages/trac/env.py", line 197, in
create
db.init_db(self.path, db_str)
File "/usr/local/lib/python2.4/site-packages/trac/db.py", line 441, in
init_db
cls, args = _get_cnx_class(env_path, db_str)
File "/usr/local/lib/python2.4/site-packages/trac/db.py", line 449, in
_get_cnx_class
scheme, args = _parse_db_str(db_str)
File "/usr/local/lib/python2.4/site-packages/trac/db.py", line 462, in
_parse_db_str
scheme, rest = db_str.split(':', 1)
ValueError: need more than 1 value to unpack
Failed to initialize environment. 1
Traceback (most recent call last):
File "/usr/local/lib/python2.4/site-packages/trac/scripts/admin.py",
line 594, in do_initenv
self.env_create(db_str)
File "/usr/local/lib/python2.4/site-packages/trac/scripts/admin.py",
line 144, in env_create
sys.exit(1)
SystemExit: 1
}}}
--
Ticket URL: <http://projects.edgewall.com/trac/ticket/2892>
The Trac Project <http://trac.edgewall.com/>
More information about the Trac-Tickets
mailing list