Cannot open configuration file

No more questions - please go to http://www.syncovery.com/forum instead

Moderator: SuperFlexible Administrators

Cannot open configuration file

Postby pmarking on Tue Aug 28, 2012 9:51 am

I’m on a Mac (OS X Mountain Lion), running SFFS 5.72 and suddenly (I think maybe after the upgrade?), I cannot open the app. I get an error saying:

You don’t seem to have access rights to the default configuration file,
/Users/paul/Library/Preferences/
SuperFlexibleSynchronizer.cfg

Would you like to switch to a user-specific configuration file?


No matter what I choose, I keep getting this message and then I have to force-kill the app.

I tried checking the permissions on the file, and they look okay (644, with my user as the file owner). I even tried recreating the .cfg file, and that didn’t help.

I tried backing up my .cfg file in a safe place, then uninstalling the app, and reinstalling it... and upon the first start-up, I got this message:

NOTE

Cannot open configuration file: SQL Error: near “CONSTRAINT”:
syntax error


This apparently tried to create its own new .cfg file and failed at something… incidentally, here’s what I see in that .cfg file:

Code: Select all
SQLite format 3@  -‚$
©“≠“xÅ#ÇtableSECTIONSSECTIONSCREATE TABLE SECTIONS
(
  SECTIONNAME VARCHAR(100) NOT NULL,
  ID INTEGER PRIMARY KEY,
  CONSTRAINT UNIQUE_NAME UNIQUE (SECTIONNAME)
)/Cindexsqlite_autoindex_SECTIONS_1SECTIONSQstableDBVersionDBVersionCREATE TABLE DBVersion
(
   VersionNumber INTEGER
)
˚˚d


Anyway, I press “OK” (the only option) and am brought into an empty SFFS screen, where even if I try to import my backed up .cfg file, nothing happens.

Then, when I restart, I am back to the access rights problem (even with the auto-generated .cfg file!).
pmarking
 
Posts: 5
Joined: Mon May 07, 2012 1:49 pm

Re: Cannot open configuration file

Postby superflexible on Tue Aug 28, 2012 10:35 am

Apple included a buggy beta version of sqlite3 in Mountain Lion.

As a solution, you need to install the new version 6 of our product, which is now called Syncovery.

The upgrade is free for licenses purchased since May 2010. All upgrades (free or payed) can be obtained thru our upgrade web site:

http://www.syncovery.com/upgrade/
User avatar
superflexible
Site Admin
 
Posts: 2478
Joined: Thu Dec 31, 2009 3:08 pm

Re: Cannot open configuration file

Postby pmarking on Wed Aug 29, 2012 6:05 am

I tried to install the upgrade and, although the upgrade itself installed, it could not import the profiles from SFFS. I got an error message saying:

NOTE
This file cannot be opened.


There is something preventing the file from being opened and it is not ACL settings.
pmarking
 
Posts: 5
Joined: Mon May 07, 2012 1:49 pm

Re: Cannot open configuration file

Postby pmarking on Wed Aug 29, 2012 6:12 am

I think the file was corrupted or something.

I used the Time Machine to restore the .cfg and .ini files to the day prior to my Mountain Lion upgrade and then it was able to be opened by Syncovery properly and migrated okay.

Just a heads-up to anyone else out there who are having trouble after upgrading to Mountain Lion!
pmarking
 
Posts: 5
Joined: Mon May 07, 2012 1:49 pm

Re: Cannot open configuration file

Postby superflexible on Wed Aug 29, 2012 6:25 am

Yes the corrupted file was actually an empty configuration file that the old Superflexible version tried to create. Due to the SQL syntax bug in the sqlite3 version that is shipped with Mountain Lion, it was unable to create a new config file.

In such cases, a backup like yours is ideal, but there should also be backup files in the Preferences folder. They might be named .bak or .bak2 or .old or similar.
User avatar
superflexible
Site Admin
 
Posts: 2478
Joined: Thu Dec 31, 2009 3:08 pm


Return to Mac Support * new forum: www.syncovery.com/forum

cron