/Library/Caches/com.apple.xbs/Sources/AppKit/AppKit-1504.81.100/AppKit.subproj/NSBitmapImageRep.m:1296缺少com.apple.xbs文件夾,我該如何獲取它?
在Mac OS上的簡單的Python PyQt5 3程序產生誤差。我怎樣才能下載這個文件?
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'
程序代碼: http://pastebin.com/2HNqwY2C
您已經擁有該文件,但它是上線1296 – Montmons
失敗爲什麼不能我在我的電腦上發現了嗎?甚至檢查了隱藏的文件夾。我無法在其他我檢查過的Mac電腦上找到它,也沒有看到互聯網上的任何地方。 @ SB87 – gmonz
你應該尋找未命名'NSBitmapImageRep.m文件:1296'但'NSBitmapImageRep.m',它應該是這個文件夾裏面:'/Library/Caches/com.apple.xbs/Sources/AppKit/AppKit-1504.81.100/AppKit.subproj /'你有那個文件夾嗎? – Montmons