[Pyobjc-dev] [ pyobjc-Bugs-928678 ] FieldGraph images missing from project Resources group
Brought to you by:
ronaldoussoren
From: SourceForge.net <no...@so...> - 2004-04-03 01:50:59
|
Bugs item #928678, was opened at 2004-04-03 01:50 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=114534&aid=928678&group_id=14534 Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: David Remahl (chmod007) Assigned to: Nobody/Anonymous (nobody) Summary: FieldGraph images missing from project Resources group Initial Comment: The FieldGraph example crashes, when built and run using the .pbproj. Using buildapp.py works. The crash happens when mapImage is nil, and the reason it is nil, is that the project does not contain the two images as resources. The backtrace: 2004-04-03 03:49:20.119 FieldGraph[6779] An exception has occured: Traceback (most recent call last): File "/Users/chmod007/pyobjc/Examples/FieldGraph/build/ FieldGraph.app/Contents/Resources/Main.py", line 7, in ? AppHelper.runEventLoop() File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/ python2.3/site-packages/PyObjC/PyObjCTools/AppHelper.py", line 71, in runEventLoop NSApplicationMain(argv) File "/Users/chmod007/pyobjc/Examples/FieldGraph/build/ FieldGraph.app/Contents/Resources/CGraphController.py", line 21, in awakeFromNib self.graphView.setMapImage(self.mapImage) File "/Users/chmod007/pyobjc/Examples/FieldGraph/build/ FieldGraph.app/Contents/Resources/CGraphView.py", line 67, in setMapImage self.mapRect = ((0, 0), mapImage.size()) AttributeError: 'NoneType' object has no attribute 'size' ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=114534&aid=928678&group_id=14534 |