Hi boys and girls,
I am working with a friend on a project that uses calandar.db data. We want to read the id's of the collections (N9 calendars), but everytime the toString() function, which should return an unicode string, gives a segmentation fault.
Here is just an easy as possible code example:
We wrote an mail to the PySide mailing list, but got no reaction. At GIT there is a BugTracker Link, but the website seems to be down. And I am not sure (I am more or less a beginner) PySide QtMobility is wrapped from C++ version?!, because if true I am not able to fix/patch it, I have no C++ knowledge at all.
#-*- coding: utf-8 -*-
from PySide import QtCore
from QtMobility.Organizer import *
self.defaultManager = QOrganizerManager()
self.collections = self.defaultManager.collections()
for collection in self.collections:
print type(collection), collection.id()
if __name__ == "__main__":
app = QtCore.QCoreApplication()
test = QtMobilityTest()
Is ANYONE able to help me?!
We checked alternative ways, e.g SQL, but it becomes very difficult in combination with recurring events.
I am thanking you in anticipation.