Ronald Oussoren wrote: > > On 5 Feb, 2007, at 22:04, altern wrote: > >> Ronald Oussoren wrote: >>> On 5 Feb, 2007, at 18:30, Chris Van Bael wrote: >>>> Hi, >>>> >>>> I'm getting essentially the same error for some time now. >>>> Could anybody please explain what is going wrong here exactly, because >>>> me and some other people are having the same error and re-installing >>>> py2app doesn't fix the problem. >>>> >>>> See: >>>> http://mail.python.org/pipermail/pythonmac-sig/2007-January/ >>>> 018645.html >>>> http://mail.python.org/pipermail/pythonmac-sig/2006-October/ >>>> 018390.html >>>> http://mail.python.org/pipermail/pythonmac-sig/2006-October/ >>>> 018391.html >>>> >>>> It would be a shame that I cannot provide a universal OS X version of >>>> our program because of this problem.. >>> Could you please try to provide an example that demonstrates te >>> problem? Without such an example there's little chance that I'll >>> look into this unless I happen to run into this problem myself. >> >> in my computer something as simple as just >> >> while 1: print 'looping' >> >> causes the error when trying to create an app. I also tried with some >> other basic scripts with same results > > What are the versions of py2app, macholib, altgraph, modulegraph on your > machine? Likewise for python itself. > > Just in case this is important: what version of OSX are you using, is it > an Intel or PPC system and do you have the Developer Tools installed?
from my first mail: > I am working on an old G3 ppc ibook, I am running OS 10.4.8 and python 2.4.4, > Py2app version is 0.3.5 . and on top of that : i have Xcode tools for 10.4, macholib-1.1-py2.4, altgraph-0.6.7-py2.4, modulegraph-0.7-py2.4 > Ronald >> >> enrike >> >> >>> Ronald >>>> Chris >>>> >>>> On 2/5/07, Bob Ippolito <[EMAIL PROTECTED]> wrote: >>>>> When you see an error like that, it means there's a bug in macholib >>>>> that caused it to produce a bogus file. Turning strip off doesn't >>>>> really fix anything... >>>>> >>>>> -bob >>>>> >>>>> On 2/5/07, altern <[EMAIL PROTECTED]> wrote: >>>>>> hi again >>>>>> >>>>>> I solved the problem by doing >>>>>> $ python setup.py py2app --no-strip >>>>>> >>>>>> I read this about strip >>>>>> --strip (-S) strip debug and local symbols from output >>>>>> (on by >>>>>> default, for compatibility) >>>>>> >>>>>> could anyone explain a bit more about what this is? or maybe >>>>>> point to >>>>>> somewhere i can read about it. I am interested because last time >>>>>> i used >>>>>> this machine i did not need to use this (only use it every now >>>>>> and then >>>>>> for testing on OSX), so I am trying to find out what is the >>>>>> difference >>>>>> from last time. >>>>>> >>>>>> thanks >>>>>> >>>>>> enrike >>>>>> >>>>>> >>>>>> altern wrote: >>>>>>> Hi >>>>>>> >>>>>>> I am getting this error when trying to use py2app. >>>>>>> >>>>>>> $ py2applet --make-setup glut_opengl.py >>>>>>> $ python setup.py py2app >>>>>>> ... >>>>>>> ... >>>>>>> stripping bz2.so >>>>>>> stripping zlib.so >>>>>>> stripping _codecs_tw.so >>>>>>> stripping umath.so >>>>>>> stripping binascii.so >>>>>>> /usr/bin/strip: for architecture i386 object: >>>>>>> /Users/xxx/ixi/python/dist/glut_opengl.app/Contents/MacOS/python >>>>>>> malformed object (unknown flavor for flavor number 0 in >>>>>>> LC_UNIXTHREAD >>>>>>> command 13 can't byte swap it) >>>>>>> /usr/bin/strip: for architecture i386 object: >>>>>>> /Users/xxx/ixi/python/dist/glut_opengl.app/Contents/MacOS/ >>>>>>> glut_opengl >>>>>>> malformed object (unknown flavor for flavor number 0 in >>>>>>> LC_UNIXTHREAD >>>>>>> command 10 can't byte swap it) >>>>>>> stripping saved 8991796 bytes (7898608 / 16890404) >>>>>>> >>>>>>> >>>>>>> I also tried with >>>>>>> $ python setup.py py2app --prefer-ppc >>>>>>> but i got the same error. Because of the '/usr/bin/strip: for >>>>>>> architecture i386 object' I thought it might be a problem with my >>>>>>> processor, note that I am working on an old G3 ppc ibook, I am >>>>>>> running >>>>>>> OS 10.4.8 and python 2.4.4, Py2app version is 0.3.5 . >>>>>>> >>>>>>> Later I tried with another script, one that does not use >>>>>>> pyOpengl, same >>>>>>> error again. >>>>>>> >>>>>>> thanks >>>>>>> >>>>>>> enrike >>>>>>> >>>>>> _______________________________________________ >>>>>> Pythonmac-SIG maillist - Pythonmac-SIG@python.org >>>>>> http://mail.python.org/mailman/listinfo/pythonmac-sig >>>>>> >>>>> _______________________________________________ >>>>> Pythonmac-SIG maillist - Pythonmac-SIG@python.org >>>>> http://mail.python.org/mailman/listinfo/pythonmac-sig >>>>> >>>> _______________________________________________ >>>> Pythonmac-SIG maillist - Pythonmac-SIG@python.org >>>> http://mail.python.org/mailman/listinfo/pythonmac-sig >>> _______________________________________________ >>> Pythonmac-SIG maillist - Pythonmac-SIG@python.org >>> http://mail.python.org/mailman/listinfo/pythonmac-sig >> > > _______________________________________________ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig