[Kde-bindings] [PyKDE4] Bug in Nepomuk bindings

Olivier Duclos oduclos at mandriva.com
Fri Oct 23 09:16:40 UTC 2009


Hi there,

I'm writing a python scripts to test some Nepomuk features, but I'm stuck at tagging.

Here is my code :

        res = nepomuk.Nepomuk.Resource("/some/file")
        tag = nepomuk.Nepomuk.Tag("ninja")
        res.addTag(tag)

And here is the result :

        ASSERT: "d->parent" in file /home/mandrake/rpm/BUILD/soprano-2.3.1/soprano/filtermodel.cpp, line 172

I looked at the binding source but could not find the cause of this.

Any idea ?

---
-OD



More information about the Kde-bindings mailing list