0

A little background: I am creating a script to run data collection and provide the UI/tasks for a research study. Primary libraries being used throughout are Pygame, PyQt5, and threading, plus a few minor utility libraries.

I am running into an issue where my script exits on switching to a new widget in the stacked widget. When I reach around 18 widgets in, the script shuts down with exit code 139 (Interrupted by SIGKILL).

For reference, I am using this as a base for the stacked widget and fading: https://wiki.python.org/moin/PyQt/Fading%20Between%20Widgets

The transition between widgets on the stack follows the format below with some minor differences between functions. These functions are directly in the stacked widget class shown in the above link.

def setInitFixation(self):
    self.addWidget(InitFixation())

    self.setCurrentIndex(1)
    self.setCurrentWidget(self.widget(1))

    self.widget(0).deleteLater()

    self.currentWidget().nextButton.clicked.connect(self.setNextWidget)

Another piece that may be affecting it is part of the script launches 3 classes which all use Pygame for their implementation.

Rabbid76
  • 202,892
  • 27
  • 131
  • 174
tvanfossen
  • 25
  • 8

0 Answers0