Re: [Tracker] Result of GetMetadata DBUS Method



Adrien Bustany <abustany-rDKQcyrBJuzYtjvyW6yDsg public gmane org> writes:
Le Sat, 17 Sep 2011 11:32:55 -0400,
Nikolaus Rath <Nikolaus-BTH8mxji4b0 public gmane org> a Ãcrit :
Hi Nikolaus

On Sat, Sep 17, 2011 at 12:56 AM, Nikolaus Rath <Nikolaus-BTH8mxji4b0 public gmane org>
wrote:
Hello,

In tracker 0.8.17, an example result of the GetMetadata DBUS method
is

Âa nfo:PaginatedTextDocument ;
    nie:title "SV Meldung" ;
    nco:creator [ a nco:Contact ;
    nco:fullname "nikratio"] ;
    nie:contentCreated "2011-08-10T20:12:38Z" ;
    nao:hasTag [ a nao:Tag ;
    nao:prefLabel "()"] ;
    dc:format "application/pdf" ;
    nie:description "()" ;
    nfo:pageCount 1 ;
    nie:plainTextContent "blablabla" .

With tracker 0.10.21, however, the same document now gives

Âa nfo:PaginatedTextDocument ;
    nie:title "SV Meldung" ;
    nco:creator [ a nco:Contact ;
    nco:fullname "nikratio"] ;
    nie:contentCreated "2011-08-10T20:12:38Z" ;
    dc:format "application/pdf" ;
    nie:description "()" ;
    nao:hasTag ?tag1 ;
    nfo:pageCount 1 ;
    nie:plainTextContent "blablabla" .
} } WHERE { {
?tag1 a nao:Tag ; nao:prefLabel "()" .


I don't know enough about the syntax used here, so I won't claim
that it's wrong. However, rdflib fails to parse this and thus
breaks my application.

Can someone tell me if this is a bug in tracker or in rdflib?

Could you share the error message that rdflib gives you?

Sure, it's at http://code.google.com/p/rdflib/issues/detail?id=190


Most likely rdflib doesn't like the fact that the WHERE of the INSERT
is not closed?

That would be my guess too. But I'm surprised to find a WHERE in the
GetMetadata output in the first place. What is it good for, and why
is it only included for some documents?


Thanks,

   -Nikolaus

-- 
 ÂTime flies like an arrow, fruit flies like a Banana.Â

  PGP fingerprint: 5B93 61F8 4EA2 E279 ABF6  02CF A9AD B7F8 AE4E 425C



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]