ubuntuone-launch ignores root_dir from the user configuration

Bug #1068006 reported by Andrea Corbellini
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu One Client
Status tracked in Trunk
Stable-4-2
Triaged
Undecided
Unassigned
Trunk
In Progress
Undecided
Unassigned

Bug Description

The first lines of ubuntuone-launch are:

    U1ROOT = os.path.expanduser('~/Ubuntu One/')
    if __name__ == '__main__':
        # this check is done early to speed up startup on people who are not
        # (yet) using the service (this way avoids all the imports).
        if not os.path.isdir(U1ROOT):
            # no directory, just quit
            sys.exit(1)

However on my system the U1 root is not '~/Ubuntu One/', but ~/ubuntuone/, as specified in my ~/.config/ubuntuone/syncdaemon.conf:

    [__main__]
    root_dir = ~/ubuntuone
    autoconnect = True

So the syncdaemon never starts on login.

Related branches

Revision history for this message
Andrea Corbellini (andrea.corbellini) wrote :

I plan to work on this soon.

Changed in ubuntuone-client:
assignee: nobody → Andrea Corbellini (andrea.corbellini)
Revision history for this message
Leo Arias (elopio) wrote :

Awesome. Thanks Andrea.

Changed in ubuntuone-client:
status: New → Confirmed
Changed in ubuntuone-client:
status: Confirmed → In Progress
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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