On Aug 8, 2006, at 6:57 AM, Michael Glassford wrote:
> I get this error running a py2app alias build (one
built with option
> alias=True) of an application, with the additional
information
> "AttributeError: 'NoneType' object has no
attribute 'endswith'; See
> the
> Console for a detailed traceback." However, no
additional
> information is
> written to the console.
There will be a full traceback on the console. This means
either the
terminal it was started from, or console.log.
> This alias build had been working for a long time. As
far as I know,
> there have been no recent configuration changes that
should cause this
> problem. If I make a non-alias build, it runs as it
should.
>
> As far as I can tell, this error happens before
site.py,
> __boot.py__ are
> executed: if I put print statements at the top of these
files, nothing
> is printed. I suppose that's what "during
execution of the main
> script"
> means?
No that's not what it means. Chances are, you just aren't
looking for
the print output in the right place.
> So my question is, how do I debug what's causing this
problem?
Figure out where the stdout is going. I can't help you
without a
reproducible example or at least a traceback to look at.
Also,
versions are useful information too (OS, Python, py2app).
-bob
_______________________________________________
Pythonmac-SIG maillist - Pythonmac-SIG python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig
|