AppImageCommunity / pkg2appimage

Tool and recipes to convert existing deb packages to AppImage
http://appimage.org
MIT License
696 stars 215 forks source link

Can't run PyQt5 app packaged in AppImage #305

Closed ghost closed 6 years ago

ghost commented 6 years ago

Can't run AppImage of Pyslvs (PyQt5 app) and @kmolyuan (it's developer) can't give simple instruction how solve this issue.

OS: MX Linux MX-17 (Debian 9 "Stretch")

Here is terminal output:

$ ./pyslvs-18.1.0.glibc2.17-x86_64.AppImage
zenity, kdialog, Xdialog missing. Skipping /var/tmp/.mount_jF5uhU/usr/bin//pyslvs.wrapper.
Traceback (most recent call last):
  File "/var/tmp/.mount_jF5uhU/usr/bin/pyslvs", line 6, in <module>
    from core import *
  File "/var/tmp/.mount_jF5uhU/usr/bin/core/__init__.py", line 10, in <module>
    from .info import *
  File "/var/tmp/.mount_jF5uhU/usr/bin/core/info/__init__.py", line 9, in <module>
    from .info import (
  File "/var/tmp/.mount_jF5uhU/usr/bin/core/info/info.py", line 21, in <module>
    import platform
  File "/usr/lib/python3.5/platform.py", line 117, in <module>
    import sys, os, re, subprocess
  File "/usr/lib/python3.5/subprocess.py", line 50, in <module>
    import signal
  File "/usr/lib/python3.5/signal.py", line 3, in <module>
    from functools import wraps as _wraps
  File "/var/tmp/.mount_jF5uhU/usr/lib/python3.5/functools.py", line 23, in <module>
    from weakref import WeakKeyDictionary
  File "/var/tmp/.mount_jF5uhU/usr/lib/python3.5/weakref.py", line 12, in <module>
    from _weakref import (
ImportError: cannot import name '_remove_dead_weakref'
$ 

It's developer can't tell what directly missed and which package lost/should be additionally installed.

REFERENCE

probonopd commented 6 years ago

As stated in the referenced ticket,

The AppImage should be made in a way that Python and all of its modules are loaded from within the AppImage. Nothing from the system should be used.

The AppImage is defective and needs to be fixed.