[Pythonmac-SIG] Please help! py2app broken: solved
Russell E. Owen
rowen at u.washington.edu
Thu Sep 11 22:45:06 CEST 2008
I fixed easy_install, changing the line that uses log (and causes a
crash) to a print statement (so that easy_install would work). I then
installed:
easy_install setuptools==dev06
easy_install py2app==dev
this complained about not being able to find modulegraph, so...
easy_install modulegraph==dev
I then worked around a bug in modulegraph that is described in another
posting.
This exposed the fact that I was missing a package (actually a .pth
file).
Fixing that produced:
File "build/bdist.macosx-10.3-fat/egg/macholib/MachO.py", line 178, in
load
raise ValueError("Unknown load command: %d" % (cmd_load.cmd,))
ValueError: Unknown load command: 27
> /Users/rowen/TUIRoot/BuildForMac/build/bdist.macosx-10.3-fat/egg/macholib/MachO.py(178)load()
I fixed this by:
easy_install macholib==dev
And now everything is working.
Thank you all for your help and advice. I'm relieved to be able to stick
with svn 1.5, since I make heavy use of svn.
-- Russell
In article <48C85FC3.6000401 at noaa.gov>,
Christopher Barker <Chris.Barker at noaa.gov> wrote:
> Russell E. Owen wrote:
> > I was able to run py2app fine until recently. I think the only thing I
> > did was upgrade to svn 1.5.1. Now I see this:
>
> Russell,
>
> this is a total WAG, but I know that setuptools has an incompatibility
> with svn 1.5 -- it tries to parse the .svn files, and crashes out. It as
> been fixed in the development version, but the fix has not made it into
> a release. You might try upgrading setuptools to the dev version. See
> this blog post:
>
> http://mrtopf.de/blog/plone/using-subversion-15-with-setuptools-in-python-tech
> nical/
>
> it's worth a try!
>
> -Chris
More information about the Pythonmac-SIG
mailing list