Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, is already up and running.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: st: file already exists error

From   Daniel Menes <>
Subject   Re: st: file already exists error
Date   Sat, 27 Mar 2010 10:56:20 -0400

I run into this problem on Stata 9 a lot (I haven't upgraded in a while), mostly when I am running multiple Stata sessions simultaneously. If that is the case, you might be able to avoid the problem by starting each Stata session from a different OS shell, with the environment variable STATATMP set to a different value for each. This could be done on Windows by invoking Stata through a ".cmd" script wrapper. I'll be honest, though, I haven't actually tried this. I live with restarting my script whenever it breaks on that error.

--Dan Menes
This is a hard error to report since I get it haphazardly, and it's been impossible for me to replicate.

Occasionally, I will get an error that says:

file C:\DOCUME~1\cohened\LOCALS~1\Temp\ST_0000001b.tmp already exists

This error can come after any command; today -symmetry-, yesterday -reshape-.  Sometimes the error will stop happening if I simply rerun the command, sometimes I need to wait 5 minutes, and sometimes I need to restart Stata entirely.

It may be important to know that I don't have admin priveleges on my computer but since it seems to be writing to my personal space, I'm not sure how that would be the problem.
Is there a way to check to check if my Stata installation is corrupt?  Any other suggestions?

Version 11 on Win XP Pro SP3.


- - Elan

*   For searches and help try:

© Copyright 1996–2016 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index