flatcam

Open full view…

[error] Failed to parse defaults file.

zulfqaralibhatti
Sun, 18 Dec 2016 14:03:15 GMT

Hi Every one, I am new flatcam user, can't thank enough for the hard work you guys put in to create such an excellent product. I am not not sure if Ihave done something wrong but I get this error in the flatcam shell window al the time. [error] Failed to parse defaults file. Please help . Thanks Zulfqar Ali

jpcaram
Thu, 19 Jan 2017 14:37:52 GMT

Hi Zulfar, Sorry for the late reply. I remember this happening when upgrading FlatCAM. The older versions generated a defaults file that was not compatible with the newer versions. But, I think we fixed that in the latest version, making it compatible to all older versions. Please try 8.5 an let me know. JP

clintonchard
Wed, 21 Jun 2017 18:47:32 GMT

I am using version 8.5 and I am also getting the same error, continually. Even from a file created in v8.5. Thus I am unsure the problem is version based.

francoiskasselman
Thu, 22 Jun 2017 15:01:47 GMT

Hi. I have been using FlatCAM successfully for the past month, and this morning it also started giving the same problem. I uninstalled FlatCAM and reinstalled, but to no avail, the problem persists. When I launch FlatCAM 8.5, after a few seconds the TCL Shell reads: FlatCAM 8.5 (c) 2014-2016 Juan Pablo Caram Type help to get started. [success] FlatCAM is up to date! [error] Failed to parse defaults file. [error] Failed to parse defaults file. [error] Failed to parse defaults file. [error] Failed to parse defaults file. Please, some help in solving this would be greatly appreciated. At the moment I have to manually enter the application options every time. Thanks in advance. Francois

thomashondema
Mon, 31 Jul 2017 18:13:57 GMT

I had the same issue with this version, in the console the path the the defaults.json gets printed. You have to either create this file or modify it to contain a valid json object. "{}" should be enough.

francoiskasselman
Mon, 31 Jul 2017 20:54:32 GMT

Thanks Thomas, I had success by deleting the defaults.json and recent.json files under C:\users\name\AppData\Roaming\FlatCAM, and than restarting FlatCAM. This forced FlatCAM to recreate these files that was corrupted somehow. All is now working just fine.