Bug#1038895: freecad: 'Path' workbench throw 'marshal data too short' error.

Petter Reinholdtsen pere at hungry.com
Thu Jun 22 19:53:58 BST 2023


Package: freecad
Version: 0.20.2+dfsg1-4
Severity: important

Dear Maintainer,

The 'Path' workbench throw 'marshal data too short' error when selected
in the GUI.  To reproduce, start FreeCAD from the menu and replace
'Start' with 'Path' in the Workbench pulldown selector.  The failure
make it impossible to use FreeCAD to generate tool paths for subtractive
machining, as far as I can tell.

The following information show up in the Report view:

20:46:12  marshal data too short
20:46:12  Traceback (most recent call last):
  File "<string>", line 92, in Initialize
  File "/usr/share/freecad/Mod/Path/PathScripts/PathGuiInit.py", line 40, in Startup
    from PathScripts import PathAdaptiveGui
  File "/usr/lib/python3/dist-packages/shiboken2/files.dir/shibokensupport/feature.py", line 139, in _import
    return original_import(name, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/share/freecad/Mod/Path/PathScripts/PathAdaptiveGui.py", line 24, in <module>
    import PathScripts.PathOpGui as PathOpGui
  File "/usr/lib/python3/dist-packages/shiboken2/files.dir/shibokensupport/feature.py", line 139, in _import
    return original_import(name, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/share/freecad/Mod/Path/PathScripts/PathOpGui.py", line 27, in <module>
    import PathScripts.PathGetPoint as PathGetPoint
  File "/usr/lib/python3/dist-packages/shiboken2/files.dir/shibokensupport/feature.py", line 139, in _import
    return original_import(name, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/share/freecad/Mod/Path/PathScripts/PathGetPoint.py", line 33, in <module>
    from pivy import coin
  File "/usr/lib/python3/dist-packages/shiboken2/files.dir/shibokensupport/feature.py", line 139, in _import
    return original_import(name, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/pivy/__init__.py", line 30, in <module>
    from .coin import SoDB, SoNodeKit, SoInteraction
  File "/usr/lib/python3/dist-packages/shiboken2/files.dir/shibokensupport/feature.py", line 139, in _import
    return original_import(name, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen importlib._bootstrap>", line 1178, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1149, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
  File "<frozen importlib._bootstrap_ext

No idea what could cause this.

-- System Information:
Debian Release: 12.0
  APT prefers stable-security
  APT policy: (500, 'stable-security'), (500, 'stable-debug'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.1.0-9-rt-amd64 (SMP w/4 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages freecad depends on:
ii  freecad-python3  0.20.2+dfsg1-4

Versions of packages freecad recommends:
ii  calculix-ccx  2.20-1
ii  graphviz      2.42.2-7+b3

Versions of packages freecad suggests:
pn  povray  <none>

-- no debconf information



More information about the debian-science-maintainers mailing list