[PyQt] com.apple.xbs Error-- Please help- Thank you

David Cortesi davecortesi at gmail.com
Sun Mar 26 13:43:11 BST 2017


The code looks absolutely normal. The folder /Library/Caches/ should exist;
the name suggests its contents would be transient, probably deleted when
the app ends.

The filename contains the current date and time, again suggesting a nonce
file soon deleted.

If you google the heart of the message, NSInternalInconsistencyException,
you get hits that might be relevant.

But first, the only image related code is QIcon('exit.png'). That's what
might not exist and so can't be cached. Try making the QAction without an
icon to see if the issue goes away.

Also on Mac, the usual and expected quit accelerator is command-q, not
command-e, and the menu item is always Quit or Quit appname.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20170326/917bda8a/attachment.html>


More information about the PyQt mailing list