On Wednesday 19 November 2008 06:30:32 pm Ed Leafe wrote:
> On Nov 19, 2008, at 7:27 PM, johnf wrote:
> > I'm getting an error message ""Cannot populate without data for
> > alias" from
> > dDataSet.py in _populate.
> > I have a the following that cause the error:
> > try:
> >            billtoChoicesDS=localDS.execute('Select caddrno from
> > dataset')
> >
> > Of course the error message is correct the first time through my
> > code.  But
> > that's why I have it in a "try".  So how do I suppress the error
> > message?
>
>       try/except doesn't come into play here. The message is simply a log
> entry:
>
> if len(ds) == 0:
>       # Can't create and populate a table without a structure
>       dabo.errorLog.write(_("Cannot populate without data for alias %s")
>                       % alias)
>       return None
>
>
> -- Ed Leafe

The question will be moot later but currently the user is complaining about 
the messages appearing the in command prompt.  But I need the infomation to 
help find bugs so I have to leave it for now.  Thanks anyway.



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

Reply via email to