Ed Leafe wrote:
> On Jun 27, 2008, at 11:06 AM, Paul McNett wrote:
>
>> File "/home/pmcnett/dabo/dabo/lib/datanav2/Form.py", line 255, in
>> setupPageFrame
>> currPage = self.pageFrame.SelectedPage
>> AttributeError: 'FrmProductionOrders' object has no attribute
>> 'pageFrame'
>
> Try the latest commit to see if it fixes the error.
Once I fixed the typo in dGrid, my application opens.
However, when I open the main dialog of the app:
Traceback (most recent call last):
File "/home/pmcnett/dabo/dabo/ui/uiwx/dPemMixin.py", line 533, in
__onWxKeyDown
self.raiseEvent(dEvents.KeyDown, evt)
File "/home/pmcnett/dabo/dabo/ui/uiwx/dPemMixin.py", line 922, in
raiseEvent
super(dPemMixin, self).raiseEvent(eventClass, nativeEvent, *args,
**kwargs)
File "/home/pmcnett/dabo/dabo/lib/eventMixin.py", line 92, in raiseEvent
bindingFunction(event)
File "/home/pmcnett/dabo/dabo/lib/datanav2/Grid.py", line 81, in
_onGridKeyDown
self.processEditRecord()
File "/home/pmcnett/dabo/dabo/lib/datanav2/Grid.py", line 74, in
processEditRecord
self.editRecord()
File "/home/pmcnett/py/datanav_additions/GrdChild.py", line 94, in
editRecord
self.EditForm.show()
File
"/home/pmcnett/py/sbs/shutter_studio/trunk/clients/shutter_studio/ui/DlgEditProductionOrderOpening.py",
line 310, in show
self.update()
File
"/home/pmcnett/py/sbs/shutter_studio/trunk/clients/shutter_studio/ui/DlgEditProductionOrderOpening.py",
line 357, in update
self.super()
File "/home/pmcnett/dabo/dabo/lib/autosuper/autosuper.py", line 176,
in __call__
return method(*p, **kw)
File "/home/pmcnett/dabo/dabo/ui/uiwx/dPemMixin.py", line 1205, in update
self.raiseEvent(dEvents.Update)
File "/home/pmcnett/dabo/dabo/ui/uiwx/dPemMixin.py", line 922, in
raiseEvent
super(dPemMixin, self).raiseEvent(eventClass, nativeEvent, *args,
**kwargs)
File "/home/pmcnett/dabo/dabo/lib/eventMixin.py", line 92, in raiseEvent
bindingFunction(event)
File "/home/pmcnett/dabo/dabo/ui/uiwx/dPemMixin.py", line 1182, in
__onUpdate
self.update()
File "/home/pmcnett/dabo/dabo/ui/uiwx/dPemMixin.py", line 1205, in update
self.raiseEvent(dEvents.Update)
File "/home/pmcnett/dabo/dabo/ui/uiwx/dPemMixin.py", line 922, in
raiseEvent
super(dPemMixin, self).raiseEvent(eventClass, nativeEvent, *args,
**kwargs)
File "/home/pmcnett/dabo/dabo/lib/eventMixin.py", line 92, in raiseEvent
bindingFunction(event)
File "/home/pmcnett/dabo/dabo/ui/uiwx/dPemMixin.py", line 1182, in
__onUpdate
self.update()
File "/home/pmcnett/dabo/dabo/ui/dDataControlMixinBase.py", line 115,
in update
self.Value = self.Source.getFieldVal(self.DataField)
File "/home/pmcnett/dabo/dabo/ui/uiwx/dControlItemMixin.py", line
367, in _setValue
self.KeyValue = value
File "/home/pmcnett/dabo/dabo/ui/uiwx/dControlItemMixin.py", line
223, in _setKeyValue
self.setSelection(self.Keys.index(key))
ValueError: list.index(x): x not in list
Unfortunately, I don't know which control this is happening with. There
are several dropdown lists in the dialog. That self.super() call is in
an overridden update() method of the dialog.
This problem was introduced somewhere between 4179 and HEAD.
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]