[Pythonmac-SIG] Py2app problem

Ronald Oussoren ronaldoussoren at mac.com
Tue Oct 12 19:46:19 CEST 2010


On 12 Oct, 2010, at 19:37, Ronald Oussoren wrote:
>> 
>> I can't seem to find this problem answered elsewhere. Does anybody have any suggestions?
> 
> If I interpret the stacktrace correctly one of the resources/datafiles you're trying to include in the application doesn't exist and py2app craps out in an unhelpful way.
> 
> To find the path that is causing problems you can give the following two commands on the (Pdb) prompt:
> 
> (Pdb) up
> (Pdb) p source
> 
> BTW. It seems you're lucky in a way, the exeption only occurs with absolute paths (starting with a '/') while non-existing relative paths cause a hanging proces.

The next release of py2app will print:

error: File doesn't exist: dummy

(Where "dummy" is the name of the data-file that couldn't be found)

Ronald

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3567 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/pythonmac-sig/attachments/20101012/99a5c307/attachment.bin>


More information about the Pythonmac-SIG mailing list