Re: Psycopg2-2.0.6 freezes when imported under FreeBSD-7.0

"James Henstridge" <[email protected]>
Newsgroups gmane.comp.python.db.psycopg.devel
Message-ID <[email protected]>
On 11/03/2008, Dragos Petre <[email protected]> wrote:
> Hi!
>
> Complete newbie question here - I would appreciate your help a lot!
>
> I have installed psycopg2-2.0.6 under FreeBSD-7.0 (both under python-2.4 and
> python-2.5 - results are similar). When I try to import psycopg2 my python
> prompt freezes (if i try it from a module the result is the same). At the
> bottom of the message is the output when running it in python's verbose
> mode. The interactive shell freezes at the last line so I have to kill it.

There was a recent bug report about getting psycopg2 to compile with
FreeBSD 7 here:
    http://www.initd.org/tracker/psycopg/ticket/223

Does applying the patch from that report help?

If not, could you try building psycopg2 from Subversion and seeing if
that helps (with the patch applied).  Assuming you have subversion
installed, you should be able to download it with:

svn checkout http://initd.org/svn/psycopg/psycopg2/branches/2_0_x psycopg2

If the patch fixes the problem, I'll commit it.

James.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.