DanielPhoton / xld

Automatically exported from code.google.com/p/xld
0 stars 0 forks source link

can't restore preferences from backup #322

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. copy jp.tmkk.XLD.plist from backup to ~/Library/Preferences/
2. start XLD.app
3. look at preferences/profiles

How about the reproducibility (always, sometimes, rarely, ...)?
always

What is the expected output? What do you see instead?
The old preferences are not restored. New changes are properly saved 
(destination folder, new profiles) and even if I `rm 
~/Library/Preferences/jp.tmkk.XLD.plist´ the file magically reappears, copied 
from some other place. Looking at the folder during XLD startup i can see the 
backup file being overwritten by this new file.

What version of the product are you using? On what operating system?
Version 20141129 (148.1) on OS X Yosemite 10.10.2

Please provide any additional information below.
I now this is similar to issues 165 and 178 but I checked and the folder 
doesn't have such jp.tmkk.XLD.plist.lockfile. I also checked the backup file 
permissions, nothing wrong.
Also I noticed something strange is happening from the Console app, I append 
the logs:
29/03/15 21:00:18,856 XLD[6848]: WARNING: The Gestalt selector 
gestaltSystemVersion is returning 10.9.2 instead of 10.10.2. Use 
NSProcessInfo's operatingSystemVersion property to get correct system version 
number.
Call location:
29/03/15 21:00:18,856 XLD[6848]: 0   CarbonCore                          
0x97b797c7 ___Gestalt_SystemVersion_block_invoke + 135
29/03/15 21:00:18,857 XLD[6848]: 1   libdispatch.dylib                   
0x997ec130 _dispatch_client_callout + 50
29/03/15 21:00:18,857 XLD[6848]: 2   libdispatch.dylib                   
0x997ec0b5 dispatch_once_f + 251
29/03/15 21:00:18,858 XLD[6848]: 3   libdispatch.dylib                   
0x997ed0d8 dispatch_once + 31
29/03/15 21:00:18,858 XLD[6848]: 4   CarbonCore                          
0x97b0be88 _Gestalt_SystemVersion + 1050
29/03/15 21:00:18,858 XLD[6848]: 5   CarbonCore                          
0x97b0ba39 Gestalt + 150
29/03/15 21:00:18,859 XLD[6848]: 6   XLD                                 
0x0001ec36 -[XLDController updateCDDAListAndMount:] + 150

Original issue reported on code.google.com by fabiocan...@gmail.com on 29 Mar 2015 at 7:17

GoogleCodeExporter commented 8 years ago
Don't you have running XLD when you copy .plist? XLD doesn't quit even if you 
close all windows.

Original comment by tmkkmac on 30 Mar 2015 at 3:34

GoogleCodeExporter commented 8 years ago
nope, I always close XLD with cmd+Q

Original comment by fabiocan...@gmail.com on 30 Mar 2015 at 9:20