Re: Error with plpython

From: Craig Ringer <ringerc(at)ringerc(dot)id(dot)au>
To: Efraín Déctor <efraindector(at)motumweb(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Error with plpython
Date: 2012-07-11 03:43:56
Message-ID: 4FFCF67C.2050404@ringerc.id.au
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 07/11/2012 06:16 AM, Efraín Déctor wrote:
> However, once we installed it on our production server that function
> doesnt work, it keeps sending this message:
> ERROR: ImportError: cannot import name SSLError
> CONTEXT: Traceback (most recent call last):
> The strange thing is that our server are the same in everything so we
> don’t know why is failing in our production eviroment.

I'm guessing it isn't really the same.

You're probably missing a library that Python's SSL support requires,
missing some Python modules, or have a library that isn't compatible
with the one Python's SSL support was built against.

Since you've neglected to describe your client or server environments at
all, it's hard to say more.

--
Craig Ringer

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Craig Ringer 2012-07-11 03:47:46 Re: Sequence moves forward when failover is triggerred
Previous Message Josh Kupershmidt 2012-07-11 03:20:47 Re: Python + listen/notify