Markandeya schrieb:
> I am following the Step-by-Step Guide and have created the client and hours
> forms. They were working and i screwed something up. The Client form runs
> from main.py but trying to run it from the ClassDesigner gives this error:
> Attribute Error: 'None Type' object has no attribute 'BizClient'
> 
>   Of course it  is there as it runs from main.py and also the Hours form
> gives same error but says no attribute 'BizHours' . Must be a code problem
> but i couldn't find it.
>   Any help or ideas will be very helpful a i can't run the Hours form at
> all, even from main.py when i change the  app's MainFormClass to the Hours
> form.

This can happen when you don't start in the correct directory (it must
contain your biz package).

Maybe on startup dabo should check that the current directory is a valid
dabo project and print a meaningful error message otherwise? Or maybe
even chdir() to the parent directory of the form definition file if it
is not? http://trac.dabodev.com/ticket/1185 is a similar problem caused
by starting from a wrong directory.

-- Christoph


_______________________________________________
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