packaged mac app can not find syncdaemon.conf and other data files
Bug #1024623 reported by
Mike McCracken
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Ubuntu One Control Panel | Status tracked in Trunk | |||||
Stable-4-0 |
Fix Released
|
Undecided
|
Unassigned | |||
Trunk |
Fix Released
|
Critical
|
Mike McCracken |
Bug Description
Running syncdaemon on macos fails because it cannot find syncdaemon.conf.
On windows or linux, the install process takes care of copying user data like this to a known location.
On macos, this should be done at first run by copying the data from within the app wrapper to a user-visible location.
NOTE: Dirspec may also need to add mac-specific paths for some of these locations, since although the linux defaults will work, they are not the expected location and using them may break some tools, and will certainly run afoul of the app sandbox.
Related branches
lp://qastaging/~mikemc/ubuntuone-control-panel/fix-1024623-install-confs
- Alejandro J. Cura (community): Approve
- Roberto Alsina (community): Approve
-
Diff: 283 lines (+203/-1)7 files modifiedrun-tests.bat (+1/-1)
ubuntuone/controlpanel/gui/qt/main/__init__.py (+4/-0)
ubuntuone/controlpanel/gui/qt/main/tests/test_main.py (+8/-0)
ubuntuone/controlpanel/utils/__init__.py (+10/-0)
ubuntuone/controlpanel/utils/darwin.py (+91/-0)
ubuntuone/controlpanel/utils/tests/test_darwin.py (+78/-0)
ubuntuone/controlpanel/utils/tests/test_utils.py (+11/-0)
Changed in ubuntuone-control-panel: | |
status: | In Progress → Fix Committed |
To post a comment you must log in.
Note that the issue of dirspec having mac-specific paths was bug #1026383, and is fixed now.