Segment fault tring to create akonadi resource in python

Mario Santagiuliana fedora at marionline.it
Wed Aug 17 13:45:09 UTC 2011


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
-------------- 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/20110817/9cfd5c11/attachment.bin 


More information about the kde mailing list