Issue
/Library/Caches/com.apple.xbs/Sources/AppKit/AppKit-1504.81.100/AppKit.subproj/NSBitmapImageRep.m:1296
is causing an error in a simple PyQt5 Python 3 program on Mac OS. How can I download this file?
2017-03-23 22:50:20.703 Python[94924:2805073] *** Assertion failure in - [NSBitmapImageRep initWithCGImage:], /Library/Caches/com.apple.xbs/Sources/AppKit/AppKit-1504.81.100/AppKit.subproj/NSBitmapImageRep.m:1296
2017-03-23 22:50:20.734 Python[94924:2805073] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Invalid parameter not satisfying: cgImage != NULL'
program code: http://pastebin.com/2HNqwY2C
Solution
Sounds like you are hitting a bug in QT: https://bugreports.qt.io/browse/QTBUG-58344
Based on the report it should be fixed in QT 5.8.1
To answer the literal question posed: NSBitmapImageRep is a class in the AppKit framework, which QT uses when an app runs on a Mac. As the referenced reddit user mentioned: There are no source files on your system, even temporarily. The line numbers included in those crash reports are intended for diagnosis of issues if you submit the reports to QT or Apple.
Answered By - Taylor
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.