[MacOS X] plat-mac/errors.rsrc.df.rsrc not installed/created

Christian Ebert blacktrash at gmx.net
Thu Aug 28 21:23:31 CEST 2008


I am on MacOS 10.4.11, and have a minor recurring problem, when
using my own Python installation.

I only stumbled over it when using http operations with the
Mercurial SCM, and my /tmp/ folder was clobbered with *.rsrc
temporary files.

Some references:
and, as I forgot about it :( :

Apparently for some stuff plat-mac/macresource.py needs to create
plat-mac/errors.rsrc.df.rsrc. If that fails, at least that is how
I read macresource.py, it creates them via mkstemp in /tmp/.

Once I recognize the problem I can work around it by either

$ sudo mv /tmp/tmp<whatever>.rsrc /usr/local/lib/python2.5/plat-mac/errors.rsrc.df.rsrc

or by temporarily "chown myname plat-mac", and, once the file is
created, "chown root plat-mac" again.

My 2.5.2 install is under /usr/local, but other Mac users with
the same setup, do not have the problem.

I don't need/want the Apple Framework install, and again, others
do not have the problem with this setup.

Anyone any ideas?

The best I could google was
but this seems encoding related.


  Was heißt hier Dogma, ich bin Underdogma!
[ What the hell do you mean dogma, I am underdogma. ]

_F R E E_  _V I D E O S_  -->>  http://www.blacktrash.org/underdogma/

More information about the Python-list mailing list