Skip to content

Shiboken dependency is picked up from local instead of packaged causing issues (was: Cannot start FreeCAD 1.0.0 AppImage (x86_64)) #363

Open
@nvdl

Description

Is there an existing issue for this?

  • I have searched the existing issues

Problem description

Downloaded the latest version from https://www.freecad.org/downloads.php
URL: https://github.com/FreeCAD/FreeCAD/releases/download/1.0.0/FreeCAD_1.0.0-conda-Linux-x86_64-py311.AppImage

But it aborts when trying to run it from the command line.

chmod +x FreeCAD_1.0.0-conda-Linux-x86_64-py311.AppImage
./FreeCAD_1.0.0-conda-Linux-x86_64-py311.AppImage
FreeCAD 1.0.0, Libs: 1.0.0R39109 (Git)
(C) 2001-2024 FreeCAD contributors
FreeCAD is free and open-source software licensed under the terms of LGPL2+ license.

AttributeError: module 'shibokensupport.signature.loader' has no attribute 'finish_import'
Fatal Python error: init_phase_2: could not initialize part 2
Python runtime state: initialized

Current thread 0x00007fa821d44840 (most recent call first):
  File "/home/nvd/.local/lib/python3.11/site-packages/shiboken2/__init__.py", line 30 in <module>
  File "<frozen importlib._bootstrap>", line 241 in _call_with_frames_removed
  File "<frozen importlib._bootstrap_external>", line 940 in exec_module
  File "<frozen importlib._bootstrap>", line 690 in _load_unlocked
  File "<frozen importlib._bootstrap>", line 1147 in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 1176 in _find_and_load
  File "/tmp/.mount_FreeCAmiDdMj/usr/lib/python3.11/site-packages/PySide2/__init__.py", line 31 in _setupQtDirectories
  File "/tmp/.mount_FreeCAmiDdMj/usr/lib/python3.11/site-packages/PySide2/__init__.py", line 80 in <module>
  File "<frozen importlib._bootstrap>", line 241 in _call_with_frames_removed
  File "<frozen importlib._bootstrap_external>", line 940 in exec_module
  File "<frozen importlib._bootstrap>", line 690 in _load_unlocked
  File "<frozen importlib._bootstrap>", line 1147 in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 1176 in _find_and_load
  File "/tmp/.mount_FreeCAmiDdMj/usr/Ext/PySide/__init__.py", line 2 in <module>
  File "<frozen importlib._bootstrap>", line 241 in _call_with_frames_removed
  File "<frozen importlib._bootstrap_external>", line 940 in exec_module
  File "<frozen importlib._bootstrap>", line 690 in _load_unlocked
  File "<frozen importlib._bootstrap>", line 1147 in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 1176 in _find_and_load
  File "/tmp/.mount_FreeCAmiDdMj/usr/Mod/AddonManager/AddonManager.py", line 35 in <module>
  File "<frozen importlib._bootstrap>", line 241 in _call_with_frames_removed
  File "<frozen importlib._bootstrap_external>", line 940 in exec_module
  File "<frozen importlib._bootstrap>", line 690 in _load_unlocked
  File "<frozen importlib._bootstrap>", line 1147 in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 1176 in _find_and_load
  File "/tmp/.mount_FreeCAmiDdMj/usr/Mod/AddonManager/InitGui.py", line 6 in <module>
  File "<string>", line 142 in RunInitGuiPy
  File "<string>", line 205 in InitApplications
  File "<string>", line 283 in <module>

Extension modules: FreeCAD, FreeCADGui, shiboken2.shiboken2, PySide2.QtCore (total: 4)
/tmp/.mount_FreeCAmiDdMj/AppRun: line 31: 113684 Aborted                 "${MAIN}" "$@"

OS: Debian GNU/Linux 12
Kernel: Linux 6.1.0-28-amd64

Full version info

Cannot as it does not reach that point.

Subproject(s) affected?

None

Anything else?

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions