Open dmpop opened 1 year ago
Hi
I've been having issues with correctly packaging the AppImage. It seems to be a conflict between the host's python version and the appimage python version. What I think is happening is that the application is using your system's python and looking there for dependencies which it can't find.
A possible fix for this would be to install the required packages on your system's python, or just use the source code instead.
I should have a better look at AppImage packaging in the future.
got the same issue on linux mint as well.
isn't the whole point with appimages, that they should be a one-click hassle-free standalone build, without relying on anything else?
However, even if I installed the dependencies with pip, i still got errors:
$ chimpstackr
Traceback (most recent call last):
File "/tmp/.mount_chimps2Cbt7Z/usr/src/run.py", line 2, in <module>
import PySide6.QtCore as qtc
ImportError: /home/zeus/.local/lib/python3.10/site-packages/PySide6/QtCore.abi3.so: undefined symbol: _ZN8Shiboken4Enum20createScopedEnumItemEP11_typeobjectS2_PKcx
$
Yes, exactly. Unfortunately I never got the appimage working either...
The solution would be to just clone the repository and run the 'run.py' file. However I can understand this isn't a desirable solution. I hate to say it, but if you have access to a windows device, the '.exe' file should work. Alternatively I also created a snap package that should work: https://snapcraft.io/chimpstackr. However, it's an older version and I probably won't update that snap.
I hope to have some time to work on this project again in the future, so I can implement the appimage (finally). But for now this will have to do.
Regards, Noah
On Sun, Feb 26, 2023, 10:39 PM zeus @.***> wrote:
However, even if I installed the dependencies with pip, i still got errors:
$ chimpstackr Traceback (most recent call last): File "/tmp/.mount_chimps2Cbt7Z/usr/src/run.py", line 2, in
import PySide6.QtCore as qtc ImportError: /home/zeus/.local/lib/python3.10/site-packages/PySide6/QtCore.abi3.so: undefined symbol: _ZN8Shiboken4Enum20createScopedEnumItemEP11_typeobjectS2_PKcx $ — Reply to this email directly, view it on GitHub https://github.com/noah-peeters/ChimpStackr/issues/104#issuecomment-1445474144, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEHDGHKWRR7NN3DSMEWC4S3WZPEPNANCNFSM6AAAAAASMPYYXQ . You are receiving this because you commented.Message ID: @.***>
I don't use windows whatsoever, but i got it working anyways. I was just confused, that the run-script does not contain a shebang-line, so you have to execute it with python3 src/run.py
after installing the deps. Without explicitly giving an interpreter, the cursor just turned to a crosshair, and the script then crashes sometimes after with random image-magick-errors. The correct shebang-line for most people would likely be #!/usr/bin/env python3
.
The appimage worked fine also, after building it for myself with appimage-builder (zsync is required as additional dependency). I think you are right, that just not everything needed is going into the appimage in the releases, but building the appimage by yourself works however.
Good that you got it working.
Yes the appimage was also working on the system I built it for, but it stops working when executed on other systems. I don't know why.
On Mon, Feb 27, 2023, 9:13 AM zeus @.***> wrote:
I don't use windows whatsoever, but i got it working anyways. I was just confused, that the run-script does not contain a shebang-line, so you have to execute it with python3 src/run.py after installing the deps. Without explicitly giving an interpreter, the cursor just turned to a crosshair, and the script then crashes sometimes after with random image-magick-errors. The correct shebang-line for most people would likely be #!/usr/bin/env python3.
The appimage worked fine also, after building it for myself with appimage-builder (zsync is required as additional dependency). I think you are right, that just not everything needed is going into the appimage in the releases, but building the appimage by yourself works however.
— Reply to this email directly, view it on GitHub https://github.com/noah-peeters/ChimpStackr/issues/104#issuecomment-1445885695, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEHDGHKYSQYY3YEE26Z3OXTWZRO2LANCNFSM6AAAAAASMPYYXQ . You are receiving this because you commented.Message ID: @.***>
Same issue latest release on Mint 21/Ubuntu 22.04.
Alternatively I also created a snap package that should work: https://snapcraft.io/chimpstackr. However, it's an older version and I probably won't update that snap.
Which is quite a bummer, because the snap version doesn't start either:
chimpstackr cannot load program:
: Invalid argument
:(
The appimage worked fine also, after building it for myself with appimage-builder (zsync is required as additional dependency).
Could you give a short guidance how you did this? Since it seems were not expecting an updated and debugged version by the author hinselve, I need to bake my own cake as well in order to use this program.
Hi Latest appimage build should be fixed now: https://github.com/noah-peeters/ChimpStackr/releases/tag/v0.0.41.
Describe the bug
Running ChimpStackr (Release v0.0.38) on Linux Mint 21 results in an error message:
ModuleNotFoundError: No module named 'PySide6'
To Reproduce
ChimpStackr-latest-x86_64.AppImage
executable./ChimpStackr-latest-x86_64.AppImage
Expected behavior
The application starts correctly