[Pythonmac-SIG] NEVER MIND! Re: Another report on py2app error with Xcode 2.3

Daniel Lord daniellord at mac.com
Tue May 30 03:18:39 CEST 2006


Sheer stupidity on my part ;-)

On May 29, 2006, at 15:49, Daniel Lord wrote:

> I don't know if this helps at all, but here is the error I get...
>
> [daniello at mercury.local]$ python setup.py py2app -A
> running py2app
> Traceback (most recent call last):
>   File "setup.py", line 30, in ?
>     app = [app_data]
>   File "/Library/Frameworks/Python.framework/Versions/2.4/lib/ 
> python2.4/distutils/core.py", line 149, in setup
>     dist.run_commands()
>   File "/Library/Frameworks/Python.framework/Versions/2.4/lib/ 
> python2.4/distutils/dist.py", line 946, in run_commands
>     self.run_command(cmd)
>   File "/Library/Frameworks/Python.framework/Versions/2.4/lib/ 
> python2.4/distutils/dist.py", line 966, in run_command
>     cmd_obj.run()
>   File "/Library/Frameworks/Python.framework/Versions/2.4/lib/ 
> python2.4/site-packages/py2app/py2app/build_app.py", line 354, in run
>     self.initialize_plist()
>   File "/Library/Frameworks/Python.framework/Versions/2.4/lib/ 
> python2.4/site-packages/py2app/py2app/build_app.py", line 427, in  
> initialize_plist
>     plist = self.get_default_plist()
>   File "/Library/Frameworks/Python.framework/Versions/2.4/lib/ 
> python2.4/site-packages/py2app/py2app/build_app.py", line 306, in  
> get_default_plist
>     version = find_version(target.script)
>   File "/Library/Frameworks/Python.framework/Versions/2.4/lib/ 
> python2.4/site-packages/py2app/py2app/util.py", line 13, in  
> find_version
>     ast = compiler.parseFile(fn)
>   File "/Library/Frameworks/Python.framework/Versions/2.4/lib/ 
> python2.4/compiler/transformer.py", line 48, in parseFile
>     return parse(src)
>   File "/Library/Frameworks/Python.framework/Versions/2.4/lib/ 
> python2.4/compiler/transformer.py", line 52, in parse
>     return Transformer().parsesuite(buf)
>   File "/Library/Frameworks/Python.framework/Versions/2.4/lib/ 
> python2.4/compiler/transformer.py", line 129, in parsesuite
>     return self.transform(parser.suite(text))
>   File "<string>", line 117
>     def magicNumber:
>                    ^
> SyntaxError: invalid syntax
> [daniello at mercury.local]$
>
> This built fine under Xcode 2.2.3 though.
>
> I should note my environment is:
> OSX 10.4.6  i386 on Macbook Pro
> Xcode 2.3
> Python 2.4.3:  Universal-MacPython-2.4.3-2006-04-07.dmg
> PyObjc: pyobjc-1.3.8a0-py2.4-macosx10.4.dmg
>
> "Ever tried. Ever failed. No matter. Try again. Fail again. Fail  
> better."
> –Samuel Beckett
>
>
>
>
> _______________________________________________
> Pythonmac-SIG maillist  -  Pythonmac-SIG at python.org
> http://mail.python.org/mailman/listinfo/pythonmac-sig

Daniel Lord
daniellord at mac.com
---
"You will never regret getting up too early,
and you'll always regret getting up too late,
but sometimes you may regret giving up too late."
                           -- Mountaineer's Adage




-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/pythonmac-sig/attachments/20060529/73409820/attachment.html 


More information about the Pythonmac-SIG mailing list