Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with <class 'AttributeError'>: 'NoneType' object has no attribute 'Objects' during the installation #26

Open
Krounet opened this issue Jun 25, 2023 · 0 comments

Comments

@Krounet
Copy link

Krounet commented Jun 25, 2023

Hello,

I'm testing OpenEMS and i would like to test FreeCAD-OpenEMS-Export. During the installation I got this message in the FreeCad console :

12:42:20 APP_CONTEXT set to FreeCAD 12:42:20 No Blender interface available. 12:42:20 No Blender interface available. 12:42:20 No Blender interface available. 12:42:20 No Blender interface available. 12:42:20 No Blender interface available. 12:42:20 No Blender interface available. 12:42:20 No Blender interface available. 12:42:20 No Blender interface available. 12:42:20 Traceback (most recent call last): File "C:/Users/mathi/AppData/Roaming/FreeCAD/Macro/FreeCAD-OpenEMS-Export.FCMacro", line 27, in <module> dlgPanel = FOE_mod.ExportOpenEMSDialog() File "C:\Users\mathi\AppData\Roaming\FreeCAD\Macro\FreeCAD-OpenEMS-Export/ExportOpenEMSDialog.py", line 181, in __init__ self.initLeftColumnTopLevelItems() File "C:\Users\mathi\AppData\Roaming\FreeCAD\Macro\FreeCAD-OpenEMS-Export/ExportOpenEMSDialog.py", line 1165, in initLeftColumnTopLevelItems items = self.cadHelpers.getOpenEMSObjects(filterStr) File "C:\Users\mathi\AppData\Roaming\FreeCAD\Macro\FreeCAD-OpenEMS-Export\utilsOpenEMS\GuiHelpers\CadInterface.py", line 66, in getOpenEMSObjects currentObjects = self.getObjects() File "C:\Users\mathi\AppData\Roaming\FreeCAD\Macro\FreeCAD-OpenEMS-Export\utilsOpenEMS\GuiHelpers\FreeCADHelpers.py", line 86, in getObjects return FreeCAD.ActiveDocument.Objects <class 'AttributeError'>: 'NoneType' object has no attribute 'Objects'

I put the files in the FreeCad macro repertory like this :

image

My FreeCad version is 0.20.2.

Someone had already this issue before ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant