Gaz
unread,Nov 17, 2008, 10:43:39 PM11/17/08Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Trac Users
Hi there I am trying to install trac using Postres.
I am using Python 2.4, trac 0.11.2.1, psycopg 2-2.0.8, Postgres 8.3
After installing everything, I tried to create a new environment using
the following connection string:
postgres://User:Password@localhost:5432/TracDB
I get an error pop up with :
The ordinal 284 could not be located in the dynamic link library
SSLEAY32.dll
When I hit ok on the pop up a message in the command prompt says:
Creating and Initializing Project
Initenv for 'c:\Repositories\Test' failed.
Failed to create environment.
No module named pyPgSQL
Traceback (most recent call last):
File "C:\Python25\Lib\site-packages\trac\admin\console.py", line
568, in do_initenv
options=options)
File "C:\Python25\Lib\site-packages\trac\env.py", line 195, in
__init__
self.create(options)
File "C:\Python25\Lib\site-packages\trac\env.py", line 318, in
create
DatabaseManager(self).init_db()
File "C:\Python25\Lib\site-packages\trac\db\api.py", line 70, in
init_db
connector.init_db(**args)
File "C:\Python25\Lib\site-packages\trac\db\postgres_backend.py",
line 65, in init_db
cnx = self.get_connection(path, user, password, host, port,
params)
File "C:\Python25\Lib\site-packages\trac\db\postgres_backend.py",
line 46, in get_connection
cnx = PostgreSQLConnection(path, user, password, host, port,
params)
File "C:\Python25\Lib\site-packages\trac\db\postgres_backend.py",
line 118, in __init__
from pyPgSQL import PgSQL
ImportError: No module named pyPgSQL
I thought pyPgSQL was separate to psycopg, does pyPgSQL need to be
installed as well.
Is there something I missed in the installation ?
Thanks