I just barely started using Dabo, so I'm using the version that was just
released in June.

Mike

On Wed, Jul 2, 2008 at 4:19 PM, Paul McNett <[EMAIL PROTECTED]> wrote:

> Mike Mabey wrote:
> > Nate:
> > Those changes didn't make a difference.  I'm still getting the following
> > error when I run the app with line "52" commented:
> >
> > Traceback (most recent call last):
> >   File "DecisionEntry.pyw", line 3, in <module>
> >   File "zipextimporter.pyo", line 82, in load_module
> >   File "dabo\__init__.pyo", line 129, in <module>
> >   File "dabo\dLocalize.pyo", line 53, in install
> >   File "dabo\dLocalize.pyo", line 73, in setLanguage
> >   File "gettext.pyo", line 469, in translation
> > IOError: [Errno 2] No translation file found for domain: 'dabo'
>
> Ok, this is expected, because your locales list in setup.py isn't being
> filled in.
>
> > I'm not sure what library you're talking about.  I've tried using both
> > bundle 1 and bundle 3 and the generated apps from both give me errors.  I
> > can't see any library or zip file or anything close to that among the
> files
> > generated with either bundles.  I have the dll's, but I can't open them
> as
> > archives even if I rename them.
>
> Sorry. Depending on how you bundle it, the .exe file can be unzipped to
> show you all the files bundled within. However, --bundle 3 doesn't work
> that way, it just puts all the library files into the distribution
> directory.
>
> I merely wanted you to look for a dabo.locale directory in there.
>
> > Sorry.  The errors I was referring to occurred when trying to run the
> app.
> > This occurs every time I run the app with line"52" uncommented.  Here
> they
> > are:
> >
> > Traceback (most recent call last):
> >   File "dabo\ui\__init__.pyo", line 44, in loadUI
> >   File "<string>", line 1, in <module>
> >   File "zipextimporter.pyo", line 82, in load_module
> >   File "dabo\ui\uiwx\__init__.pyo", line 65, in <module>
> >   File "zipextimporter.pyo", line 82, in load_module
> >   File "dabo\ui\uiwx\dSizerMixin.pyo", line 9, in <module>
> >   File "dabo\ui\uiwx\dSizerMixin.pyo", line 82, in dSizerMixin
> > TypeError: unsupported operand type(s) for +=: 'NoneType' and 'str'
> > Traceback (most recent call last):
> >   File "DecisionEntry.pyw", line 22, in <module>
> >   File "DecisionEntry.pyw", line 15, in main
> >   File "dabo\dApp.pyo", line 325, in start
> > AttributeError: 'dApp' object has no attribute 'uiApp'
>
> Ok, here's what I think is happening: with 52 commented, dabo.locale
> isn't being filled in, and dabo fails with the exception:
>
> IOError: [Errno 2] No translation file found for domain: 'dabo'
>
> Again, this would be expected. However, with 52 uncommented, the
> dabo.locale is filling correctly, but you are encountering a different
> reason why dabo isn't starting.
>
> I guess we should have asked before: what version and revision of Dabo
> are you using? Are you on Subversion? If you have a really recent
> version it is possible you are seeing fallout from some changes we've
> made recently. If you are on Subversion try reverting Dabo back to
> revision 4178, running your app, and then trying the setup.py thing
> again with line 52 uncommented.
>
> > Below is the contents of locales[] when line "52" isn't commented out.
>  With
> > it commented all I get is [], just like you said.
>
> Yep, this confirms my suspicions. We now need to figure out why your
> compiled app is giving you these two exceptions:
>
>    File "dabo\ui\uiwx\dSizerMixin.pyo", line 82, in dSizerMixin
>  TypeError: unsupported operand type(s) for +=: 'NoneType' and 'str'
>
>     File "dabo\dApp.pyo", line 325, in start
>  AttributeError: 'dApp' object has no attribute 'uiApp'
>
> Actually, the second one happens because of the first one. In order to
> know what line is line 82 in your copy of dSizerMixin.py, I need to know
> what Dabo revision you are running.
>
>
> > Thanks so much guys for trying to help me.  I know it's hard to
> troubleshoot
> > when you can't be in the same place as the person you're trying to help.
>
> You are welcome. Explicit python tracebacks are the most help in getting
> on the same page.
>
> Paul
>
>
>
[excessive quoting removed by server]

_______________________________________________
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]

Reply via email to