[Kde-pim] Segment fault tring to create akonadi resource in python

Mario Santagiuliana fedora at marionline.it
Wed Aug 17 08:07:21 BST 2011


Hi to all,
I just ask this thing to fedora-kde ML and to akonadi IRC channel without 
answer.

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?

If you want I can provide a little backtrace...

Thank you very much

P.S. sorry for my bad english
-- 
Mario Santagiuliana
www.marionline.it
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-pim/attachments/20110817/3af968d0/attachment.sig>
-------------- next part --------------
_______________________________________________
KDE PIM mailing list kde-pim at kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/


More information about the kde-pim mailing list