Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


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

RE: st: file already exists error


From   "Cohen, Elan" <[email protected]>
To   "'[email protected]'" <[email protected]>
Subject   RE: st: file already exists error
Date   Wed, 31 Mar 2010 14:36:02 -0400

To be clear, I ran the same command each time: -symmetry x1 x2-.  I simply forgot to edit the last command I posted.

-  Elan
 

> -----Original Message-----
> From: [email protected] 
> [mailto:[email protected]] On Behalf Of Cohen, Elan
> Sent: Wednesday, March 31, 2010 14:32
> To: '[email protected]'
> Subject: RE: st: file already exists error
> 
> So this happens because I have two independent Stata sessions 
> running at the same time?
> 
> In a new development, the following happened today:
> 
> . symmetry x1 x2
> file C:\DOCUME~1\cohened\LOCALS~1\Temp\ST_0200002e.tmp already exists
> r(602); t=0.09 13:32:19
> 
> . symmetry x1 x2
> (memory cleared)
> file already exists
> r(602); t=0.09 13:32:26
> 
> . symmetry x1 x2
> (memory cleared)
> file already exists
> r(602); t=0.11 13:32:29
> 
> .
> . symmetry meds_score1 meds_score2
> * Correct output
> r; t=0.11 13:32:41
> 
>  
> This is the first time I've seen "memory cleared".  Note that 
> I did _not_ do anything in Stata in between these commands.
> 
> - Elan
> 
> 
> > -----Original Message-----
> > From: [email protected] 
> > [mailto:[email protected]] On Behalf Of 
> > [email protected]
> > Sent: Friday, March 26, 2010 15:10
> > To: [email protected]
> > Subject: Re: st: file already exists error
> > 
> > Hi.
> > 
> > The file names, such as ST_0000001b.tmp are made up by Stata 
> > as you request tempfiles. They are unique wihin your session, 
> > and get deleted when your do-file or session ends (whichever 
> > created the tempfile).
> > 
> > They are not unique between sessions.
> > 
> > I suspect that at some earlier time, you had generated one or 
> > more tempfiles, and then there was some sort of crash or 
> > abrupt ending, and Stata did not delete the file(s).
> > 
> > Now, as you request tempfiles, you occasionally bump into 
> > those same names. You should look in 
> > C:\DOCUME~1\cohened\LOCALS~1\Temp\ to see if there are old 
> > tempfiles in there, with names such as ST_0000001b.tmp -- and 
> > delete them.
> > 
> > (Another possibility is multiple concurrent users; I don't 
> > think you have that.)
> > 
> > HTH
> > --David
> > 
> > 
> > --- On Fri, 3/26/10, Cohen, Elan <[email protected]> wrote:
> > 
> > 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
> > r(602);
> > 
> > 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?
> > [...]
> > 
> > 
> > 
> > *
> > *   For searches and help try:
> > *   http://www.stata.com/help.cgi?search
> > *   http://www.stata.com/support/statalist/faq
> > *   http://www.ats.ucla.edu/stat/stata/
> > 
> > 
> *
> *   For searches and help try:
> *   http://www.stata.com/help.cgi?search
> *   http://www.stata.com/support/statalist/faq
> *   http://www.ats.ucla.edu/stat/stata/
> 
> 
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index