Skip to content
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

OpenSCAD appimage can't be launched from FreeCAD appimage #147

Open
2 tasks done
anvilvapre opened this issue Dec 27, 2022 · 7 comments
Open
2 tasks done

OpenSCAD appimage can't be launched from FreeCAD appimage #147

anvilvapre opened this issue Dec 27, 2022 · 7 comments

Comments

@anvilvapre
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Version

0.20 (Release)

Full version info

[code]
OS: Ubuntu 22.04.1 LTS
Word size of FreeCAD: 64-bit
Version: 0.20.1.29410 (Git) AppImage
Build type: Release
Branch: (HEAD detached at 0.20.1)
Hash: f5d13554ecc7a456fb6e970568ae5c74ba727563
Python 3.10.5, Qt 5.15.4, Coin 4.0.0, Vtk 9.1.0, OCC 7.6.2
Locale: C/Default (C)
[/code]

Subproject(s) affected?

Core

Problem description

Dependency errors for AppImage on Ubuntu LTS 22.

Ubuntu 22.04.1 LTS

libpci.so.3: cannot open shared object file

./FreeCAD_0.20-1-2022-08-20-conda-Linux-x86_64-py310.AppImage                                          
FreeCAD 0.20.1, Libs: 0.20.1R29410 (Git)                                                                                       © Juergen Riegel, Werner Mayer, Yorik van Havre and others 2001-2022                                                           
FreeCAD is free and open-source software licensed under the terms of LGPL2+ license.                                           FreeCAD wouldn't be possible without FreeCAD community.                                                                        
  #####                 ####  ###   ####                                                                                       
  #                    #      # #   #   #                                                                                        #     ##  #### ####  #     #   #  #   #                                                                                      
  ####  # # #  # #  #  #     #####  #   #                                                                                      
  #     #   #### ####  #    #     # #   #                                                                                        #     #   #    #     #    #     # #   #  ##  ##  ##          
  #     #   #### ####   ### #     # ####   ##  ##  ##                                                                          
                                                                                                                               Addon Manager Warning: Could not import QtWebEngineWidgets, it seems to be missing from your system. Please use your system's p
ackage manager to install the python3-pyside2.qtwebengine* and python3-pyside2.qtwebchannel packages, and if possible alert your package creator to the missing dependency. Display of package README will be limited until this dependency is resolved.      Traceback (most recent call last):                             
  File "<string>", line 1, in <module>  

Console shows:

17:48:32  Addon Manager Warning: Could not import QtWebEngineWidgets, it seems to be missing from your system. Please use your system's package manager to install the python3-pyside2.qtwebengine* and python3-pyside2.qtwebchannel packages, and if possible alert your package creator to the missing dependency. Display of package README will be limited until this dependency is resolved.
17:48:36  Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/tmp/.mount_FreeCANY3muD/usr/lib/python3.10/site-packages/shiboken2/files.dir/shibokensupport/feature.py", line 139, in _import
    return original_import(name, *args, **kwargs)
<class 'ImportError'>: libpci.so.3: cannot open shared object file: No such file or directory
17:48:36  libpci.so.3: cannot open shared object file: No such file or directory
17:48:36  Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/tmp/.mount_FreeCANY3muD/usr/lib/python3.10/site-packages/shiboken2/files.dir/shibokensupport/feature.py", line 139, in _import
    return original_import(name, *args, **kwargs)
<class 'ImportError'>: libpci.so.3: cannot open shared object file: No such file or directory
17:48:36  libpci.so.3: cannot open shared object file: No such file or directory

Anything else?

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
@luzpaz luzpaz transferred this issue from FreeCAD/FreeCAD Dec 28, 2022
@luzpaz
Copy link
Collaborator

luzpaz commented Dec 28, 2022

@looooo have you seen this issue before ?

@looooo
Copy link
Contributor

looooo commented Dec 28, 2022

@anvilvapre can you try FreeCAD 0.20.2 and see if the issue remains? In my case only libfuse was missing. But I am not sure if libfuse should be bundled

OS: Ubuntu 22.04.1 LTS (ubuntu:GNOME/ubuntu)
Word size of FreeCAD: 64-bit
Version: 0.20.2.29603 (Git) AppImage
Build type: Release
Branch: (HEAD detached at 0.20.2)
Hash: 930dd9a76203a3260b1e6256c70c1c3cad8c5cb8
Python 3.10.8, Qt 5.15.4, Coin 4.0.0, Vtk 9.1.0, OCC 7.6.3
Locale: German/Austria (de_AT)
Installed mods: 
  * Assembly4 0.12.5
  * Assembly3 0.11.3

@anvilvapre
Copy link
Author

anvilvapre commented Dec 28, 2022

sudo apt-get install libpci3 resolved it. just wanted to report it, so you can perhaps improve the app image.

@anvilvapre
Copy link
Author

btw, i installed xorg on top of an ubuntu-server image. so possibly ubuntu desktop installs already include pci3 as a dependency somehow(?). i suspect some python library uses the so (Qt?). https://libpci.readthedocs.io/en/latest/installation.html.

@adrianinsaval
Copy link
Member

In my case only libfuse was missing. But I am not sure if libfuse should be bundled

from my understanding libfuse is needed to mount the appimage in the first place so bundling it wouldn't help anyways, this was a pretty widely talked about problem for ubuntu 22.04 which stopped shipping it by default and made appimages in general not able to run by default

@looooo
Copy link
Contributor

looooo commented Jan 19, 2023

In my case only libfuse was missing. But I am not sure if libfuse should be bundled

from my understanding libfuse is needed to mount the appimage in the first place so bundling it wouldn't help anyways, this was a pretty widely talked about problem for ubuntu 22.04 which stopped shipping it by default and made appimages in general not able to run by default

ah thanks for the information. It's a pity libfuse is not bundled into ubuntu 22.04 anymore. But anyways it's easy to install this library via apt...

@luzpaz
Copy link
Collaborator

luzpaz commented Mar 13, 2023

Encountered again in FreeCAD/FreeCAD#8821 (comment)

@adrianinsaval adrianinsaval changed the title AppImage, missing dependencies, Ubuntu OpenSCAD appimage can't be launched from FreeCAD appimage Jan 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants