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

Segfault in podman container #644

Closed
brandon-feder opened this issue Oct 14, 2024 · 3 comments
Closed

Segfault in podman container #644

brandon-feder opened this issue Oct 14, 2024 · 3 comments

Comments

@brandon-feder
Copy link

I have built a container using podman and the following Dockerfile:

FROM debian:latest

RUN apt update
RUN apt -y install python3 python3-pip qt6-base-dev neovim
RUN pip install --break-system-packages \
    pyvista pyvistaqt PySide6 qtpy opencv-python qtawesome scikit-image

WORKDIR /mnt/workdir

When I start the container interactively, run python3 and import pyvistaqt, I get a segfault with no error message.

@larsoner
Copy link
Contributor

If in that same container you run for example glxgears or python -c "import pyvista; print(pyvista.Report())" do they succeed? If they don't then you don't have 3D support working properly yet so pyvistaqt won't be able to set up a GL context to use.

@brandon-feder
Copy link
Author

You are exactly right. Upon setting up a GL context, everything works as expected.

@larsoner
Copy link
Contributor

Okay great!

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

2 participants