Re: psycopg used in a ASP page fails

From: Daniele Varrazzo <daniele(dot)varrazzo(at)gmail(dot)com>
To: Barend Köbben <kobben(at)itc(dot)nl>
Cc: "psycopg(at)postgresql(dot)org" <psycopg(at)postgresql(dot)org>
Subject: Re: psycopg used in a ASP page fails
Date: 2011-02-16 15:25:00
Message-ID: AANLkTi=1pdc59TEuz0_zaTHdnKKRWG2SXzYNxtm8AtmM@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: psycopg

2011/2/16 Barend Köbben <kobben(at)itc(dot)nl>:
> Hi Daniele,
>
>> Well, that sucks! But I think it may be your problem. Have
>> you installed psycopg using easy_install?
>
> No. It's a Win32 install on a Windows Server 2003 box with IIS 6.0 (hence
> the ASP). Your fix suggests that also ASP might have the problem that the
> ASP engine has no write permission on a path, the one you mention to be
> "PYTHON_EGG_INSTALL". Is there any way to find out where this (or its
> equivalent) would be on Windows? Can't find it in windows Environment
> variables and really don't know here else to look :-((

If you haven't used easy install, the above issue should not apply: it
seems only related to egg packages.

I can only suggest you to try the psycopg 2.4 beta2 installation
provided by Jason, where he has addressed dll compatibility problems.
I personally don't have recent experience in debugging dll problems on
windows.

Please report which version of psycopg and python you are using in
your message, thanks. It seems that things got more complex starting
from python 2.6. Consider the option of compiling psycopg with mingw
as explained in
<http://psycopg.lighthouseapp.com/projects/62710/tickets/20>.

-- Daniele

In response to

Responses

Browse psycopg by date

  From Date Subject
Next Message Jason Erickson 2011-02-16 20:37:02 Re: psycopg used in a ASP page fails
Previous Message Barend Köbben 2011-02-16 12:12:07 Re: psycopg used in a ASP page fails