Nate Lowrie wrote:
> On 10/2/07, Paul McNett <[EMAIL PROTECTED]> wrote:
>> Nate Lowrie wrote:
>>> On 10/2/07, Paul McNett <[EMAIL PROTECTED]> wrote:
>>>> Nate Lowrie wrote:
>>>>>> On 10/1/07, Paul McNett <[EMAIL PROTECTED]> wrote:
>>>>>>> I don't understand about the computer security thing.  You can just take
>>>>>>> a look at daboide/wizards/AppWizard/spec-setup.py.txt
>>>>> Did it and it works.  However I keep on generating a:
>>>>> Dabo Error Log: Tue Oct 02 08:35:08 2007: Could not load ui 'wx'.
>>>> That error gets generated but the app still runs?
>>> The app runs and reports the error when I close the app.
>>>
>>> It has been doing that when I run it in Python as source as well.
>> Well, grepping reveals that this message is generated from
>> dabo.lib.EasyDialogBuilder. Perhaps you could contact the author of that
>> module and find out why it is outputting that log message? :)
> 
> I'll look at it...

IIRC dabo.ui.loadUI() will return None if you try to load a UI again, 
but your code in EasyDialogBuilder says:

if not dabo.ui.loadUI("wx"):
        dabo.errorLog.write(...)

I think you just need to check for a None value separately from the bool 
evaluation...

-- 
pkm ~ http://paulmcnett.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