On Jul 24, 2009, at 11:35 AM, Jim McDonald wrote:
> My wxPython (2.8.10.1) was just downloaded and installed today, so I
> guess
> it's current.
>
> The update dialog says that the current revision is 5241.
>
> Now that I look, I see that the error message shows up on the
> console as
> soon as I select 'Preferences' from the 'Edit' menu in
> ClassDesigner. In
> response to 'Do you want to update now?' I say 'yes'. The 'Success'
> dialog
> pops up. But when I rerun ClassDesigner, it still reports Revision
> ~5230.
OK, that's just a wxPython-level warning. I guess I'll have to remove
the Dabo-level property that accesses it.
> Some of my apps run OK. One created with wizards works well. The
> 'Step-by-Step' tutorial works up to the point where the checkbox
> filter is
> applied. That filter does remove the 'paid' entries, but the checkbox
> doesn't remain checked. Checking it again simply removes whatever
> record is
> selected, even though it isn't 'paid'.
Yeah, someone else had mentioned that. I'll have to spend a little
more time investigating what is different on my machine than what I
wrote in that document.
> Another app, which is a slight variation of the 'Step-by-Step' app,
> fails
> repeatedly with an AttributeError (with which I'm becoming all too
> familiar)--"'NoneType' object has no attribute 'ContactsBizobj'".
> "''module' object has no attribute 'WhateverBizobj'" is another
> familiar
> face. ('ContactsBizobj' is a slightly modified version of
> HoursBizobj.) I
> get the same error in the 'Step-by-Step' app if I try to run the
> 'hours'
> form from ClassDesigner rather than from 'main.py'. I've pretty well
> ruled
> out typos as a source of these problems. That's the main reason why
> I was
> looking for updates.
The problem is that in order to find all the classes involved, Dabo
looks into the directories off of its Home Directory. It assumes that
there is a 'biz' directory that holds the 'biz' module for your app;
if not, self.Application.biz will be None instead of a reference to
the biz module.
To fix the error, I need to know a) if you followed the standard
directory structure (i.e., what dabo.quickStart() creates), and b) how
you launched your current session.
-- 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]