I am trying to install trac in Windows using PostgreSQL and SVN.
Python 2.5 is installed, as is PostgreSQL 8.3. When I first ran C:
\Python25\Scripts\trac-admin C:\trac initenv, it failed on "pyPgSQL".
I performed an install of "psycopg2".
I ran the initenv again but it saw that the c:trac was all ready
initialized and would not progress. So I renamed it to C:tracOLD and
ran initenv again where the following was produced:
Creating and Initializing Project
Initenv for 'C:\trac' failed.
Failed to create environment.
FATAL: database "trac" does not exist
Traceback (most recent call last):
File "c:\python25\lib\site-packages\Trac-0.11.4rc1-py2.5-win32.egg
\trac\admin\
console.py", line 578, in do_initenv
options=options)
File "c:\python25\lib\site-packages\Trac-0.11.4rc1-py2.5-win32.egg
\trac\env.py
", line 204, in __init__
self.create(options)
File "c:\python25\lib\site-packages\Trac-0.11.4rc1-py2.5-win32.egg
\trac\env.py
", line 327, in create
DatabaseManager(self).init_db()
File "c:\python25\lib\site-packages\Trac-0.11.4rc1-py2.5-win32.egg
\trac\db\api
.py", line 70, in init_db
connector.init_db(**args)
File "c:\python25\lib\site-packages\Trac-0.11.4rc1-py2.5-win32.egg
\trac\db\pos
tgres_backend.py", line 65, in init_db
cnx = self.get_connection(path, user, password, host, port,
params)
File "c:\python25\lib\site-packages\Trac-0.11.4rc1-py2.5-win32.egg
\trac\db\pos
tgres_backend.py", line 46, in get_connection
cnx = PostgreSQLConnection(path, user, password, host, port,
params)
File "c:\python25\lib\site-packages\Trac-0.11.4rc1-py2.5-win32.egg
\trac\db\pos
tgres_backend.py", line 134, in __init__
cnx = psycopg.connect(' '.join(dsn))
OperationalError: FATAL: database "trac" does not exist
I have no idea what database "trac" is. I tried naming a PostgreSQL
server "trac" but that didn't help. What should I be doing to get
this working?
Ray
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---