u1sdtool sends unnecessary dbus msgs to syncdaemon

Bug #673798 reported by Jesper R
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu One Client
Confirmed
Undecided
Guillermo Gonzalez

Bug Description

When I was generating data for https://bugs.launchpad.net/ubuntuone-client/+bug/673619 I noticed that u1sdtool seems to try to contact syncdaemon even if it is run without any arguments, where it should only print out help/usage. This is seen in the invocation in the log file where it takes 25secs before it prints out the help/usage. The invocation was done right after a reboot where syncdaemon was busy doing a local rescan. When syncdaemon was down to ~0,5s

What ever message it sends to syncdaemon when called without any argument, it apparently is enough to start it if it is not running or has crashed

Also when trying to get syncdaemon status during its initial rescan the u1sdtool will throw an error (seems like manhandled timeout) after 50s as seen in the enclosed transcript as well.

Don't mind many of the comments in the file they are meant for the other bug report.

Revision history for this message
Jesper R (jre) wrote :
Revision history for this message
Roman Yepishev (rye) wrote :

This is the result of:

    if not is_running() and not options.quit and not options.start:
        d = sync_daemon_tool.start()

We should check that we really have something to do before starting syncdaemon.

Changed in ubuntuone-client:
status: New → Confirmed
assignee: nobody → Ubuntu One Desktop+ team (ubuntuone-desktop+)
John Lenton (chipaca)
Changed in ubuntuone-client:
assignee: Ubuntu One Desktop+ team (ubuntuone-desktop+) → Guillermo Gonzalez (verterok)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.