Hi,
I have a code that issues this QtSparql request ()Code:"SELECT nie:url(?urn) AS ?url tracker:id(?urn) AS ?trackerid " \ "WHERE { ?urn rdf:type nfo:Image ; tracker:available \"true\"^^xsd:boolean . " \ "OPTIONAL { ?urn nie:contentCreated ?created } . } ORDER BY DESC (?created)"
and it works fine if I start the application from QtCreator (either debug or just run), but when I run it from terminal I get this error:
Does anyone know what this problem might be. From the error code I could figure out that the request was denied. Do MeeGo applications need to have some certificates and capabilities set like Symbian ones or am I missing something?Code:QTrackerDirectSelectResult: QSparqlError(9, "GDBus.Error: org.freedesktop.Dbus.Error.AccessDenied: Rejected send message, 2 matched rules; type="method_call", sender=":1.574" (uid=29999 pid=10265 comm="./cuteBoxQml ") interface="org.freedesktop.Tracker1.Steroids" member="Query" error name="(unset)" requested_reply=0 destination="org.freedesktop.Tracker1 (uid=29999 pid=1314 com="/usr/lib/tracker/tracker-store "))", 4) "SELECT nie:url(?urn) AS ?url tracker:id(?urn) AS ? trackerid WHERE { ?urn rdf:type nfo:Image ; tracker:available "true"^^xsd:boolean . OPTIONAL { ?urn nie:contentCreated ?created } . } ORDER BY DESC (?created)"

Reply With Quote

