desktopcouch answers DBus before plugins are completed

Bug #760236 reported by Chad Miller on 2011-04-13
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
desktopcouch
High
Chad Miller
desktopcouch (Ubuntu)
High
Unassigned

Bug Description

If the first request to desktopcouch involves data that are created by a plugin, then the request will probably fail.

from desktopcouch.application.replication_services \
            import ubuntuone as replication_module
result = replication_module.ReplicationExclusion()

If there is no "management" database already and the service is not already running, then this could fail. The new "ubuntuone-control-panel-gtk" will experience this.

Related branches

Chad Miller (cmiller) on 2011-04-14
Changed in desktopcouch (Ubuntu):
milestone: none → ubuntu-11.04
Changed in desktopcouch:
status: Confirmed → Fix Committed
Chad Miller (cmiller) on 2011-04-15
Changed in desktopcouch (Ubuntu):
status: New → In Progress
importance: Undecided → High
Chad Miller (cmiller) wrote :

Debdiff attached.

tags: added: patch
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package desktopcouch - 1.0.7-0ubuntu2

---------------
desktopcouch (1.0.7-0ubuntu2) natty; urgency=low

  * Add patch to force DBus service not to repsond before important plugins
    have had a chance to run to completion. This fixes a race condition where
    a first access of the DB to get plugin-originated data will fail, for
    instance in ubuntuone-control-panel-gtk. (LP: #760236)
    - patches/5-defer-dbus-service-for-plugins.patch
 -- Chad MILLER <email address hidden> Fri, 15 Apr 2011 19:34:38 -0400

Changed in desktopcouch (Ubuntu):
status: In Progress → Fix Released
Chad Miller (cmiller) on 2011-08-30
Changed in desktopcouch:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers