-bash-3.2$ trac-admin trac initenv
Creating a new Trac environment at /usr/home/alexus/alexus/wirepass.com/trac
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]> wirepass
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 type of version control system,
By default, it will be svn.
If you don't want to use Trac with version control integration,
choose the default here and don't specify a repository directory.
in the next question.
Repository type [svn]>
Please specify the absolute path to the version control
repository, or leave it blank to use Trac without a repository.
You can also set the repository location later.
Path to repository [/path/to/repos]> /usr/home/alexus/alexus/wirepass.com/svn
Please enter location of Trac page templates.
Default is the location of the site-wide templates installed with Trac.
Templates directory [/usr/local/share/trac/templates]>
Creating and Initializing Project
Failed to create environment. database parameter must be string or
APSW Connection object
Traceback (most recent call last):
File "/usr/local/lib/python2.5/site-packages/trac/scripts/admin.py",
line 613, in do_initenv
options=options)
File "/usr/local/lib/python2.5/site-packages/trac/env.py", line 145,
in __init__
self.create(options)
File "/usr/local/lib/python2.5/site-packages/trac/env.py", line 250, in create
DatabaseManager(self).init_db()
File "/usr/local/lib/python2.5/site-packages/trac/db/api.py", line
70, in init_db
connector.init_db(**args)
File "/usr/local/lib/python2.5/site-packages/trac/db/sqlite_backend.py",
line 121, in init_db
cnx = sqlite.connect(path, timeout=int(params.get('timeout', 10000)))
ValueError: database parameter must be string or APSW Connection object
-bash-3.2$
--
http://alexus.org/
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac
Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---