FreeCAD / FreeCAD-Bundle

Stand-alone repo to Build and Deploy installable FreeCAD images
https://freecad.org
GNU Lesser General Public License v2.1
222 stars 57 forks source link

Material workbench content is missing in recent Windows weekly builds #210

Closed FEA-eng closed 3 months ago

FEA-eng commented 5 months ago

I've noticed that recent weekly builds for Windows are missing the content of the Material workbench and the following error occurs:

19:56:23  DLL load failed while importing MatGui: The specified module could not be found.
19:56:23  Traceback (most recent call last):
  File "E:\FreeCAD_weekly-builds-35720-2024-01-23-conda-Windows-x86_64-py310\Mod\Material\InitGui.py", line 41, in Initialize
    import MatGui
  File "E:\FreeCAD_weekly-builds-35720-2024-01-23-conda-Windows-x86_64-py310\bin\Lib\site-packages\shiboken2\files.dir\shibokensupport\feature.py", line 139, in _import
    return original_import(name, *args, **kwargs)

This also makes the FEM workbench unusable since materials can't be added.

I talked about that with @davesrocketshop and he suggested that build logs should be checked for missing DLL. I don't know who is responsible for Windows builds so I'm just reporting this here.

OS: Windows 10 build 19045
Word size of FreeCAD: 64-bit
Version: 0.22.0dev.35720 (Git)
Build type: Release
Branch: main
Hash: 00cd50bbf49c810555899efe112ec7595c76cd3a
Python 3.10.13, Qt 5.15.8, Coin 4.0.2, Vtk 9.2.6, OCC 7.6.3
Locale: Polish/Poland (pl_PL)
davesrocketshop commented 5 months ago

To clarify, the Material.DLL is missing content, which impacts the MatGui.DLL.

You should be able to see the following: `

import Material dir(Material) ['Material', 'MaterialManager', 'Model', 'ModelManager', 'ModelProperty', 'UUIDs', 'doc', 'file', 'loader', 'name', 'package', 'spec']

`

instead, this is seen: ['__doc__', '__file__', '__loader__', '__name__', '__package__', '__path__', '__spec__']

maxwxyz commented 3 months ago

Is this still relevant?

FEA-eng commented 3 months ago

Is this still relevant?

Currently, it's ok so I'll close this issue.