On Sep 1, 2007, at 10:14 PM, daryl warder wrote:

> the output with the modified dBizobj.py is:
>
>
>   REQUERY RecName
>   REQUERY FotoInf
>   REQUERY tbAssoc
>   Dabo Info Log: Sat Sep 01 21:58:29 2007: Application finished.
>
>   Traceback (most recent call last):
>     File "C:\projects\dabo\dabo\ui\uiwx\dGrid.py", line 297, in  
> IsEmptyCell
>       return not bizobj.getFieldVal(field, row)
>     File "C:\projects\dabo\dabo\biz\dBizobj.py", line 1286, in  
> getFieldVal
>       return cursor.getFieldVal(fld, row)
>     File "C:\projects\dabo\dabo\db\dCursorMixin.py", line 781, in  
> getFieldVal
>       raise dException.FieldNotFoundException, "%s '%s' %s" % (
>   dabo.dException.FieldNotFoundException: Field 'phType' does not  
> exist in the data set

        That's still puzzling. I am unable to reproduce anything like this  
here.

        One thing that is curious: there is the line after the last  
'REQUERY' output stating that the application terminated. Did you  
quit the app, or did the error cause the app to quit?

        If you're still willing to persevere, let's see what the cursor has  
in it. Modify dabo.db.dCursorMixin.py to insert the following debug  
line:

755     def getFieldVal(self, fld, row=None):
756             """ Return the value of the specified field in the current or  
specified row."""
757             if self.RowCount <= 0:
758                     raise dException.NoRecordsException, _("No records in 
the data  
set.")
759             if row is None:
760                     row = self.RowNumber
761
762             rec = self._records[row]
                print "ROW", row, "REC", rec
763             if isinstance(fld, (tuple, list)):

        Then post the output here.

-- Ed Leafe
-- http://leafe.com
-- http://dabodev.com




_______________________________________________
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