Ok. Found out how to do it.
Toma
Op Monday 15 June 2009 21:41 schreef u:
> Hmm, yes. I tried to get the sesame2 backend but I could not figure out how to
> install it properly. Can not remember the exact details, maybe I could not get
> it to compile properly. Is there a copy&paste type howto for it?
>
> Toma
>
> Op Monday 15 June 2009 21:36 schreef u:
> > oho, you are using the Virtuoso backend?
> > Even I did not really test that yet. :)
> > Maybe you should stick to the sesame2 backend for now. There is still work
> > left to be done on the Virtuoso one. I am still waiting for some feedback
> from
> > OpenLink.
> >
> > Cheers,
> > Sebastian
> >
> > On Monday 15 June 2009 20:09:53 Tom Albers wrote:
> > > No it did not. At least that solves the crash! But that does not make it
> > > work, I get errors like:
> > >
> > > "/mnt/data/kde/build/extragear/pim/mailody/src/mailody(4074)" Error in
> > > thread 3023132352 : "iODBC Error: [OpenLink][Virtuoso iODBC Driver]CL064:
> > > Lost connection to server"
> > > "/mnt/data/kde/build/extragear/pim/mailody/src/mailody(4074)" Error in
> > > thread 3023132352 : "Invalid iterator."
> > >
> > > Toma
> > >
> > > Op Monday 15 June 2009 10:32 schreef u:
> > > > does mailody call ResourceManager::instance()->init()ß
> > > >
> > > > On Sunday 14 June 2009 21:59:00 Tom Albers wrote:
> > > > > Hi,
> > > > >
> > > > > In preparation for next weekend, I'm brushing up my Nepomuk knowledge
> > > > > and checking Mailody's implementation. I spotted some commented code,
> > > > > and while uncommenting it, it crashes Mailody. Maybe you can help
> > > > > finding the cause.
> > > > >
> > > > > Code:
> > > > > Nepomuk::Resource res( data->item().url() );
> > > > > m_tags->setTaggedResource( res );
> > > > >
> > > > > (m_tags is a TagWidget and data->item().url() is a
> > > > > KUrl("akonadi:?item=1")) Full code at:
> > > > > http://websvn.kde.org/trunk/extragear/pim/mailody/src/nepomukwidget.cpp
> > > > >?rev ision=982035&view=markup
> > > > >
> > > > > The backtrace is:
> > > > > #11 0xb61e05c5 in qt_assert (assertion=0xb4b31340 "d->parent",
> > > > > file=0xb4b31300
> > > > > "/mnt/data/kde/source/kdesupport/soprano/soprano/filtermodel.cpp",
> > > > > line=172) at
> > > > > /mnt/data/kde/source/qt-copy/src/corelib/global/qglobal.cpp:1786 #12
> > > > > 0xb4abfd68 in Soprano::FilterModel::listStatements () from
> > > > > /mnt/data/kde/install/kde/lib/libsoprano.so.4 #13 0xb6c87521 in
> > > > > Nepomuk::ResourceData::load (this=0x863b120) at
> > > > > /mnt/data/kde/source/kdelibs/nepomuk/core/resourcedata.cpp:360 #14
> > > > > 0xb6c87b66 in Nepomuk::ResourceData::property (this=0x863b120,
> > > > > u...@0xbff95ef8) at
> > > > > /mnt/data/kde/source/kdelibs/nepomuk/core/resourcedata.cpp:229 #15
> > > > > 0xb6ca120a in Nepomuk::Resource::property (this=0x86496c0,
> > > > > u...@0xbff95ef8) at
> > > > > /mnt/data/kde/source/kdelibs/nepomuk/core/resource.cpp:268 #16
> > > > > 0xb6ca14e2 in Nepomuk::Resource::tags (this=0x86496c0) at
> > > > > /mnt/data/kde/source/kdelibs/nepomuk/core/resource.cpp:593 #17
> > > > > 0xb6c9a39c in Nepomuk::TagWidget::Private::intersectTags
> > > > > (this=0x82b3068) at
> > > > > /mnt/data/kde/source/kdelibs/nepomuk/core/ui/kmetadatatagwidget.cpp:84
> > > > > #18 0xb6c97eb6 in Nepomuk::TagWidget::setTaggedResources
> > > > > (this=0x82c2588, resourc...@0xbff95fa0) at
> > > > > /mnt/data/kde/source/kdelibs/nepomuk/core/ui/kmetadatatagwidget.cpp:154
> > > > > #19 0xb6c97f7d in Nepomuk::TagWidget::setTaggedResource
> > > > > (this=0x82c2588, resour...@0xbff95fd0) at
> > > > > /mnt/data/kde/source/kdelibs/nepomuk/core/ui/kmetadatatagwidget.cpp:146
> > > > > #20 0x080dc398 in Mailody::NepomukWidget::setMsg (this=0x82ab340,
> > > > > data=0x863c6a8) at
> > > > > /mnt/data/kde/source/extragear/pim/mailody/src/nepomukwidget.cpp:54
> > > > >
> > > > > Is there anything I'm doing wrong? The assert seems weird to me ;-)
> > > > >
> > > > > Toma
> > > >
> > > > _______________________________________________
> > > > nepomuk-kde mailing list
> > > > nepomuk-kde@semanticdesktop.org
> > > > http://lists.semanticdesktop.org/mailman/listinfo/nepomuk-kde
> > >
> > > Toma
> >
> > _______________________________________________
> > nepomuk-kde mailing list
> > nepomuk-kde@semanticdesktop.org
> > http://lists.semanticdesktop.org/mailman/listinfo/nepomuk-kde
>
> Toma
Toma
--
KDE Developer
_______________________________________________
nepomuk-kde mailing list
nepomuk-kde@semanticdesktop.org
http://lists.semanticdesktop.org/mailman/listinfo/nepomuk-kde