0.20 no start after installation on Windows 10

Having trouble installing or compiling FreeCAD? Get help here.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
nordman
Posts: 10
Joined: Mon Aug 15, 2022 7:07 pm

0.20 no start after installation on Windows 10

Post by nordman »

Hallo,

i have on PC Windows 10, last updates, 64-bit

0.19 work without problem.

But 0.20 after installation i can start one time only.
If i close 0.20 and after that try to start, i get message:

Initialization of FreeCAD failed
Unknown runtime error occurred while initializing FreeCAD.
Please contact the applications support for more information.

I tryed to start from icon and from .exe in freeCAD folder. Get the same message.

What could be the error?
chrisb
Veteran
Posts: 53919
Joined: Tue Mar 17, 2015 9:14 am

Re: 0.20 no start after installation on Windows 10

Post by chrisb »

Please always retry such issues with the latest development version. If that doesn't help, please create a log file with the additional commandline parameter --write-log. It will be placed in %APPDATA%\FreeCAD. Paste its contents here wrapped in code tags.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
nordman
Posts: 10
Joined: Mon Aug 15, 2022 7:07 pm

Re: 0.20 no start after installation on Windows 10

Post by nordman »

Thanks! With last develop 20.1 - the same error message.

I started freeCAD 20.1 in the commandline: "C:\Program Files\FreeCAD 0.20\bin\FreeCAD.exe"--write-log
But in directory
Windows(C:) > user > TOM > AppData > Roaming > FreeCAD
there is no log file.

Please help: what is file name and how to find file,dirctory %APPDATA%\FreeCAD ?
chrisb
Veteran
Posts: 53919
Joined: Tue Mar 17, 2015 9:14 am

Re: 0.20 no start after installation on Windows 10

Post by chrisb »

nordman wrote: Tue Aug 16, 2022 12:20 pm I started freeCAD 20.1 in the commandline: "C:\Program Files\FreeCAD 0.20\bin\FreeCAD.exe"--write-log
You need an additional space before the --write-log
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
nordman
Posts: 10
Joined: Mon Aug 15, 2022 7:07 pm

Re: 0.20 no start after installation on Windows 10

Post by nordman »

Start 0.20.1 in commandoline "C:\Program Files\FreeCAD 0.20\bin\FreeCAD.exe" --write-log

No log file in Windows(C:) > user > TOM > AppData > Roaming > FreeCAD
chrisb
Veteran
Posts: 53919
Joined: Tue Mar 17, 2015 9:14 am

Re: 0.20 no start after installation on Windows 10

Post by chrisb »

nordman wrote: Tue Aug 16, 2022 1:42 pm No log file in Windows(C:) > user > TOM > AppData > Roaming > FreeCAD
Please start and terminate your FreeCAD. Look in the aforementioned folder. Has the file user.cfg got a new timestamp?
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
nordman
Posts: 10
Joined: Mon Aug 15, 2022 7:07 pm

Re: 0.20 no start after installation on Windows 10

Post by nordman »

File user.cfg did NOT get a new timestamp after i click to start.
And this message i get immediately, in the same time if i click:

Initialization of FreeCAD failed
Unknown runtime error occurred while initializing FreeCAD.
chrisb
Veteran
Posts: 53919
Joined: Tue Mar 17, 2015 9:14 am

Re: 0.20 no start after installation on Windows 10

Post by chrisb »

Did you install as normal user or as admin? Looks like a permissions issue.
What does the addon macro findConfigFiles say?
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
nordman
Posts: 10
Joined: Mon Aug 15, 2022 7:07 pm

Re: 0.20 no start after installation on Windows 10

Post by nordman »

I'm admin on my PC, all installations as admin.
I have ESET antivirus, but i tred to set swich off ESET - did not help.
And 0.19.4 work perfectely on my PC.

I dont know how to start addon macro findConfigFiles ?
chrisb
Veteran
Posts: 53919
Joined: Tue Mar 17, 2015 9:14 am

Re: 0.20 no start after installation on Windows 10

Post by chrisb »

nordman wrote: Tue Aug 16, 2022 10:08 pm I dont know how to start addon macro findConfigFiles ?
You can use the AddonManager to install the macro. If it cannot be installed, you can go to http://www.freecadweb.org/wiki/index.ph ... onfigFiles copy the code and execute it in the Python console.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
Post Reply