[Kde-bindings] [PyKDE4] Bug in Nepomuk bindings
Simon Edwards
simon at simonzone.com
Sat Oct 24 17:24:47 UTC 2009
Hello,
Olivier Duclos wrote:
> 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.
This doesn't look like a bindings problem. One of those object probably
expects to have a parent object set during creation. (Are you basing
this code on some C++ example somewhere?)
cheers,
--
Simon Edwards | KDE-NL, Guidance tools, Guarddog Firewall
simon at simonzone.com | http://www.simonzone.com/software/
Nijmegen, The Netherlands | "ZooTV? You made the right choice."
More information about the Kde-bindings
mailing list