After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 672259 - tracker-miner-web.c doesn't register interface methods in time
tracker-miner-web.c doesn't register interface methods in time
Status: RESOLVED OBSOLETE
Product: tracker
Classification: Core
Component: General
git master
Other Linux
: Normal normal
: ---
Assigned To: tracker-general
Jamie McCracken
Depends on:
Blocks:
 
 
Reported: 2012-03-16 19:39 UTC by Karl Relton
Modified: 2016-05-09 00:19 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Karl Relton 2012-03-16 19:39:28 UTC
The only miner that uses tracker-miner-web.c in the current source tree
(as far as I can see) is the Flickr miner.

It shows the problematic behaviour we feared: i.e. initially
the interfaces/methods advertised in tracker-miner-object.c are OK, but
those advertised in tracker-miner-web.c do NOT appear immediately.
Walking up to an already running deamon is ok because by then everything
is up & running.

So if a user tried to connect to the Miner.Flickr service (e.g. using
the GetAssociationData method) they will be disappointed, getting the
unknown interface error.


This happens because the parent object registers its own interface, and then sets the name on the bus ... and this happens before the child object registers its interface object.


See thread starting at http://mail.gnome.org/archives/tracker-list/2012-March/msg00003.html
for full discussion of the issues.
Comment 1 Carlos Garnacho 2016-05-09 00:19:43 UTC
This bug has been long obsolete.