El 08/08/11 21:08, Ed Leafe escribió: > On Aug 8, 2011, at 2:01 PM, Ximo Nadal wrote: > >> - When I run self.Application.HomeDirectory on the ClassDessigner >> Command Window I get '/home/ximo/dabo/pycon_hours/ui'. Is that fine or >> should it be without /ui? > > Depends on where you were when you ran the Class Designer. You should > be in your app's root directory, and then edit the file with: python > /path/to/ClassDesigner.py ui/hours.cdxml > > Sounds like you were in the 'ui' directory when you ran the Class > Designer. Since the code that automagically loads bizobj class info assumes > you are in the app's root directory, it looks for a 'biz' directory off of > that. If you're in the ui directory, it won't find a 'biz' directory, and > won't be able to load the bizobj classes. > > > > -- Ed Leafe >
Hi, I thought something like that, so I double-checked that I was running the application from its root directory. This was my command line: ximo@taronger:~/dabo/pycon_hours$ ~/src/dabo/ide/ClassDesigner.py ui/hours.cdxml Thanks, -- [email protected] _______________________________________________ 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]
