The ordinal 284 could not be located in the dynamic link library SSLEAY32.dll

156 views
Skip to first unread message

Gaz

unread,
Nov 17, 2008, 10:43:39 PM11/17/08
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

Jonas Borgström

unread,
Nov 18, 2008, 5:41:42 PM11/18/08
to trac-...@googlegroups.com
Gaz wrote:
>
>
> 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:
*snip*

> I thought pyPgSQL was separate to psycopg, does pyPgSQL need to be
> installed as well.

Trac prefers psycopg2 and only attempts to import pyPgSQL if it failed
to import psycopg2 for some reason.

Try typing "import psycopg2" manually into a python interpreter to see
if that works or gives any usable error message.

/ Jonas

Message has been deleted

Soul Boy

unread,
Nov 20, 2008, 3:46:20 AM11/20/08
to trac-...@googlegroups.com
Ok I solved the problem by using the binary installation from

http://stickpeople.com/projects/python/win-psycopg/#Version2

Not sure why it didnt work

Thanks

--- On Wed, 19/11/08, Gareth Pidgeon <gjpi...@gmail.com> wrote:
From: Gareth Pidgeon <gjpi...@gmail.com>
Subject: [Trac] Re: The ordinal 284 could not be located in the dynamic link
To: trac-...@googlegroups.com
Date: Wednesday, 19 November, 2008, 12:46 AM

2008/11/19 Jonas Borgström <jo...@edgewall.com>:
Yes that gave the same error. Will see whats wrong
 with the psycopg2
installation

Thanks

Reply all
Reply to author
Forward
0 new messages