Re: py2app doesn't work to create standalone dist

"Diez B. Roggisch" <[email protected]> Fri, 28 Sep 2012 13:35:35 +0200
Newsgroups gmane.comp.python.pyobjc.devel
Message-ID <[email protected]>
On Sep 28, 2012, at 1:24 PM, Ronald Oussoren wrote:

> 
> 
> On Sep 28, 2012, at 11:14 AM, "Diez B. Roggisch" <[email protected]> wrote:
> 
>> 
>> Bump. Nobody seen this? I tried with a freshly re-installed Python 2.7, with new pyobjc and py2app 0.6.4. Same issue. It seems kind of random at which packet it crashes, if that help.
>> 
>> I'm really looking for a solution, because I finally would have an actually commercial project I *need* to ship an app, instead of private stuff I can run as aliased bundle, so any help is much appreciated.
>  
> 
> I haven't seen this before. You could try running with pdb to see if that gives you more information?

I tried, but it failed randomly, so pdb wasn't of much use.

The fun thing is: I wanted to investigate further, and re-iterated the py2app some times. And lo and behold, eventually it would work. 

So I started working on my project for now, as it seems I can get things to work eventually.

> 
> Can you build the sample projects that ship with py2app and pyobjc? If those work you could try to minimize your setup.py file and then add in stuff until building fails.


I did that - and funnily enough, it works. For all the examples in 

 pyobjc-framework-Cocoa/Examples/AppKit/CocoaBindings/

at least.

So it might be something that is local to my project. Which is strange, but heck, nothing is impossible. I will try & see if the issue rises again. The new project I started will feature a lot of the code & modules of the failing one (which was the reason I picked it in the first place), and I'll keep an eye on if and when this will happen again.

Thanks for taking time to think about this!

Diez
------------------------------------------------------------------------------
Got visibility?
Most devs has no idea what their production app looks like.
Find out how fast your code is with AppDynamics Lite.
http://ad.doubleclick.net/clk;262219671;13503038;y?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html