In data 16/8/2011 16:45:21, Mario Santagiuliana ha scritto:
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
Maybe I resolve the problem, I ask in the kde-pim ML:
http://markmail.org/message/trbs2ikk2fw6hn5r
Thank you
--
Mario Santagiuliana
www.marionline.it