Ticket #6110: When running FC 0.19 on Windows 7, it returns errors in the Report window

Have some feature requests, feedback, cool stuff to share, or want to know where FreeCAD is going? This is the place.
Forum rules
Be nice to others! Read the FreeCAD code of conduct!
User avatar
Kunda1
Veteran
Posts: 13434
Joined: Thu Jan 05, 2017 9:03 pm

Re: Ticket #4450: When running FC 0.19 on Windows 7, it returns errors in the Report window

Post by Kunda1 »

mozarelo wrote: Fri Oct 16, 2020 8:36 am he add-on Manager item is also missing.
installed extensions A2+ A4 removed
So it was complaining it couldn't find those workbenches ?
And after you installed them the issues disappeared?
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
mozarelo
Posts: 8
Joined: Sat Oct 03, 2020 6:22 pm

Re: Ticket #4450: When running FC 0.19 on Windows 7, it returns errors in the Report window

Post by mozarelo »

Kunda1 wrote: Fri Oct 16, 2020 11:14 am
mozarelo wrote: Fri Oct 16, 2020 8:36 am he add-on Manager item is also missing.
installed extensions A2+ A4 removed
So it was complaining it couldn't find those workbenches ?
And after you installed them the issues disappeared?
No
FreeCAD_0.19.22670-Win-Conda_vc14.x-x86_64.7z build doesn't start without errors with and without workbenches A2+, A4
this build also misses the add-on Manager item in the menu
User avatar
Kunda1
Veteran
Posts: 13434
Joined: Thu Jan 05, 2017 9:03 pm

Re: Ticket #4450: When running FC 0.19 on Windows 7, it returns errors in the Report window

Post by Kunda1 »

mozarelo wrote: Sun Oct 18, 2020 11:36 am No
FreeCAD_0.19.22670-Win-Conda_vc14.x-x86_64.7z build doesn't start without errors with and without workbenches A2+, A4
this build also misses the add-on Manager item in the menu
To many double negatives have me a little confused.


Can you please update to r22765 and see if you:
1. have startup errors
2. Addon Manager shows all addons
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
mozarelo
Posts: 8
Joined: Sat Oct 03, 2020 6:22 pm

Re: Ticket #4450: When running FC 0.19 on Windows 7, it returns errors in the Report window

Post by mozarelo »

OS: Windows 7 SP 1 (6.1)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.22756 (Git)
Build type: Release
Branch: master
Hash: ce87f586ee36ffe8ebcdcd3947ced4ab389ae795
Python version: 3.8.6
Qt version: 5.12.5
Coin version: 4.0.0
OCC version: 7.4.0
Locale: Russian/Russia (ru_RU)

when running:
22:17:06 During initialization the error "[WinError 87] Параметр задан неверно" occurred in C:\FreeCAD_0.19.22756-Win-Conda_vc14.x-x86_64\Mod\AddonManager\InitGui.py
22:17:06 Please look into the log file for further information
22:17:08 During initialization the error "[WinError 87] Параметр задан неверно" occurred in freecad.asm3
22:17:08 --------------------------------------------------------------------------------
22:17:08 Traceback (most recent call last):
File "<string>", line 154, in InitApplications
File "C:\FreeCAD_0.19.22756-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.22756-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.22756-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.22756-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.22756-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.22756-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.22756-Win-Conda_vc14.x-x86_64\bin\lib\ctypes\__init__.py", line 468, in <module>
GetLastError = windll.kernel32.GetLastError
File "C:\FreeCAD_0.19.22756-Win-Conda_vc14.x-x86_64\bin\lib\ctypes\__init__.py", line 443, in __getattr__
dll = self._dlltype(name)
File "C:\FreeCAD_0.19.22756-Win-Conda_vc14.x-x86_64\bin\lib\ctypes\__init__.py", line 373, in __init__
self._handle = _dlopen(self._name, mode)
OSError: [WinError 87] Параметр задан неверно
22:17:08 --------------------------------------------------------------------------------

22:17:10 Unknown command 'Std_AddonMgr'
mozarelo
Posts: 8
Joined: Sat Oct 03, 2020 6:22 pm

Re: Ticket #4450: When running FC 0.19 on Windows 7, it returns errors in the Report window

Post by mozarelo »

the add-on Manager menu item is missing
Image
Last edited by mozarelo on Thu Oct 22, 2020 3:48 pm, edited 1 time in total.
mozarelo
Posts: 8
Joined: Sat Oct 03, 2020 6:22 pm

Re: Ticket #4450: When running FC 0.19 on Windows 7, it returns errors in the Report window

Post by mozarelo »

when running the Part Design workbench:
22:35:00 [WinError 87] Параметр задан неверно
22:35:00 Traceback (most recent call last):
File "<string>", line 42, in Initialize
File "C:\FreeCAD_0.19.22756-Win-Conda_vc14.x-x86_64\Mod\PartDesign\WizardShaft\WizardShaft.py", line 27, in <module>
from .Shaft import Shaft
File "C:\FreeCAD_0.19.22756-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.22756-Win-Conda_vc14.x-x86_64\Mod\PartDesign\WizardShaft\SegmentFunction.py", line 25, in <module>
import numpy as np
File "C:\FreeCAD_0.19.22756-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.22756-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.22756-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.22756-Win-Conda_vc14.x-x86_64\bin\lib\ctypes\__init__.py", line 468, in <module>
GetLastError = windll.kernel32.GetLastError
File "C:\FreeCAD_0.19.22756-Win-Conda_vc14.x-x86_64\bin\lib\ctypes\__init__.py", line 443, in __getattr__
dll = self._dlltype(name)
File "C:\FreeCAD_0.19.22756-Win-Conda_vc14.x-x86_64\bin\lib\ctypes\__init__.py", line 373, in __init__
self._handle = _dlopen(self._name, mode)
mozarelo
Posts: 8
Joined: Sat Oct 03, 2020 6:22 pm

Re: Ticket #4450: When running FC 0.19 on Windows 7, it returns errors in the Report window

Post by mozarelo »

OS: Windows 7 SP 1 (6.1)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.22756 (Git)
Build type: Release
Branch: master
Hash: ce87f586ee36ffe8ebcdcd3947ced4ab389ae795
Python version: 3.6.8
Qt version: 5.12.1
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: Russian/Russia (ru_RU)

launch without errors

the add-on Manager menu item is not missing
Image
User avatar
Kunda1
Veteran
Posts: 13434
Joined: Thu Jan 05, 2017 9:03 pm

Re: Ticket #4450: When running FC 0.19 on Windows 7, it returns errors in the Report window

Post by Kunda1 »

mozarelo wrote: Mon Oct 19, 2020 6:43 pm
Can you still reproduce this issue in the latest 0.19
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
Joyas
Posts: 532
Joined: Sat Jul 12, 2014 8:39 pm

Re: Ticket #4450: When running FC 0.19 on Windows 7, it returns errors in the Report window

Post by Joyas »

I'm getting this problem in the 0.20 development version too:

Code: Select all

OS: Windows 7 SP 1 (6.1)
Word size of FreeCAD: 64-bit
Version: 0.20.25645 (Git)
Build type: Release
Branch: master
Hash: 37d9757399b4c2ec30318eb88d7cd7c508246345
Python version: 3.8.10
Qt version: 5.12.9
Coin version: 4.0.0
OCC version: 7.5.2
Locale: Spanish/Spain (es_ES)

Code: Select all

21:17:49  During initialization the error "[WinError 87] El parámetro no es correcto" occurred in C:\GIMP_2_9\FreeCAD_weekly-builds-25645-Win-Conda_vc14.x-x86_64\Mod\AddonManager\InitGui.py
21:17:49  Please look into the log file for further information
21:18:01  During initialization the error "[WinError 87] El parámetro no es correcto" occurred in freecad.asm3
21:18:01  --------------------------------------------------------------------------------
21:18:01  Traceback (most recent call last):
  File "<string>", line 156, in InitApplications
  File "C:\GIMP_2_9\FreeCAD_weekly-builds-25645-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 848, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "C:\GIMP_2_9\FreeCAD_weekly-builds-25645-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:\GIMP_2_9\FreeCAD_weekly-builds-25645-Win-Conda_vc14.x-x86_64\bin\lib\site-packages\freecad\asm3\utils.py", line 11, in <module>
    import numpy as np
  File "C:\GIMP_2_9\FreeCAD_weekly-builds-25645-Win-Conda_vc14.x-x86_64\bin\lib\site-packages\numpy\__init__.py", line 150, in <module>
    from . import core
  File "C:\GIMP_2_9\FreeCAD_weekly-builds-25645-Win-Conda_vc14.x-x86_64\bin\lib\site-packages\numpy\core\__init__.py", line 102, in <module>
    from . import _internal
  File "C:\GIMP_2_9\FreeCAD_weekly-builds-25645-Win-Conda_vc14.x-x86_64\bin\lib\site-packages\numpy\core\_internal.py", line 15, in <module>
    import ctypes
  File "C:\GIMP_2_9\FreeCAD_weekly-builds-25645-Win-Conda_vc14.x-x86_64\bin\lib\ctypes\__init__.py", line 468, in <module>
    GetLastError = windll.kernel32.GetLastError
  File "C:\GIMP_2_9\FreeCAD_weekly-builds-25645-Win-Conda_vc14.x-x86_64\bin\lib\ctypes\__init__.py", line 443, in __getattr__
    dll = self._dlltype(name)
  File "C:\GIMP_2_9\FreeCAD_weekly-builds-25645-Win-Conda_vc14.x-x86_64\bin\lib\ctypes\__init__.py", line 373, in __init__
    self._handle = _dlopen(self._name, mode)
OSError: [WinError 87] El parámetro no es correcto
21:18:01  --------------------------------------------------------------------------------
21:18:18  Unknown command 'Std_AddonMgr'
21:18:35  Unknown command 'Std_AddonMgr'
PartDesign workbench or add-on manager don't work. Also, glider workbench doesn't work too:

Code: Select all

21:25:03  [WinError 87] El parámetro no es correcto
21:25:03  Traceback (most recent call last):
  File "C:\GIMP_2_9\FreeCAD_weekly-builds-25645-Win-Conda_vc14.x-x86_64\bin\lib\site-packages\freecad\freecad_glider\init_gui.py", line 67, in Initialize
    from . import tools
  File "C:\GIMP_2_9\FreeCAD_weekly-builds-25645-Win-Conda_vc14.x-x86_64\bin\lib\site-packages\freecad\freecad_glider\tools\__init__.py", line 5, in <module>
    import openglider
  File "C:\GIMP_2_9\FreeCAD_weekly-builds-25645-Win-Conda_vc14.x-x86_64\bin\lib\site-packages\openglider\__init__.py", line 24, in <module>
    import numpy as np
  File "C:\GIMP_2_9\FreeCAD_weekly-builds-25645-Win-Conda_vc14.x-x86_64\bin\lib\site-packages\numpy\__init__.py", line 150, in <module>
    from . import core
  File "C:\GIMP_2_9\FreeCAD_weekly-builds-25645-Win-Conda_vc14.x-x86_64\bin\lib\site-packages\numpy\core\__init__.py", line 102, in <module>
    from . import _internal
  File "C:\GIMP_2_9\FreeCAD_weekly-builds-25645-Win-Conda_vc14.x-x86_64\bin\lib\site-packages\numpy\core\_internal.py", line 15, in <module>
    import ctypes
  File "C:\GIMP_2_9\FreeCAD_weekly-builds-25645-Win-Conda_vc14.x-x86_64\bin\lib\ctypes\__init__.py", line 468, in <module>
    GetLastError = windll.kernel32.GetLastError
  File "C:\GIMP_2_9\FreeCAD_weekly-builds-25645-Win-Conda_vc14.x-x86_64\bin\lib\ctypes\__init__.py", line 443, in __getattr__
    dll = self._dlltype(name)
  File "C:\GIMP_2_9\FreeCAD_weekly-builds-25645-Win-Conda_vc14.x-x86_64\bin\lib\ctypes\__init__.py", line 373, in __init__
    self._handle = _dlopen(self._name, mode)
Reverse engineering:

Code: Select all

21:26:06  Unknown command 'Std_AddonMgr'
21:26:16  Unknown command 'Std_AddonMgr'
21:26:29  DLL load failed with error code 3221225501 while importing ReverseEngineering
21:26:29  Traceback (most recent call last):
  File "<string>", line 41, in Initialize
PartDesign:

Code: Select all

21:27:14  [WinError 87] El parámetro no es correcto
21:27:14  Traceback (most recent call last):
  File "<string>", line 43, in Initialize
  File "C:\GIMP_2_9\FreeCAD_weekly-builds-25645-Win-Conda_vc14.x-x86_64\Mod\PartDesign\WizardShaft\WizardShaft.py", line 28, in <module>
    from .Shaft import Shaft
  File "C:\GIMP_2_9\FreeCAD_weekly-builds-25645-Win-Conda_vc14.x-x86_64\Mod\PartDesign\WizardShaft\Shaft.py", line 25, in <module>
    from .SegmentFunction import SegmentFunction,  IntervalFunction,  StressFunction,  TranslationFunction
  File "C:\GIMP_2_9\FreeCAD_weekly-builds-25645-Win-Conda_vc14.x-x86_64\Mod\PartDesign\WizardShaft\SegmentFunction.py", line 25, in <module>
    import numpy as np
  File "C:\GIMP_2_9\FreeCAD_weekly-builds-25645-Win-Conda_vc14.x-x86_64\bin\lib\site-packages\numpy\__init__.py", line 150, in <module>
    from . import core
  File "C:\GIMP_2_9\FreeCAD_weekly-builds-25645-Win-Conda_vc14.x-x86_64\bin\lib\site-packages\numpy\core\__init__.py", line 102, in <module>
    from . import _internal
  File "C:\GIMP_2_9\FreeCAD_weekly-builds-25645-Win-Conda_vc14.x-x86_64\bin\lib\site-packages\numpy\core\_internal.py", line 15, in <module>
    import ctypes
  File "C:\GIMP_2_9\FreeCAD_weekly-builds-25645-Win-Conda_vc14.x-x86_64\bin\lib\ctypes\__init__.py", line 468, in <module>
    GetLastError = windll.kernel32.GetLastError
  File "C:\GIMP_2_9\FreeCAD_weekly-builds-25645-Win-Conda_vc14.x-x86_64\bin\lib\ctypes\__init__.py", line 443, in __getattr__
    dll = self._dlltype(name)
  File "C:\GIMP_2_9\FreeCAD_weekly-builds-25645-Win-Conda_vc14.x-x86_64\bin\lib\ctypes\__init__.py", line 373, in __init__
    self._handle = _dlopen(self._name, mode)
Estudié ingeniería técnica industrial en España y sólo me ha servido para estar en el paro, no me contratan porque no tengo experiencia, y no tengo experiencia porque no me contratan. No debí estudiar esa carrera.
User avatar
Kunda1
Veteran
Posts: 13434
Joined: Thu Jan 05, 2017 9:03 pm

Re: Ticket #4450: When running FC 0.19 on Windows 7, it returns errors in the Report window

Post by Kunda1 »

Hey y'all is this still a problem ?
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
Post Reply