On Oct 29, 2009, at 9:50 PM, jvandal wrote:
> File "c:\users\jim\appdata\local\temp\tmphpl5an.py", line 331, in
> createBizobjs
> bizClient = self.Application.biz.ClientBizobj(conn)
> AttributeError: 'NoneType' object has no attribute 'ClientBizobj'
This is because the framework tried but failed to add your bizobj
into its namespace. My guess is that you are running the Class
Designer from where that program is installed, but your application
directory is somewhere else. Dabo tries to add your bizobjs to its
application object namespace, so that you can refer to them as
"self.Application.biz.MyBizClass", but when running under the Class
Designer, the Application is the designer, not your app.
Sometimes exiting the Class Designer and re-opening the design helps.
Otherwise, you'll have to run the Class Designer from your app's home
directory:
cd \Path\to\my\app
python \Path\to\ide\stuff\ClassDesigner.py ui\MyFormClass.cdxml
-- 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]