You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
An error dialog box appears: “Name ‘nx’ is not defined” and the report view contains the trace below.
The toolbar stays as if it was still Part Design. If you switch to an other workbench and back to Sheet Metal, its toolbar would be empty of sheet metal tools (only standards tools are there).
19:43:49 NOTICE: Addon "/home/thomas/.local/share/FreeCAD/Mod/sheetmetal.backup1731333427.8204525" disabled by presence of ADDON_DISABLED stopfile
19:44:08 name 'nx' is not defined
19:44:08 Traceback (most recent call last):
File "/home/thomas/.local/share/FreeCAD/Mod/sheetmetal/./InitGui.py", line 68, in Initialize
import SheetMetalUnfoldCmd
File "/tmp/.mount_FreeCAPilFAf/usr/lib/python3.11/site-packages/shiboken2/files.dir/shibokensupport/feature.py", line 139, in _import
return original_import(name, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/thomas/.local/share/FreeCAD/Mod/sheetmetal/./SheetMetalUnfoldCmd.py", line 40, in <module>
import SheetMetalNewUnfolder
File "/tmp/.mount_FreeCAPilFAf/usr/lib/python3.11/site-packages/shiboken2/files.dir/shibokensupport/feature.py", line 139, in _import
return original_import(name, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/thomas/.local/share/FreeCAD/Mod/sheetmetal/./SheetMetalNewUnfolder.py", line 760, in <module>
def build_graph_of_tangent_faces(shp: Part.Shape, root: int) -> nx.Graph:
^^
@pierreporte , this is not exactly a bug, but rather a limitation of the addon manager.
You need to uninstall sheetmetal, refresh the addon manager cache then reinstall it, then it will prompt you to install the missing library dependency.
I need to figure a way to prompt that.
Indeed. I think it’s more an issue with the add-on manager. It should notify the user that an add-on has a new dependency as long as the add-on declares it.
I have improved the networkx detection system. It will now show the above quick fix message, but will not disable the WB (just revert to the old unfolder)
Describe your issue
FreeCAD version info + SheetMetal WB version
Put here any screenshots or videos (optional)
No response
The text was updated successfully, but these errors were encountered: