-
Notifications
You must be signed in to change notification settings - Fork 66
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Shiboken dependency is picked up from local instead of packaged causing issues (was: Cannot start FreeCAD 1.0.0 AppImage (x86_64)) #363
Comments
You wrote url for aarch64, but command for x86_64 Please, check what you are really doing? |
Updated. The kernel version is at the end of the text coming from "uname -a". Or, do you need the whole output of that command? |
Please try last dev build |
The last dev build has the same issue. It looks like it picks up my local installation of "shiboken2" instead of the packaged one. Running:
has fixed the issue.
|
This appears to be a packaging issue. @luzpaz could you move this issue to the FreeCAD-Bundle repo? |
AppImage files contain all of the build artifacts along with the environment to run them. FreeCAD is linked against the It is possible that other environment variables may somehow cause an incorrect discovery of Python modules. Do you have any of these environment variables set in your host environment? |
I have some environment variables set so that local Python scripts can be found. But, the problem persists even after setting the "PATH" to a minimal value and clearing the other environment variables.
Checking:
This only happens when there is "shiboken2" at: I have moved away from packages in the "~/.local/lib" directory and have switched to a Python virtual environment. But, it may affect someone who has stuff installed at "~/.local/lib". The issue exists even if launching the "AppImage" from a Python virtual environment with "PATH" set to a minimal value (as above) and "PYTHONPATH" and "PYTHONPYCACHEPREFIX" set to nothing. Removing the package from "~/.local/lib/python3.11/site-packages" fixes the issue. Interestingly, this issue does not exist if I switch to a Python virtual environment, install "shiboken2" and run the "AppImage".
|
Is there an existing issue for this?
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.
OS: Debian GNU/Linux 12
Kernel: Linux 6.1.0-28-amd64
Full version info
Subproject(s) affected?
None
Anything else?
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: