Re: Python UCS4 error

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: c k <shreeseva(dot)learning(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org, pgsql-admin <pgsql-admin(at)postgresql(dot)org>
Subject: Re: Python UCS4 error
Date: 2011-07-05 18:54:50
Message-ID: 22560.1309892090@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin pgsql-general

c k <shreeseva(dot)learning(at)gmail(dot)com> writes:
> I updated my development machine with Fedora 15 and as there is python 2.7.
> I have also migrated my few postgresql databases. While creating plpython in
> one database, I got the following error undefined symbol
> PyUnicodeUCS4_AsEncodedString.
> Then I recompiled source code and got a plpython.so compiled for python 2.7
> (default python comes with fedora15) and replaced original with this one.
> Restarted postgresql and still same error occurs.

plpython seems to work for me on Fedora 15, so you're going to need to
be more specific about how to trigger this error.

regards, tom lane

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Ken Caruso 2011-07-05 21:53:04 pg_lesslog w/Postgres 9.0.X
Previous Message c k 2011-07-05 17:21:28 Python UCS4 error

Browse pgsql-general by date

  From Date Subject
Next Message Susan Cassidy 2011-07-05 21:27:31 Re: Read MS-SQL data into Postgres via ODBC link?
Previous Message Daniel Farina 2011-07-05 18:30:33 Re: Finding latest record for a number of groups in an INSERT-only table