executing Edit->Preferences generates error R6034

Having trouble installing or compiling FreeCAD? Get help here.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
wmayer
Founder
Posts: 20309
Joined: Thu Feb 19, 2009 10:32 am
Contact:

Re: executing Edit->Preferences generates error R6034

Post by wmayer »

As you can see, after the error happens there are two more .dll loaded:
And additionally these are the runtime dlls from VS2008 while FreeCAD itself and all its 3rd party libraries were built with VS2013.
is the cause of the problem, and if so, what should I do about it?
To find the cause of the problem we have to figure out which other dll is loading the old runtime dll. I wonder whether your separate Python installation is responsible for it. Can you figure out which VS version it was built with? Therefore just double click the python.exe and then copy & paste the prompt.

E.g. for VS2013 it looks like this:
Python 2.7.8 (default, Nov 17 2014, 20:37:05) [MSC v.1800 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>>
For testing purposes you can also rename C:\Python27. Then start FreeCAD and check if the problem is solved or not.
DDoerschuk
Posts: 5
Joined: Mon Jan 30, 2017 5:16 pm
Location: Beaumont, Texas USA

Re: executing Edit->Preferences generates error R6034

Post by DDoerschuk »

I'm sorry to have taken so long to reply back to this thread; I had to deal with an unexpected problem and dropped everything I was working on.

Here's what Python says when I start the interpreter from a command line:

Code: Select all

Python 2.7.12 (v2.7.12:d33e0cf91556, Jun 27 2016, 15:24:40) [MSC v.1500 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>>
And here is what the Python Console within FreeCAD says when I start FreeCAD:

Code: Select all

Python 2.7.8 (default, Nov 17 2014, 20:37:05) [MSC v.1800 64 bit (AMD64)] on win32
Type 'help', 'copyright', 'credits' or 'license' for more information.
>>>
So the Python version installed in C:\Python27 is 2.7.12, and the one in FreeCAD is 2.7.8. To me, it seems unlikely that the slightly newer Python is making calls to the somewhat older dll, but of course much stranger things than that have happened.

Unfortunately, renaming the C:\Python27 to C:\Python27_TEMP had no effect: executing Edit->Preferences generates error R6034 exactly as before.

Thank you for your help, and again, I apologize for not replying immediately.
Dave
Post Reply