#2742: trac-admin /srv/trac/whatever initenv fails
-------------------------------+--------------------------------------------
 Reporter:  [EMAIL PROTECTED]  |       Owner:  daniel
     Type:  defect             |      Status:  new   
 Priority:  normal             |   Milestone:        
Component:  trac-admin         |     Version:  0.9.3 
 Severity:  normal             |    Keywords:        
-------------------------------+--------------------------------------------
 # trac-admin /srv/trac/test initenv
 Creating a new Trac environment at /srv/trac/test

 Trac will first ask a few questions about your environment
 in order to initalize and prepare the project database.

  Please enter the name of your project.
  This name will be used in page titles and descriptions.

 Project Name [My Project]> Test - testing trac

  Please specify the connection string for the database to use.
  By default, a local SQLite database is created in the environment
  directory. It is also possible to use an already existing
  PostgreSQL database (check the Trac documentation for the exact
  connection string syntax).

 Database connection string [sqlite:db/trac.db]>

  Please specify the absolute path to the project Subversion repository.
  Repository must be local, and trac-admin requires read+write
  permission to initialize the Trac database.

 Path to repository [/var/svn/test]> /srv/svn/test

  Please enter location of Trac page templates.
  Default is the location of the site-wide templates installed with Trac.

 Templates directory [/usr/share/trac/templates]>

 Creating and Initializing Project
 Failed to create environment. You can only execute one statement at a
 time.
 Traceback (most recent call last):
   File "/usr/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/lib/python2.4/site-packages/trac/env.py", line 79, in
 __init__
     self.create(db_str)
   File "/usr/lib/python2.4/site-packages/trac/env.py", line 197, in create
     db.init_db(self.path, db_str)
   File "/usr/lib/python2.4/site-packages/trac/db.py", line 442, in init_db
     cls.init_db(**args)
   File "/usr/lib/python2.4/site-packages/trac/db.py", line 326, in init_db
     cursor.execute(stmt)
 Warning: You can only execute one statement at a time.
 Failed to initialize environment. 1
 Traceback (most recent call last):
   File "/usr/lib/python2.4/site-packages/trac/scripts/admin.py", line 594,
 in do_initenv
     self.env_create(db_str)
   File "/usr/lib/python2.4/site-packages/trac/scripts/admin.py", line 144,
 in env_create
     sys.exit(1)
 SystemExit: 1



 trac 0.9.3, used with Python 2.4.2, sqlite 3.3.3, pysqlite 2.0.5,
 subversion 1.3.0

-- 
Ticket URL: <http://projects.edgewall.com/trac/ticket/2742>
The Trac Project <http://trac.edgewall.com/>
_______________________________________________
Trac-Tickets mailing list
[email protected]
http://lists.edgewall.com/mailman/listinfo/trac-tickets

Reply via email to