On Sunday 24 January 2010 10:09:40 am John wrote:
> On Sunday 24 January 2010 10:06:55 am John wrote:
> > On Sunday 24 January 2010 09:54:53 am Ed Leafe wrote:
> > > On Jan 24, 2010, at 12:33 PM, John wrote:
> > > > this is not good - I have stepped through every line in uiwx.
> > > > __init__.py and I get no errors.
> > >
> > >   What if you add a print statement after the imports:
> > >
> > > print dabo.ui.dSizer
> > >
> > >   If it prints "<class 'dabo.ui.uiwx.dSizer.dSizer'>", then everything
> > > is fine. If it prints something like "<module 'dSizer' from
> > > 'dSizer.pyc'>", then you have a problem at that point.
> > >
> > >
> > > -- Ed Leafe
> >
> > <module 'dabo.ui.uiwx.dSizer' from
> > '/home/johnf/dabo/dabo/ui/uiwx/dSizer.pyc'>
> >
> > I'm getting module and not class???  What's next?
> >
> > Johnf
>
> FYI
> Even my test case (it works withour reporting any errors) prints
> <module 'dabo.ui.uiwx.dSizer' from
> '/home/johnf/dabo/dabo/ui/uiwx/dSizer.pyc'>
>
> Johnf

Even stranger when I add my menu (has the code to open the forms) to the test 
case form (which works without issue) each of the forms opens with out issue.  
I guess that sort of makes sense.  Each is just calling the MainForm class 
from the menu.

def onInstructorMload(self,evt):
        import esinstructor
        esinstrfrm =esinstructor.MainForm()
        esinstrfrm.show()

I deleted the DaboPreferences.db - no help.

I guess I'll have to revert back.  But I wish I had discovered what was 
causing the issue.  I'll wait a while in case you have another suggestion.



Johnf





_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev
Searchable Archives: http://leafe.com/archives/search/dabo-dev
This message: 
http://leafe.com/archives/byMID/[email protected]

Reply via email to