ReferenceError: Cannot access attribute 'Shape' of deleted object #4

Open
opened 2025-05-12 12:02:47 +02:00 by pgp · 0 comments

11:42:02 pyException: Traceback (most recent call last): File "/home/pgp/.var/app/org.freecad.FreeCAD/data/FreeCAD/Macro/MultiExport-FreeCAD/MultiExport.FCMacro", line 7, in <module> from PySide2.QtWidgets import QWidget, QLabel, QSpinBox, QHBoxLayout, QListWidgetItem <class 'ModuleNotFoundError'>: No module named 'PySide2' 12:01:21 Traceback (most recent call last): 12:01:21 File "/home/pgp/.var/app/org.freecad.FreeCAD/data/FreeCAD/Macro/MultiExport-FreeCAD/MultiExport.FCMacro", line 301, in export 12:01:21 self.exportSVG(isCalepinage, dateFiles) 12:01:21 File "/home/pgp/.var/app/org.freecad.FreeCAD/data/FreeCAD/Macro/MultiExport-FreeCAD/MultiExport.FCMacro", line 234, in exportSVG 12:01:21 sk = Draft.make_sketch(sv0, autoconstraints=True) 12:01:21 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 12:01:21 File "/app/freecad/Mod/Draft/draftmake/make_sketch.py", line 95, in make_sketch 12:01:21 elif not hasattr(obj, "Shape"): 12:01:21 ^^^^^^^^^^^^^^^^^^^^^ 12:01:21 ReferenceError: Cannot access attribute 'Shape' of deleted object
file tested: https://cloud.aquilenet.fr/s/CBorLWTyxNYktGy
OS debian 12
freecda version: 1.1 git version: 40267

`11:42:02 pyException: Traceback (most recent call last): File "/home/pgp/.var/app/org.freecad.FreeCAD/data/FreeCAD/Macro/MultiExport-FreeCAD/MultiExport.FCMacro", line 7, in <module> from PySide2.QtWidgets import QWidget, QLabel, QSpinBox, QHBoxLayout, QListWidgetItem <class 'ModuleNotFoundError'>: No module named 'PySide2' 12:01:21 Traceback (most recent call last): 12:01:21 File "/home/pgp/.var/app/org.freecad.FreeCAD/data/FreeCAD/Macro/MultiExport-FreeCAD/MultiExport.FCMacro", line 301, in export 12:01:21 self.exportSVG(isCalepinage, dateFiles) 12:01:21 File "/home/pgp/.var/app/org.freecad.FreeCAD/data/FreeCAD/Macro/MultiExport-FreeCAD/MultiExport.FCMacro", line 234, in exportSVG 12:01:21 sk = Draft.make_sketch(sv0, autoconstraints=True) 12:01:21 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 12:01:21 File "/app/freecad/Mod/Draft/draftmake/make_sketch.py", line 95, in make_sketch 12:01:21 elif not hasattr(obj, "Shape"): 12:01:21 ^^^^^^^^^^^^^^^^^^^^^ 12:01:21 ReferenceError: Cannot access attribute 'Shape' of deleted object ` file tested: https://cloud.aquilenet.fr/s/CBorLWTyxNYktGy OS debian 12 freecda version: 1.1 git version: 40267
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: thomalex.moreau/MultiExport-FreeCAD#4
No description provided.