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

Add Python to Linux dependencies #1747

Open
1 task done
newkind opened this issue May 29, 2024 · 3 comments
Open
1 task done

Add Python to Linux dependencies #1747

newkind opened this issue May 29, 2024 · 3 comments
Labels
needs investigation Further testing is required

Comments

@newkind
Copy link

newkind commented May 29, 2024

  • I confirm that this is an issue rather than a question.

Bug report

When installing the Hyperion on a generic linux - DietPi (https://dietpi.com/) in my case (which is based on Debian Bookworm) the installation went just fine but still I wasn't able to figure out why my installation doesn't work. After tinkering a little bit I noticed that hyperiond cannot start because Python dependencies weren't met. After installing the Python via dietpi-software everything started to work just fine.

In other words - I think that Python should be added to the dependencies for the Linux distros that don't install it automatically.

Steps to reproduce

Install Hyperion.ng using official script for Debian

What is expected?

Hyperion will start working just fine

What is actually happening?

Hyperiond doesn't start because the DietPi doesn't install Python by default as its a minimal Linux distro.

System

Hyperion Server:

  • Build: (HEAD detached at a93d79b) (Paulchen-Panther-cb85d2d/a93d79b-1705568419)
  • Build time: Jan 28 2024 10:21:59
  • Git Remote: https://github.com/hyperion-project/hyperion.ng
  • Version: 2.0.16
  • UI Lang: en (BrowserLang: pl)
  • UI Access: expert
  • Avail Screen Cap.: dispmanx,framebuffer,qt
  • Avail Video Cap.: v4l2
  • Avail Audio Cap.: audio
  • Avail Services: boblight,cec,effectengine,forwarder,flatbuffer,protobuffer,mDNS,SSDP,borderdetection
  • Config path: /root/.hyperion
  • Database: read/write
  • Mode: Non-GUI

Hyperion Server OS:

  • Distribution: Debian GNU/Linux 12 (bookworm)
  • Architecture: arm64
  • Kernel: linux (6.6.31-current-sunxi64 (WS: 64))
  • Root/Admin: true
  • Qt Version: 6.4.2
  • Python Version: 3.11.2
  • Browser: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:127.0) Gecko/20100101 Firefox/127.0
@Merisal
Copy link

Merisal commented Aug 13, 2024

Don't know if this is the same error I ran into since a few days now but if hyperiond try to start on my Kubuntu 24.04 it crashes with

Hyperion caught signal :SIGSEGV
2024-08-13T10:43:42.324 || CORE : /lib/x86_64-linux-gnu/libc.so.6(+0x45320) [0x765d0f845320]
2024-08-13T10:43:42.324 |
| CORE : /lib/x86_64-linux-gnu/libpython3.12.so.1.0(PyObject_GC_UnTrack+0x1f) [0x765d11325b3f]
2024-08-13T10:43:42.324 || CORE : /lib/x86_64-linux-gnu/libpython3.12.so.1.0(+0x1dc5f6) [0x765d111dc5f6]
2024-08-13T10:43:42.324 |
| CORE : /lib/x86_64-linux-gnu/libpython3.12.so.1.0(+0x1ce648) [0x765d111ce648]
2024-08-13T10:43:42.324 || CORE : /lib/x86_64-linux-gnu/libpython3.12.so.1.0(_PyModule_ClearDict+0x242) [0x765d111de692]
2024-08-13T10:43:42.324 |
| CORE : /lib/x86_64-linux-gnu/libpython3.12.so.1.0(+0x2ef1e0) [0x765d112ef1e0]
2024-08-13T10:43:42.324 || CORE : /lib/x86_64-linux-gnu/libpython3.12.so.1.0(Py_EndInterpreter+0x8e) [0x765d112f2fee]
2024-08-13T10:43:42.324 |
| CORE : hyperiond(+0x16d495) [0x5d67b1d4b495]
2024-08-13T10:43:42.324 || CORE : hyperiond(+0x15cb2f) [0x5d67b1d3ab2f]
2024-08-13T10:43:42.324 |
| CORE : /lib/x86_64-linux-gnu/libQt6Core.so.6(+0x27c48d) [0x765d1027c48d]
2024-08-13T10:43:42.324 || CORE : /lib/x86_64-linux-gnu/libc.so.6(+0x9ca94) [0x765d0f89ca94]
2024-08-13T10:43:42.324 |
| CORE : /lib/x86_64-linux-gnu/libc.so.6(+0x129c3c) [0x765d0f929c3c]
zsh: segmentation fault (core dumped) hyperiond

@Lord-Grey
Copy link
Collaborator

Which Python version have you build and run with?
I know that there issues with Python 12.
Try Python 11

@Merisal
Copy link

Merisal commented Aug 13, 2024

Which Python version have you build and run with? I know that there issues with Python 12. Try Python 11

Installed Python3.12.3 and installed 3.11 beside now. Seems to work.
I can start Hyperion from shell and menu.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs investigation Further testing is required
Projects
None yet
Development

No branches or pull requests

4 participants