473,287 Members | 1,651 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,287 software developers and data experts.

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

Hi,

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:
http://www.selenic.com/pipermail/mer...er/015039.html
and, as I forgot about it :( :
http://www.selenic.com/pipermail/mer...st/021072.html

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
http://bugs.python.org/issue763708
but this seems encoding related.

TIA

c
--
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/
Aug 28 '08 #1
1 1325
* Christian Ebert on Thursday, August 28, 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:
http://www.selenic.com/pipermail/mer...er/015039.html
and, as I forgot about it :( :
http://www.selenic.com/pipermail/mer...st/021072.html

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
http://bugs.python.org/issue763708
but this seems encoding related.
I gather from the overwhelming reaction that I am the only one
experiencing this ;-)

However, if I can provide more info that might be useful, just
tell me.

TIA

c
--
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/
Sep 5 '08 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Eric | last post by:
I am attempting to install the Zend Studio Server on a normal installation of MacOS X 10.2.8. I have downloaded ZendStudioServer-3.0.0a-Darwin-ppc (evaluation copy) and have gotten part way...
0
by: Javier Vazquez | last post by:
Hi Pardon me for being a newbie, but how do I install JMF on MacOS X? Does anyone know a website with a nice howto? I had no problem installing and running JMF on Windows, because Sun...
1
by: Han-Wen Nienhuys | last post by:
Hi there, this might not be the right group to ask, but I'm looking for some hints on making a drag & droppable application on MacOS X. I succeeded in producing a bundle that calls a python...
0
by: Art Werschulz | last post by:
Hi. I am running MacOS X 10.3.1 (Panther) on a G4 iMac. I am installing some Perl modules using the CPAN shell, i.e., I issue the command # perl -MCPAN -e shell and then type commands to the...
7
by: Rex Roger | last post by:
I'm looking for a C++ compiler for MacOS (10.3), any suggestion on what currently available.
12
by: GreenBayFan | last post by:
Hello, I am a computer science major. I have had HTML and Java, but not any JavaScript. I know they are similar, but there seem to be a lot of functions and methods I am not familiar with. Plus I...
0
by: David T | last post by:
Has anyone run across this error? When calling any of several visualization routines from FiPy, Python quits with a Bus Error I'm using MacOS X Tiger 10.4.3, and I've tried several builds...
0
by: kernel1983 | last post by:
I was trying to build PIL and pygame from the source on the MacOS. But when I typed 'sudo python setup.py install', it gives error msg : gcc -arch ppc -arch i386 -isysroot...
0
by: Samuel Bayer | last post by:
All - The Python that comes with MacOS 10.5 doesn't have select.poll. The MacOS X build from python.org does, and works fine in 10.5. Any idea why the Apple build is broken? Anybody come across...
0
by: MeoLessi9 | last post by:
I have VirtualBox installed on Windows 11 and now I would like to install Kali on a virtual machine. However, on the official website, I see two options: "Installer images" and "Virtual machines"....
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: Aftab Ahmad | last post by:
Hello Experts! I have written a code in MS Access for a cmd called "WhatsApp Message" to open WhatsApp using that very code but the problem is that it gives a popup message everytime I clicked on...
0
by: Aftab Ahmad | last post by:
So, I have written a code for a cmd called "Send WhatsApp Message" to open and send WhatsApp messaage. The code is given below. Dim IE As Object Set IE =...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: marcoviolo | last post by:
Dear all, I would like to implement on my worksheet an vlookup dynamic , that consider a change of pivot excel via win32com, from an external excel (without open it) and save the new file into a...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.