Segment fault tring to create akonadi resource in python
Mario Santagiuliana
fedora at marionline.it
Tue Aug 16 14:45:21 UTC 2011
Hi to all,
I want to create an akonadi resource using python, I start this simple
script:
#!/usr/bin/python
import sys
from PyKDE4.akonadi import *
from PyQt4 import QtCore
class PyGCalResource( Akonadi.ResourceBase ):
id = None
def __init__( self, id ):
Akonadi.ResourceBase.__init__( self, id )
self.id = id
if __name__ == "__main__":
p = PyGCalResource( QtCore.QString( 'PyGCalResource' ) )
But I receive this error using gdb:
Program received signal SIGSEGV, Segmentation fault.
0x00007ffff0afc1b0 in QObject::thread() const () from
/usr/lib64/libQtCore.so.4
Have you got any suggestions?
Thank you very much
--
Mario Santagiuliana
www.marionline.it
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
Url : http://lists.fedoraproject.org/pipermail/kde/attachments/20110816/d5326ecd/attachment.bin
More information about the kde
mailing list