[Pyobjc-dev] tableview_willDisplayCell_forTableColumn_row_ failure
Brought to you by:
ronaldoussoren
From: <bo...@pa...> - 2003-02-27 22:41:40
|
so, when i add the following method to my TableView delegate def tableView_willDisplayCell_forTableColumn_row_(self, aTableView, aCell, aColumn, rowIndex): print "tableview will display cell" the run window shows: tableview will display cell Traceback (most recent call last): File "/Users/rbp/Documents/build projects/X.app/Contents/Resources/__main__.py", line 19, in ? sys.exit(AppKit.NSApplicationMain(sys.argv)) objc.error: depythonifying 'char', got NoneType of -1 that last line is coming from ./Modules/objc/obj_support.m lines 853:855 the weird thing is that the print results show up in the Run window, so the method must be getting called. commenting out the two lines, and the failure doesnt happen. any ideas? thanks, bob |