On Monday 17 September 2007 11:06, Ed Leafe wrote:
> On Sep 17, 2007, at 2:03 PM, Ed Leafe wrote:
> >     So my guess is that the temp cursor is not being marked as an
> > AuxCursor.
>
>       Yep, that was it.
>
>       John, try the latest dBizobj update.
>
> -- Ed Leafe
Traceback (most recent call last):
  File "/home/johnf/downloads/dabo/dabo/ui/uiwx/dControlMixin.py", line 21, in 
_onWxHit
    self.raiseEvent(dEvents.Hit, evt, *args, **kwargs)
  File "/home/johnf/downloads/dabo/dabo/ui/uiwx/dPemMixin.py", line 843, in 
raiseEvent
    super(dPemMixin, self).raiseEvent(eventClass, nativeEvent, *args, 
**kwargs)
  File "/home/johnf/downloads/dabo/dabo/lib/eventMixin.py", line 92, in 
raiseEvent
    bindingFunction(event)
  File "/home/johnf/pyProject/pyProject/RAClasses.py", line 1189, in onSave
    self.Form.save()
  File "/home/johnf/downloads/dabo/dabo/ui/uiwx/dForm.py", line 343, in save
    bizobj.saveAll()
  File "/home/johnf/downloads/dabo/dabo/biz/dBizobj.py", line 278, in saveAll
    startTransaction=False)
  File "/home/johnf/downloads/dabo/dabo/biz/dBizobj.py", line 693, in 
scanChangedRows
    func(*args, **kwargs)
  File "/home/johnf/downloads/dabo/dabo/biz/dBizobj.py", line 323, in save
    self._validate()
  File "/home/johnf/downloads/dabo/dabo/biz/dBizobj.py", line 891, in 
_validate
    message = self.validateRecord()
  File "/home/johnf/pyProject/pyProject/LotsBizobj.py", line 146, in 
validateRecord
    
clot=getNewLot(self.MainForm,datetime.date.today().year,self.getFieldVal('fk_species'),self.getFieldVal('fk_variety'),self.getFieldVal('fk_origin'))
  File "/home/johnf/pyProject/pyProject/RAClasses.py", line 2407, in getNewLot
    curnewlot= oForm.agschgridBizobj.getTempCursor() 
##oForm.conn.getDaboCursor()
  File "/home/johnf/downloads/dabo/dabo/biz/dBizobj.py", line 122, in 
getTempCursor
    crs = cf.getCursor(cursorClass).AuxCursor
  File "/home/johnf/downloads/dabo/dabo/db/dCursorMixin.py", line 2072, in 
_getAuxCursor
    self.__auxCursor = self.BackendObject.getCursor(self.__class__)
AttributeError: 'NoneType' object has no attribute 'getCursor'


-- 
John Fabiani


_______________________________________________
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/dabo-users/[EMAIL PROTECTED]

Reply via email to