[dabo-dev] Confused about ui pathing

Author: Ed Leafe

Posted: 2004-09-01 at 08:47:07

Hey Paul,

I thought I'd see what the status of the new wizard was, but got an

error running it:

File "./appWizard.py", line 406, in __init__

dabo.ui.dIcons.getIconBitmap("daboIcon128"))

AttributeError: 'module' object has no attribute 'dIcons'

The script has what I thought was the standard Dabo import for a UI

app:

import dabo.db, dabo.ui, dabo.biz

dabo.ui.loadUI("wx")

So I ran the old wizMaintenanceApp.py to see what I was doing wrong,

and got the following:

[ed@homer demo]$ python wizMaintenanceApp.py

Dabo Info Log: Wed Sep 1 09:44:27 2004: No default UI set.

(DABO_DEFAULT_UI)

UI ERROR: No module named dDataControlMixin

Traceback (most recent call last):

File "wizMaintenanceApp.py", line 863, in ?

wiz = WizMaintenanceApp()

File "wizMaintenanceApp.py", line 405, in __init__

dabo.ui.dIcons.getIconBitmap("daboIcon128"))

AttributeError: 'module' object has no attribute 'dIcons'

I understand the error about the dDataControlMixin, as that is

something you just moved, and somewhere it is still referenced using

the old module pathing. But what's up with the dIcons? What needs to be

changed to get this to work?

___/

/

__/

/

____/

Ed Leafe

http://leafe.com/

http://dabodev.com/

©2004 Ed Leafe