On Saturday 05 April 2008 06:48:56 pm Ed Leafe wrote:
> On Apr 5, 2008, at 8:16 PM, Paul M¢Nett wrote:
> >>    Should be fixed in current SVN.
> >
> > FWIW, I don't think this fixes the SyntaxError he was getting. I think
> > they were separate problems...
>
>       I was assuming that the SyntaxError was something in his data. I was
> only concerned that the error log was printing out useless and
> confusing warnings.
>
> -- Ed Leafe
prodcostDescript is a virtualfield.
self.VirtualFields={'prodcostDescript':self.costtype}

def costtype(self):
 try:
   if self.Form.agprodcotypeBizobj.getFieldVal('ntrackby') == 0:  #weight
      return('Kg')
   else:
      return('Seed Cnt')
except:
        return('')

   
Dabo Error Log: Sun Apr  6 21:13:30 2008: Field 'prodcostDescript' does not 
exist in the DataStructure
Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/wx-2.8-gtk2-unicode/wx/_core.py", 
line 14345, in <lambda>
    lambda event: event.callable(*event.args, **event.kw) )
  File "/home/johnf/downloads/dabo/dabo/ui/uiwx/dPemMixin.py", line 436, in 
_bindDelayed
    mthd = eval(mthdString)
  File "<string>", line 0

    ^
SyntaxError: unexpected EOF while parsing



-- 
John Fabiani


_______________________________________________
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]

Reply via email to