[PyKDE] undefined symbol in libsip on python 2.0
Smith, Dave
dave.smith at transcendata.com
Wed Jul 3 17:14:01 BST 2002
I've run into this before and replaced the Python 2.1+ call
to PyThreadState_DeleteCurrent() with what I think the Python 2.0
equivalent is: PyThreadState_Delete(PyThreadState_Get())
in siplib/threads.c.
Is this the correct solution? I have not had any problems
with it, though, I don't feel I have exercised it thoroughly.
Dave
-----Original Message-----
From: Phil Thompson [mailto:phil at river-bank.demon.co.uk]
Sent: Wednesday, July 03, 2002 10:56 AM
To: Hans-Peter Jansen
Cc: pykde at mats.gmd.de
Subject: Re: [PyKDE] undefined symbol in libsip on python 2.0
Hans-Peter Jansen wrote:
> Hi Phil,
>
> just trying to get PyQt 3.3rc2 going on a python 2.0 based system,
> but it throws:
>
> Traceback (most recent call last):
> File "main.py", line 6, in ?
> from artikelwin import ArtikelDialog
> File "artikelwin.py", line 3, in ?
> from qtsql import QSqlDatabase, QSqlCursor, QDataTable
> File "/usr/lib/python2.0/site-packages/qtsql.py", line 35, in ?
> import libsip
> ImportError: /usr/lib/python2.0/site-packages/libsip.so: undefined symbol:
> PyThreadState_DeleteCurrent
>
> Any idea on this one?
Disregard my previous answer - I realised it was dumb as soon as I
pressed send.
Looks like that function was added in Python 2.1.
I'll look into it.
Phil
_______________________________________________
PyKDE mailing list PyKDE at mats.gmd.de
http://mats.gmd.de/mailman/listinfo/pykde
More information about the PyQt
mailing list