[Pyobjc-dev] [ pyobjc-Bugs-742862 ] NSApp().endSheet_() raising exception
Brought to you by:
ronaldoussoren
From: SourceForge.net <no...@so...> - 2003-05-24 20:26:59
|
Bugs item #742862, was opened at 2003-05-24 22:26 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=742862&group_id=14534 Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: Just van Rossum (jvr) Assigned to: Nobody/Anonymous (nobody) Summary: NSApp().endSheet_() raising exception Initial Comment: If you close the window the attached app (build with "python buildapp.py --link build") a sheet with one button pops up. If you click the button, and action is called which is tries to end the sheet by doing NSApp().endSheet_(self.testSheet) self.testSheet.orderOut_(self) However, NSApp().endSheet_() raises an exception that I can't figure out: NSInvalidArgumentException. An equivalent ObjC program behaves correctly. Quitting then additionally causes a GC error: Fatal Python error: unexpected exception during garbage collection I'm at a loss how to investigate this further. Btw. the behavior is identical between Python 2.2 + PyObjC 0.9 and Python CVS + PyObjC CVS. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=114534&aid=742862&group_id=14534 |