On Monday, July 04, 2011 07:21:02 am John Fabiani wrote: > On Monday, July 04, 2011 04:49:09 am Ed Leafe wrote: > > dabo Commit > > Revision 6657 > > Date: 2011-07-04 04:49:08 -0700 (Mon, 04 Jul 2011) > > Author: Ed > > Trac: http://trac.dabodev.com/changeset/6657 > > > > Changed: > > U trunk/dabo/ui/uiwx/dGrid.py > > > > Log: > > Changed the repeated call to _getDaboVisibleCols() to a grid attribute > > that only gets calculated when the _syncColumnCount() method is called. > > This seems to fix the problem with grids and Python 2.7 on my systems; > > please verify that grids work with 2.7 on your systems. > > > > Changed the header context menu so that if ResizableColumns is False, the > > options to autosize the column is not available. > > > > Changed the background color of column 1 in the demo code to something a > > little less ugly. > > It appears that a new error is coming up anytime I open a grid. Here are > some of the messages I'm getting. > > New traceback - > > XXX lineno: 2187, opcode: 0 > Traceback (most recent call last): > File "/home/johnf/dabo/dabo/ui/uiwx/dPageFrameMixin.py", line 35, in > __onPageChanging > if self._beforePageChange(oldPageNum, newPageNum) is False: > File "/home/johnf/dabo/dabo/ui/uiwx/dPageFrameMixin.py", line 44, in > _beforePageChange > return self.beforePageChange(old, new) > File "esStudent.py", line 2187, in beforePageChange > self.Form.notifyUser("Please release edit mode before moving to the > next tab") > SystemError: unknown opcode > > XXX lineno: 2187, opcode: 0 > Traceback (most recent call last): > File "/home/johnf/dabo/dabo/ui/uiwx/dPageFrameMixin.py", line 35, in > __onPageChanging > if self._beforePageChange(oldPageNum, newPageNum) is False: > File "/home/johnf/dabo/dabo/ui/uiwx/dPageFrameMixin.py", line 44, in > _beforePageChange > return self.beforePageChange(old, new) > File "esStudent.py", line 2187, in beforePageChange > self.Form.notifyUser("Please release edit mode before moving to the > next tab") > SystemError: unknown opcode > > > > XXX lineno: 103, opcode: 0 > XXX lineno: 103, opcode: 0 >
Sorry I should have added - all still works in 2.6.5 these errors come from 2.7. I have tested on Linux and windows with similar results. I will try to create a dynamic grid example that creates the errors assuming it will help. Johnf _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev Searchable Archives: http://leafe.com/archives/search/dabo-dev This message: http://leafe.com/archives/byMID/[email protected]
