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

Ubuntu 24.04 Install Error #85

Open
sarahkevinking opened this issue Dec 29, 2024 · 4 comments
Open

Ubuntu 24.04 Install Error #85

sarahkevinking opened this issue Dec 29, 2024 · 4 comments

Comments

@sarahkevinking
Copy link

sarahkevinking commented Dec 29, 2024

I was unable to launch the application after installing through the App Center.
Version: latest/stable 2.4.46
Brand new machine Ubunutu 24.04

I tried opening the application through the Terminal to capture a stack trace.

qt.core.plugin.loader: In /snap/pygpt/338/kf5/usr/lib/x86_64-linux-gnu/qt5/plugins/iconengines/KIconEnginePlugin.so:
  Plugin uses incompatible Qt library (5.15.0) [release]
qt.core.plugin.loader: In /snap/pygpt/338/kf5/usr/lib/x86_64-linux-gnu/qt5/plugins/iconengines/libqsvgicon.so:
  Plugin uses incompatible Qt library (5.15.0) [release]
qt.core.plugin.loader: In /snap/pygpt/338/usr/lib/x86_64-linux-gnu/qt5/plugins/imageformats/libqgif.so:
  Plugin uses incompatible Qt library (5.15.0) [release]
qt.core.plugin.loader: In /snap/pygpt/338/usr/lib/x86_64-linux-gnu/qt5/plugins/imageformats/libqico.so:
  Plugin uses incompatible Qt library (5.15.0) [release]
qt.core.plugin.loader: In /snap/pygpt/338/usr/lib/x86_64-linux-gnu/qt5/plugins/imageformats/libqjpeg.so:
  Plugin uses incompatible Qt library (5.15.0) [release]
qt.core.plugin.loader: In /snap/pygpt/338/kf5/usr/lib/x86_64-linux-gnu/qt5/plugins/imageformats/libqgif.so:
  Plugin uses incompatible Qt library (5.15.0) [release]
qt.core.plugin.loader: In /snap/pygpt/338/kf5/usr/lib/x86_64-linux-gnu/qt5/plugins/imageformats/libqico.so:
  Plugin uses incompatible Qt library (5.15.0) [release]
qt.core.plugin.loader: In /snap/pygpt/338/kf5/usr/lib/x86_64-linux-gnu/qt5/plugins/imageformats/libqjpeg.so:
  Plugin uses incompatible Qt library (5.15.0) [release]
qt.core.plugin.loader: In /snap/pygpt/338/kf5/usr/lib/x86_64-linux-gnu/qt5/plugins/imageformats/libqpdf.so:
  Plugin uses incompatible Qt library (5.15.0) [release]
qt.core.plugin.loader: In /snap/pygpt/338/kf5/usr/lib/x86_64-linux-gnu/qt5/plugins/imageformats/libqsvg.so:
  Plugin uses incompatible Qt library (5.15.0) [release]
[33830:33830:1229/120327.178319:FATAL:credentials.cc(126)] Check failed: . : Permission denied (13)
/snap/pygpt/338/snaprun.sh: line 28: 33830 Trace/breakpoint trap   (core dumped) python3 $SNAP/src/pygpt_net/app.py "$@"
@d10r
Copy link

d10r commented Jan 11, 2025

I managed to run it on Ubuntu 24.04 by installing from pypi (see https://pypi.org/project/pygpt-net/).
However that installs version 2.1.3, which is from March 2024.
The reason seems to be that from 2.1.4. on, it requires python = ">=3.10,<3.12" (before that, it was python = ">=3.10,<3.13"). Ubuntu 24.04 has Python 3.12 installed by default, which is declared incompatible with more recent releases.

@szczyglis-dev
Copy link
Owner

szczyglis-dev commented Jan 13, 2025

Support for Python 3.12 and improved compatibility with the new Ubuntu versions in Snap will be released around next week (possibly even this week).

@szczyglis-dev
Copy link
Owner

  1. Support for Python 3.12 was added today (v2.4.47).

  2. As for Snap and the new Ubuntu – it's interesting. I downloaded the latest ISO (24.04.1 LTS), installed it on VBox, booted up the fresh system, and installed PyGPT from Snap via:

sudo snap install pygpt

It starts without any issues:

ubuntu24

Maybe it's a permissions issue for Snaps? Maybe AppArmor is blocking the app?

Does it run in "devmode"?

https://askubuntu.com/questions/783945/what-is-devmode-for-snaps

sudo snap install pygpt --devmode

If so, it's almost certainly a permissions issue, because really the important error is only this one:

[33830:33830:1229/120327.178319:FATAL:credentials.cc(126)] Check failed: . : Permission denied (13)

You can ignore the Qt incompatibility warnings, they are just warnings.

@d10r
Copy link

d10r commented Jan 14, 2025

that's great news, thanks!
I can confirm that the snap works in devmode.

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

3 participants