Skip to content

psyplot gui crashes upon launch #31

Description

@nobodyinperson

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

Details
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

Activity

nobodyinperson commented on Mar 23, 2022

@nobodyinperson
Author

Here is an strace if it helps:

strace-psyplot.log.zip

Chilipp commented on Mar 24, 2022

@Chilipp
Member

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions