By the way, I compiled the first module for the PyOnyx API and I'm running into a segmentation fault, when using this code.
Code:
import PyOnyx
from sys import argv
from PyQt4.QtGui import QApplication,QMessageBox
from PyQt4.QtCore import QObject
app = QApplication(argv)
app.setApplicationName("ack_widget")
about = PyOnyx.ui.MessageDialog(QMessageBox.Icon(QMessageBox.Information), app.tr(argv[1]), app.tr(argv[2]), QMessageBox.No | QMessageBox.Yes)
PyOnyx.sys.SysStatus.instance().setSystemBusy(False)
decision = about.exec_()
print decision
Any ideas how to debug a segmentation fault? It must be somehow related to the line with "about = PyOnyx.ui.MessageDialog(". Because when I comment out everything behind that line, the script runs fine. And the "PyOnyx.sys.SysStatus..." line runs fine, when tested separately.