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





_______________________________________________
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