View Issue Details

IDProjectCategoryView StatusLast Update
0004450FreeCADBugpublic2022-02-07 03:44
Reportermozarelo Assigned To 
PrioritynormalSeveritymajorReproducibilityalways
Status feedbackResolutionopen 
Target Version0.20 
Summary0004450: When running FC 0.19 on Windows 7, it returns errors in the Report window
DescriptionEach time it starts, it outputs:

23:00:50 OpenGL version is: 4.5 (4.5.0 NVIDIA 347.52)
23:00:50 Run Gui init script
23:00:51 Init: Running FreeCADGuiInit.py start script...
23:00:51 Init: Searching modules...
23:00:51 Init: Initializing C:\FreeCAD_0.19.22522-Win-Conda_vc14.x-x86_64\Mod\AddonManager... done
23:00:51 Init: Initializing C:\FreeCAD_0.19.22522-Win-Conda_vc14.x-x86_64\Mod\Arch... done
23:00:51 Init: Initializing C:\FreeCAD_0.19.22522-Win-Conda_vc14.x-x86_64\Mod\Complete... done
23:00:51 Init: Initializing C:\FreeCAD_0.19.22522-Win-Conda_vc14.x-x86_64\Mod\Draft... done
23:00:51 Init: Initializing C:\FreeCAD_0.19.22522-Win-Conda_vc14.x-x86_64\Mod\Drawing... done
23:00:51 Init: Initializing C:\FreeCAD_0.19.22522-Win-Conda_vc14.x-x86_64\Mod\Fem... done
23:00:51 Init: Initializing C:\FreeCAD_0.19.22522-Win-Conda_vc14.x-x86_64\Mod\Idf(InitGui.py not found)... ignore
23:00:51 Init: Initializing C:\FreeCAD_0.19.22522-Win-Conda_vc14.x-x86_64\Mod\Image... done
23:00:52 Init: Initializing C:\FreeCAD_0.19.22522-Win-Conda_vc14.x-x86_64\Mod\Import... done
23:00:52 Init: Initializing C:\FreeCAD_0.19.22522-Win-Conda_vc14.x-x86_64\Mod\Inspection... done
23:00:52 Init: Initializing C:\FreeCAD_0.19.22522-Win-Conda_vc14.x-x86_64\Mod\Material... done
23:00:52 Init: Initializing C:\FreeCAD_0.19.22522-Win-Conda_vc14.x-x86_64\Mod\Measure(InitGui.py not found)... ignore
23:00:52 Init: Initializing C:\FreeCAD_0.19.22522-Win-Conda_vc14.x-x86_64\Mod\Mesh... done
23:00:52 Init: Initializing C:\FreeCAD_0.19.22522-Win-Conda_vc14.x-x86_64\Mod\MeshPart... done
23:00:52 Init: Initializing C:\FreeCAD_0.19.22522-Win-Conda_vc14.x-x86_64\Mod\OpenSCAD... done
23:00:52 Init: Initializing C:\FreeCAD_0.19.22522-Win-Conda_vc14.x-x86_64\Mod\Part... done
23:00:52 Init: Initializing C:\FreeCAD_0.19.22522-Win-Conda_vc14.x-x86_64\Mod\PartDesign... done
23:00:52 Init: Initializing C:\FreeCAD_0.19.22522-Win-Conda_vc14.x-x86_64\Mod\Path... done
23:00:52 Init: Initializing C:\FreeCAD_0.19.22522-Win-Conda_vc14.x-x86_64\Mod\Points... done
23:00:52 Init: Initializing C:\FreeCAD_0.19.22522-Win-Conda_vc14.x-x86_64\Mod\Raytracing... done
23:00:52 Init: Initializing C:\FreeCAD_0.19.22522-Win-Conda_vc14.x-x86_64\Mod\ReverseEngineering... done
23:00:52 Init: Initializing C:\FreeCAD_0.19.22522-Win-Conda_vc14.x-x86_64\Mod\Robot... done
23:00:52 Init: Initializing C:\FreeCAD_0.19.22522-Win-Conda_vc14.x-x86_64\Mod\Show(InitGui.py not found)... ignore
23:00:52 Init: Initializing C:\FreeCAD_0.19.22522-Win-Conda_vc14.x-x86_64\Mod\Sketcher... done
23:00:52 Init: Initializing C:\FreeCAD_0.19.22522-Win-Conda_vc14.x-x86_64\Mod\Spreadsheet... done
23:00:52 Init: Initializing C:\FreeCAD_0.19.22522-Win-Conda_vc14.x-x86_64\Mod\Start... done
23:00:52 Init: Initializing C:\FreeCAD_0.19.22522-Win-Conda_vc14.x-x86_64\Mod\Surface... done
23:00:53 Init: Initializing C:\FreeCAD_0.19.22522-Win-Conda_vc14.x-x86_64\Mod\TechDraw... done
23:00:53 Init: Initializing C:\FreeCAD_0.19.22522-Win-Conda_vc14.x-x86_64\Mod\Test... done
23:00:53 Init: Initializing C:\FreeCAD_0.19.22522-Win-Conda_vc14.x-x86_64\Mod\Tux... done
23:00:53 Init: Initializing C:\FreeCAD_0.19.22522-Win-Conda_vc14.x-x86_64\Mod\Web... done
23:00:53 Module: Part
23:00:53 Loading Part module... done
23:00:53 Init: Initializing C:\Users\Ultranemo\AppData\Roaming\FreeCAD\Mod\A2plus... failed
23:00:53 ----------------------------------------------------------------------------------------------------
23:00:53 Traceback (most recent call last):
  File "<string>", line 127, in InitApplications
  File "<string>", line 233, in <module>
  File "<string>", line 47, in __init__
  File "C:\Users\Ultranemo\AppData\Roaming\FreeCAD\Mod\A2plus\a2plib.py", line 35, in <module>
    import numpy
  File "C:\FreeCAD_0.19.22522-Win-Conda_vc14.x-x86_64\bin\lib\site-packages\numpy\__init__.py", line 140, in <module>
    from . import core
  File "C:\FreeCAD_0.19.22522-Win-Conda_vc14.x-x86_64\bin\lib\site-packages\numpy\core\__init__.py", line 101, in <module>
    from . import _internal
  File "C:\FreeCAD_0.19.22522-Win-Conda_vc14.x-x86_64\bin\lib\site-packages\numpy\core\_internal.py", line 14, in <module>
    import ctypes
  File "C:\FreeCAD_0.19.22522-Win-Conda_vc14.x-x86_64\bin\lib\ctypes\__init__.py", line 468, in <module>
    GetLastError = windll.kernel32.GetLastError
  File "C:\FreeCAD_0.19.22522-Win-Conda_vc14.x-x86_64\bin\lib\ctypes\__init__.py", line 443, in __getattr__
    dll = self._dlltype(name)
  File "C:\FreeCAD_0.19.22522-Win-Conda_vc14.x-x86_64\bin\lib\ctypes\__init__.py", line 373, in __init__
    self._handle = _dlopen(self._name, mode)
OSError: [WinError 87] Параметр задан неверно
23:00:53 ----------------------------------------------------------------------------------------------------

23:00:53 During initialization the error "[WinError 87] Параметр задан неверно" occurred in C:\Users\Ultranemo\AppData\Roaming\FreeCAD\Mod\A2plus\InitGui.py
23:00:53 Please look into the log file for further information

23:00:53 Init: Initializing freecad.asm3
23:00:54 During initialization the error "[WinError 87] Параметр задан неверно" occurred in freecad.asm3
23:00:54 --------------------------------------------------------------------------------
23:00:54 Traceback (most recent call last):
  File "<string>", line 152, in InitApplications
  File "C:\FreeCAD_0.19.22522-Win-Conda_vc14.x-x86_64\bin\lib\importlib\__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
  File "<frozen importlib._bootstrap>", line 991, in _find_and_load
  File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 783, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "C:\FreeCAD_0.19.22522-Win-Conda_vc14.x-x86_64\bin\lib\site-packages\freecad\asm3\init_gui.py", line 3, in <module>
    from .utils import mainlogger as logger
  File "C:\FreeCAD_0.19.22522-Win-Conda_vc14.x-x86_64\bin\lib\site-packages\freecad\asm3\utils.py", line 11, in <module>
    import numpy as np
  File "C:\FreeCAD_0.19.22522-Win-Conda_vc14.x-x86_64\bin\lib\site-packages\numpy\__init__.py", line 140, in <module>
    from . import core
  File "C:\FreeCAD_0.19.22522-Win-Conda_vc14.x-x86_64\bin\lib\site-packages\numpy\core\__init__.py", line 101, in <module>
    from . import _internal
  File "C:\FreeCAD_0.19.22522-Win-Conda_vc14.x-x86_64\bin\lib\site-packages\numpy\core\_internal.py", line 14, in <module>
    import ctypes
  File "C:\FreeCAD_0.19.22522-Win-Conda_vc14.x-x86_64\bin\lib\ctypes\__init__.py", line 468, in <module>
    GetLastError = windll.kernel32.GetLastError
  File "C:\FreeCAD_0.19.22522-Win-Conda_vc14.x-x86_64\bin\lib\ctypes\__init__.py", line 443, in __getattr__
    dll = self._dlltype(name)
  File "C:\FreeCAD_0.19.22522-Win-Conda_vc14.x-x86_64\bin\lib\ctypes\__init__.py", line 373, in __init__
    self._handle = _dlopen(self._name, mode)
OSError: [WinError 87] Параметр задан неверно
23:00:54 --------------------------------------------------------------------------------

23:00:54 Init: Initializing freecad.asm3... failed
23:00:54 --------------------------------------------------------------------------------
23:00:54 Traceback (most recent call last):
  File "<string>", line 152, in InitApplications
  File "C:\FreeCAD_0.19.22522-Win-Conda_vc14.x-x86_64\bin\lib\importlib\__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
  File "<frozen importlib._bootstrap>", line 991, in _find_and_load
  File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 783, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "C:\FreeCAD_0.19.22522-Win-Conda_vc14.x-x86_64\bin\lib\site-packages\freecad\asm3\init_gui.py", line 3, in <module>
    from .utils import mainlogger as logger
  File "C:\FreeCAD_0.19.22522-Win-Conda_vc14.x-x86_64\bin\lib\site-packages\freecad\asm3\utils.py", line 11, in <module>
    import numpy as np
  File "C:\FreeCAD_0.19.22522-Win-Conda_vc14.x-x86_64\bin\lib\site-packages\numpy\__init__.py", line 140, in <module>
    from . import core
  File "C:\FreeCAD_0.19.22522-Win-Conda_vc14.x-x86_64\bin\lib\site-packages\numpy\core\__init__.py", line 101, in <module>
    from . import _internal
  File "C:\FreeCAD_0.19.22522-Win-Conda_vc14.x-x86_64\bin\lib\site-packages\numpy\core\_internal.py", line 14, in <module>
    import ctypes
  File "C:\FreeCAD_0.19.22522-Win-Conda_vc14.x-x86_64\bin\lib\ctypes\__init__.py", line 468, in <module>
    GetLastError = windll.kernel32.GetLastError
  File "C:\FreeCAD_0.19.22522-Win-Conda_vc14.x-x86_64\bin\lib\ctypes\__init__.py", line 443, in __getattr__
    dll = self._dlltype(name)
  File "C:\FreeCAD_0.19.22522-Win-Conda_vc14.x-x86_64\bin\lib\ctypes\__init__.py", line 373, in __init__
    self._handle = _dlopen(self._name, mode)
OSError: [WinError 87] Параметр задан неверно
23:00:54 --------------------------------------------------------------------------------
23:00:54 Init: Loading FreeCAD GUI
23:00:54 Init: Running FreeCADGuiInit.py start script... done
23:00:56 Init: Activating default workbench StartWorkbench
23:00:56 Loading GUI of Web module... done
23:00:56 Loading GUI of Start module... done
23:00:56 Loading Start module... done
23:00:56 Installed Qt WebEngine locales directory not found at location C:/FreeCAD_0.19.22522-Win-Conda_vc14.x-x86_64/translations\qtwebengine_locales. Trying application directory...
23:00:56 Qt WebEngine locales directory not found at location C:/FreeCAD_0.19.22522-Win-Conda_vc14.x-x86_64/bin\qtwebengine_locales. Trying fallback directory... Translations MAY NOT not be correct.
23:00:56 Init: Showing main window
23:00:56 Main window restored
23:00:56 Show main window
23:00:56 Toolbars restored
23:00:56 3Dconnexion device not attached.
23:00:56 Init: Entering event loop
23:00:56 Init: Processing command line files


The Part Design and Path workbenches do not work and also give errors. And Part Design at each choice, and Path only the first time, then it writes that the workbench Path activated, but also does not work.

This gives out Part Design:

23:04:22 Hide main window
23:04:41 Show main window
23:04:51 Hide main window
23:05:11 Show main window
23:05:15 Hide main window
23:05:51 Show main window
23:06:01 Hide main window
23:06:31 Show main window
23:10:44 Loading Sketcher module... done
23:10:44 Loading PartDesign module... done

23:10:44 [WinError 87] Параметр задан неверно
23:10:44 Traceback (most recent call last):
  File "<string>", line 42, in Initialize
  File "C:\FreeCAD_0.19.22522-Win-Conda_vc14.x-x86_64\Mod\PartDesign\WizardShaft\WizardShaft.py", line 27, in <module>
    from .Shaft import Shaft
  File "C:\FreeCAD_0.19.22522-Win-Conda_vc14.x-x86_64\Mod\PartDesign\WizardShaft\Shaft.py", line 25, in <module>
    from .SegmentFunction import SegmentFunction, IntervalFunction, StressFunction, TranslationFunction
  File "C:\FreeCAD_0.19.22522-Win-Conda_vc14.x-x86_64\Mod\PartDesign\WizardShaft\SegmentFunction.py", line 25, in <module>
    import numpy as np
  File "C:\FreeCAD_0.19.22522-Win-Conda_vc14.x-x86_64\bin\lib\site-packages\numpy\__init__.py", line 140, in <module>
    from . import core
  File "C:\FreeCAD_0.19.22522-Win-Conda_vc14.x-x86_64\bin\lib\site-packages\numpy\core\__init__.py", line 101, in <module>
    from . import _internal
  File "C:\FreeCAD_0.19.22522-Win-Conda_vc14.x-x86_64\bin\lib\site-packages\numpy\core\_internal.py", line 14, in <module>
    import ctypes
  File "C:\FreeCAD_0.19.22522-Win-Conda_vc14.x-x86_64\bin\lib\ctypes\__init__.py", line 468, in <module>
    GetLastError = windll.kernel32.GetLastError
  File "C:\FreeCAD_0.19.22522-Win-Conda_vc14.x-x86_64\bin\lib\ctypes\__init__.py", line 443, in __getattr__
    dll = self._dlltype(name)
  File "C:\FreeCAD_0.19.22522-Win-Conda_vc14.x-x86_64\bin\lib\ctypes\__init__.py", line 373, in __init__
    self._handle = _dlopen(self._name, mode)


This outputs Path for the first time:

23:14:17 Loading Path module... done
23:14:17 Loading PathStock... done
23:14:17 Loading GUI of Part module... done
23:14:17 Loading GUI of Path module... done
23:14:17 Loading PathToolControllerGui... done
23:14:17 Loading PathToolController... done
23:14:17 Loading PathJobCmd... done
23:14:17 Loading PathToolBitCmd... done
23:14:17 Loading PathToolBitLibraryCmd... done

23:14:17 [WinError 87] Параметр задан неверно
23:14:17 Traceback (most recent call last):
  File "<string>", line 86, in Initialize
  File "C:\FreeCAD_0.19.22522-Win-Conda_vc14.x-x86_64\Mod\Path\PathCommands.py", line 29, in <module>
    from PathScripts.PathUtils import loopdetect
  File "C:\FreeCAD_0.19.22522-Win-Conda_vc14.x-x86_64\Mod\Path\PathScripts\PathUtils.py", line 30, in <module>
    import numpy
  File "C:\FreeCAD_0.19.22522-Win-Conda_vc14.x-x86_64\bin\lib\site-packages\numpy\__init__.py", line 140, in <module>
    from . import core
  File "C:\FreeCAD_0.19.22522-Win-Conda_vc14.x-x86_64\bin\lib\site-packages\numpy\core\__init__.py", line 101, in <module>
    from . import _internal
  File "C:\FreeCAD_0.19.22522-Win-Conda_vc14.x-x86_64\bin\lib\site-packages\numpy\core\_internal.py", line 14, in <module>
    import ctypes
  File "C:\FreeCAD_0.19.22522-Win-Conda_vc14.x-x86_64\bin\lib\ctypes\__init__.py", line 468, in <module>
    GetLastError = windll.kernel32.GetLastError
  File "C:\FreeCAD_0.19.22522-Win-Conda_vc14.x-x86_64\bin\lib\ctypes\__init__.py", line 443, in __getattr__
    dll = self._dlltype(name)
  File "C:\FreeCAD_0.19.22522-Win-Conda_vc14.x-x86_64\bin\lib\ctypes\__init__.py", line 373, in __init__
    self._handle = _dlopen(self._name, mode)


And then when you re-enable it, Path returns:

23:15:12 Path workbench activated

In addition, there is a debug.log file in the Bin folder. Each time i run FC, two identical lines appear there:

[1003/221915.977:WARNING:resource_bundle_qt.cpp(116)] locale_file_path.empty() for locale
[1003/221916.618:WARNING:resource_bundle_qt.cpp(116)] locale_file_path.empty() for locale
Tags#pending-forum
FreeCAD InformationOS: Windows 7 SP 1 (6.1)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.22522 (Git)
Build type: Release
Branch: master
Hash: d8e476ef428017900dfe0f9359ba448503c216f9
Python version: 3.8.5
Qt version: 5.12.6
Coin version: 4.0.0
OCC version: 7.4.0
Locale: Russian/Russia (ru_RU)

Activities

openBrain

2020-10-09 21:15

developer   ~0014807

@mozarelo : please address your issue according our reporting guidelines by opening a new topic on our forum. Thx
Also consider using 'code' tags to insert tracebacks.

Kunda1

2020-10-15 14:12

administrator   ~0014860

@mozarelo can you still reproduce this on latest 0.19 ?

Kunda1

2020-10-15 14:13

administrator   ~0014861

Discussion thread: https://forum.freecadweb.org/viewtopic.php?f=8&t=51188

Kunda1

2020-10-15 16:01

administrator   ~0014867

@mozarelo please follow this advice: https://forum.freecadweb.org/viewtopic.php?f=8&t=51188#p439657

Kunda1

2020-10-15 18:43

administrator   ~0014876

@mozarelo please make sure all your addons are up to date and try again. This includes A2+

Kunda1

2021-03-28 16:24

administrator   ~0015566

@mozarelo ping

Kunda1

2021-03-28 16:27

administrator   ~0015567

Looks like these issues occur for @mozarelo on win-conda and not on Win-LP
https://forum.freecadweb.org/viewtopic.php?f=8&t=51188#p439902

yorik

2022-03-03 13:55

administrator   ~0016943

This ticket has been migrated to GitHub as issue 6110.

Issue History

Date Modified Username Field Change
2020-10-03 19:29 mozarelo New Issue
2020-10-09 21:14 openBrain Tag Attached: #post-to-forum
2020-10-09 21:15 openBrain Status new => feedback
2020-10-09 21:15 openBrain Note Added: 0014807
2020-10-15 14:12 Kunda1 Note Added: 0014860
2020-10-15 14:13 Kunda1 Tag Detached: #post-to-forum
2020-10-15 14:13 Kunda1 Tag Attached: #pending-forum
2020-10-15 14:13 Kunda1 Note Added: 0014861
2020-10-15 16:01 Kunda1 Note Added: 0014867
2020-10-15 18:43 Kunda1 Note Added: 0014876
2021-02-06 06:49 abdullah Target Version => 0.20
2021-03-28 16:24 Kunda1 Note Added: 0015566
2021-03-28 16:27 Kunda1 Note Added: 0015567