Re: [dabo-users] Web update

Author: Jim McDonald

Posted: 2009-07-24 at 12:35:52

>

> Message: 6

> Date: Fri, 24 Jul 2009 10:20:35 -0500

> From: Ed Leafe <ed@leafe.com>

> Subject: Re: [dabo-users] Web update

> To: Dabo Users list <dabo-users@leafe.com>

> Message-ID: <F33204C5-E59F-444C-92CD-99DDE3B39789@leafe.com>

> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes

>

> On Jul 24, 2009, at 10:06 AM, Jim McDonald wrote:

>

>> When I run web update from within ClassDesigner, I get a message

>> saying

>> updates are available. Attempted update errors out with

>>

>> "Dabo Error Log: . . . : ListSpacing is not supported in wxPython

>> 2.8.10.1"

>>

>> So how do we do updates?

>

> Where does this error appear? During the update process, or while a

> Dabo app runs? Do your apps run OK, or do they crash?

>

> My guess is that this is the result of the oversight in the dropping

> of the Get/SetItemSpacing() of the wx.ListCtrl class that Robin Dunn

> mentioned; I assumed that this would be fixed in later wxPython

> releases.

>

> Can you also include your platform info?

>

>

> -- Ed Leafe

>

The error appears on the console during the update process.

The 'About' screen in my ClassDesigner says this:

Platform: Win

Python Version: 2.5.2 on win32

Dabo Version: Version 0.9.1; Revision ~5230

UI Version: 2.8.10.1 on wxMSW

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.

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'.

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.

Thanks,

Jim McDonald

©2009 Jim McDonald