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

psyplot gui crashes upon launch #31

Open
nobodyinperson opened this issue Mar 23, 2022 · 2 comments
Open

psyplot gui crashes upon launch #31

nobodyinperson opened this issue Mar 23, 2022 · 2 comments

Comments

@nobodyinperson
Copy link

Code Sample, a copy-pastable example if possible

psyplot

Problem description

psyplot gui crashes upon launch

Expected Output

psyplot gui opens

psyplot
Attribute Qt::AA_UseSoftwareOpenGL must be set before QCoreApplication is created.
QWidget: Must construct a QApplication before a QWidget
[1]    3285 IOT instruction (core dumped)  psyplot tests/icon_test.nc

Output of psyplot -aV

psyplot:
  requirements:
    matplotlib: 3.5.1
    numpy: 1.22.3
    pandas: 1.4.1
    python: 3.10.2 (main, Jan 15 2022, 19:56:27) [GCC 11.1.0]
    xarray: 0.20.1
  version: 1.4.2+16.g9a1f4f8
psyplot_gui:
  requirements:
    pyqt: 5.15.6
    qt: 5.15.2
    qtconsole: 5.2.2
  version: 1.4.0

NOTE

I packaged psyplot and psyplot-gui into the AUR.

The above result is the same also when just using pip install psyplot psyplot-gui.

OS: Manjaro

@nobodyinperson
Copy link
Author

Here is an strace if it helps:

strace-psyplot.log.zip

@Chilipp
Copy link
Member

Chilipp commented Mar 24, 2022

thanks @nobodyinperson! I'll have a look at it ASAP, but I need to test this on my private Mac 😅 The error message does not really help and I strongly assume it's something related to PyQt5. Can you try to open other PyQT5-based Applications? E.g. spyder?

I packaged psyplot and psyplot-gui into the AUR.

What is AUR? (My apologies if this is a stupid question)

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