Hi,
when trying to export a .step file from FreeCAD 0.21.1 to urdf using this framework I get the following error:
12:35:50 Running the Python command 'UrdfExport' failed:
Traceback (most recent call last):
File "/home/hiwi/.local/share/FreeCAD/Mod/freecad.cross/freecad/cross/ui/command_urdf_export.py", line 142, in Activated
txt += et.tostring(xml).decode('utf-8')
File "/tmp/.mount_FreeCAOelecY/usr/lib/python3.10/xml/etree/ElementTree.py", line 1102, in tostring
ElementTree(element).write(stream, encoding,
File "/tmp/.mount_FreeCAOelecY/usr/lib/python3.10/xml/etree/ElementTree.py", line 741, in write
qnames, namespaces = _namespaces(self._root, default_namespace)
File "/tmp/.mount_FreeCAOelecY/usr/lib/python3.10/xml/etree/ElementTree.py", line 842, in _namespaces
for elem in elem.iter():
'XmlForExport' object has no attribute 'iter'
I have exactly followed the installation guide. Any ideas on how to solve this issue? Thanks in advance!
Hi, when trying to export a .step file from FreeCAD 0.21.1 to urdf using this framework I get the following error:
I have exactly followed the installation guide. Any ideas on how to solve this issue? Thanks in advance!