[Pythonmac-SIG] [py2app] "An unexpected error has occurred during execution of the main script"

Michael Glassford glassfordm at hotmail.com
Tue Aug 8 22:42:59 CEST 2006


Bob Ippolito wrote:
> 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.

I figured out my problem. I was opening the Console application, but 
somehow I had switched it to look at the wrong log file without 
realizing it (it almost always opens automatically to console.log, since 
that's the log file I'm almost always interested in).

As I expected, once I was able to look at the traceback it was easy to 
fix the problem.

Thanks for the reply,

Mike



More information about the Pythonmac-SIG mailing list