Re: psycopg used in a ASP page fails

From: Barend Köbben <kobben(at)itc(dot)nl>
To: Daniele Varrazzo <daniele(dot)varrazzo(at)gmail(dot)com>
Cc: "psycopg(at)postgresql(dot)org" <psycopg(at)postgresql(dot)org>
Subject: Re: psycopg used in a ASP page fails
Date: 2011-02-16 12:12:07
Message-ID: C9817D5E.38B7%kobben@itc.nl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: psycopg

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 :-((

Yours,

--
Barend Köbben
ITC - University of Twente, Faculty of Geo-Information
Science and Earth Observation
PO Box 217, 7500AE Enschede (The Netherlands)

On 15-02-11 14:10, "Daniele Varrazzo" <daniele(dot)varrazzo(at)gmail(dot)com> wrote:

>2011/2/15 Daniele Varrazzo <daniele(dot)varrazzo(at)gmail(dot)com>:
>
>> I've also found this:
>>
>><http://stackoverflow.com/questions/4212240/importerror-cannot-import-nam
>>e-tz-psycopg2>.
>> Well, that sucks! But I think it may be your problem. Have you
>> installed psycopg using easy_install?
>
>Added a FAQ for this mess. A better way to fix the issue would be
>great, but I think it's an easy_install one.
>
>http://initd.org/psycopg/docs/faq.html#problems-compiling-and-deploying-ps
>ycopg2
>
>-- Daniele

Faculty of Geo-Information Science and Earth Observation (ITC)
University of Twente
Chamber of Commerce: 501305360000

E-mail disclaimer
The information in this e-mail, including any attachments, is intended for the addressee only. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or action in relation to the content of this information is strictly prohibited. If you have received this e-mail by mistake, please delete the message and any attachment and inform the sender by return e-mail. ITC accepts no liability for any error or omission in the message content or for damage of any kind that may arise as a result of e-mail transmission.

In response to

Responses

Browse psycopg by date

  From Date Subject
Next Message Daniele Varrazzo 2011-02-16 15:25:00 Re: psycopg used in a ASP page fails
Previous Message Jan Urbański 2011-02-15 22:13:17 Re: psycopg2 (async) socket timeout