On Tuesday, May 15, 2012 11:46:05 AM John Fabiani wrote: > On Tuesday, May 15, 2012 01:21:43 PM Ed Leafe wrote: > > On May 15, 2012, at 1:18 PM, Ed Leafe wrote: > > >> File "/home/johnf/dabo/dabo/ui/uiwx/dGrid.py", line 1384, in > > >> _setPrecision>> > > >> > > >> dabo.ui.callAfterInterval(50, self.Parent.refresh) > > >> > > >> AttributeError: 'NoneType' object has no attribute 'refresh' > > >> > > > Are you creating columns independently, and then later adding them > > > to > > > the grid? That's what this error seems to imply: a column with no > > > Parent. > > > > Try the fix I just posted. > > > > -- Ed Leafe > > Paul's code with Precision added appears to work. However, my old code is > presenting new errors. >
The error is around the area that was corrected by Ed in the dCursorMixin- >_correctFieldType. if isinstance(field_val, pythonType): "TypeError: isinstance() arg 2 must be a class type, or tuple of classes and types" This error is the result of bizobj.requery() The "field_val" in this case is a string "ORANGE COUNTY DA'S - NORTH JUSTICE CENTER" pythonType = None I do NOT normally create a DataStructure for any of my bizobj's. Johnf _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users Searchable Archives: http://leafe.com/archives/search/dabo-users This message: http://leafe.com/archives/byMID/3956888.tMm8jefe3E@linux-12
