Code: Select all
OS: Ubuntu 22.04.1 LTS (KDE/plasma)
Word size of FreeCAD: 64-bit
Version: 0.20.1.
Build type: Release
Branch: unknown
Hash: 22f524c0c755003c12234fab1bad6a9f696b661a
Python 3.10.6, Qt 5.15.3, Coin 4.0.0, Vtk 9.1.0, OCC 7.5.1
Locale: German/Germany (de_DE)
- I got this svg from https://openclipart.org/detail/196277/chainsaw and edited it in inkscape so there is finally just the contour of it left (see attachment)
- I Imported the svg using file->import
- i switched to draft workbench and clicked draft to sketch icon
- The output window pops up stating the following error:
Code: Select all
Running the Python command 'Draft_Draft2Sketch' failed:
Traceback (most recent call last):
File "/usr/share/freecad/Mod/Draft/draftguitools/gui_draft2sketch.py", line 62, in Activated
super(Draft2Sketch, self).Activated(name="Convert Draft/Sketch")
File "/usr/share/freecad/Mod/Draft/draftguitools/gui_base_original.py", line 307, in Activated
super(Modifier, self).Activated(name, noplanesetup, is_subtool)
File "/usr/share/freecad/Mod/Draft/draftguitools/gui_base_original.py", line 152, in Activated
Gui.Snapper.setTrackers()
File "/usr/share/freecad/Mod/Draft/draftguitools/gui_snapper.py", line 1673, in setTrackers
self.grid = trackers.gridTracker()
File "/usr/share/freecad/Mod/Draft/draftguitools/gui_trackers.py", line 972, in __init__
pick.style.setValue(coin.SoPickStyle.UNPICKABLE)
File "/usr/lib/python3/dist-packages/pivy/coin.py", line 3989, in __getattr__
field = self.getField(name)
File "/usr/lib/python3/dist-packages/pivy/coin.py", line 3873, in getField
return _coin.SoFieldContainer_getField(self, name)
<built-in function SoFieldContainer_getField> returned a result with an exception setRunning the Python command 'Draft_Draft2Sketch' failed:
Traceback (most recent call last):
File "/usr/share/freecad/Mod/Draft/draftguitools/gui_draft2sketch.py", line 62, in Activated
super(Draft2Sketch, self).Activated(name="Convert Draft/Sketch")
File "/usr/share/freecad/Mod/Draft/draftguitools/gui_base_original.py", line 307, in Activated
super(Modifier, self).Activated(name, noplanesetup, is_subtool)
File "/usr/share/freecad/Mod/Draft/draftguitools/gui_base_original.py", line 152, in Activated
Gui.Snapper.setTrackers()
File "/usr/share/freecad/Mod/Draft/draftguitools/gui_snapper.py", line 1673, in setTrackers
self.grid = trackers.gridTracker()
File "/usr/share/freecad/Mod/Draft/draftguitools/gui_trackers.py", line 972, in __init__
pick.style.setValue(coin.SoPickStyle.UNPICKABLE)
File "/usr/lib/python3/dist-packages/pivy/coin.py", line 3989, in __getattr__
field = self.getField(name)
File "/usr/lib/python3/dist-packages/pivy/coin.py", line 3873, in getField
return _coin.SoFieldContainer_getField(self, name)
<built-in function SoFieldContainer_getField> returned a result with an exception set