On 15 February 2011 09:42, Daniele Varrazzo <[email protected]> wrote:
> Hello,
>
> Jason Erickson has addressed the problem with python 2.6/2.7 + modwsgi
> + psycopg2. His fixes are available in psycopg 2.4 beta2.
>
> He has made available the packages at <http://www.stickpeople.com/
> projects/python/win-psycopg/devel/>. It would be great if you could
> test them and report success/failure with the problematic combination.
>
> Thanks,
>
> -- Daniele


To clarify for those not following this issue, this is a Windows
specific issue and so if you are using a UNIX type system you can
ignore it.

As to the problem being solved, this is the problem whereby although
Python command line links certain Windows DLLs, the Apache executable
doesn't. This means that certain DLL functionality required by Windows
pyscopg2 module is not present when run under Apache/mod_wsgi and
pyscopg2 fails to load/run.

I am not sure of the change made in pyscopg2 to address the issue, but
could be pyscopg2 itself having a dependency on the DLL so it is
loaded, or using alternate function APIs that don't require the DLL in
the first place.

Thanks for Daniele for pursuing this and keeping us up to date.

Graham

-- 
You received this message because you are subscribed to the Google Groups 
"modwsgi" 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/modwsgi?hl=en.

Reply via email to