Clicking on a grid header is causing this when it is time to cycle to a
DESC sort. Ed, perhaps you can tell immediately where the problem is.
Otherwise, I'll look at it in a little bit.
> Traceback (most recent call last):
> File "/home/pmcnett/dabo/dabo/ui/uiwx/dGrid.py", line 3651, in
> __onWxHeaderMouseLeftUp
> self.raiseEvent(dEvents.GridHeaderMouseLeftUp, evt, col=col)
> File "/home/pmcnett/dabo/dabo/ui/uiwx/dPemMixin.py", line 910, in raiseEvent
> super(dPemMixin, self).raiseEvent(eventClass, nativeEvent, *args,
> **kwargs)
> File "/home/pmcnett/dabo/dabo/lib/eventMixin.py", line 93, in raiseEvent
> bindingFunction(event)
> File "/home/pmcnett/dabo/dabo/ui/uiwx/dGrid.py", line 3174, in
> _onGridHeaderMouseLeftUp
> self.processSort(col)
> File "/home/pmcnett/dabo/dabo/ui/uiwx/dGrid.py", line 2505, in processSort
> biz.sort(columnToSort, sortOrder, self.caseSensitiveSorting)
> File "/home/pmcnett/dabo/dabo/biz/dBizobj.py", line 884, in sort
> self._CurrentCursor.sort(col, ord, caseSensitive)
> File "/home/pmcnett/dabo/dabo/db/dCursorMixin.py", line 523, in sort
> raise dException.dException, _("Invalid Sort direction specified: ") + ord
> dabo.dException.dException: Invalid Sort direction specified: DES
Paul
_______________________________________________
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]