[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    RE: [PyKDE] embedding SIP wrapped library...
From:       "Bjorn Pettersen" <BPettersen () narex ! com>
Date:       2002-05-29 20:23:45
[Download RAW message or body]

> From: Bjorn Pettersen 
> 
> > From: Bjorn Pettersen
> 
> I hate to reply to myself...

Yet, here I am again (*sigh*).

[snip]

> It still doesn't work however. I get a 
> 
>   Fatal Python error: PyEval_SaveThread: NULL tstate
> 
> If anyone knows what could cause this, I would appreciate a 
> pointer :-) In the meantime I'll try to dig into it myself...

It turned out it creashed on the Py_BEGIN_ALLOW_THREADS that are put
around the calls to C++. Since I don't have an immediate need for
multithreading I just changed SIP to not genereate these macros. If
someone has a more elegant solution I'm all ears...

-- bjorn

_______________________________________________
PyKDE mailing list    PyKDE@mats.gmd.de
http://mats.gmd.de/mailman/listinfo/pykde
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic