Emerald Editor Discussion
October 19, 2017, 04:37:29 am *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
   Home   Help Search Login Register  
Pages: [1]
Author Topic: CE error - Failed to rename the temporary file used for saving  (Read 10234 times)
0 Members and 1 Guest are viewing this topic.
Posts: 2

« on: March 22, 2011, 03:22:41 pm »


I am using Crimson editor simply as a program editor. I have the backup turned off. I do my own source control outside of the editor. For some reason, there are times when CE is creating a tmp-previous and tmp-saving version and then it does not allow me to save my file. The error I recieve is...

"Failed to rename the temporary file used for saving so that it has its final, correct name".

How can I keep CE from creating these files and this issue?
Posts: 2

« Reply #1 on: March 25, 2011, 06:52:09 pm »

Is this simply a forum for user replies? is there anywhere to get support? I've got 3 developers up on this so I need to get this issue resolved.
Posts: 16

« Reply #2 on: February 07, 2012, 03:31:10 pm »

I've had this happen, too, though I'm just a shell scripter and by no stretch of the imagination a developer.

Sometimes mintty in Cygwin or MinGW and msys leave executables "hanging" in the process list in Process Manager. Whatever NOHUP this terminal emulator sends when a task is finished is somehow not enough to let the odd process "die naturally." A fair workaround, then, would be to check PM and look for familiar process names that you or your crew might have used in a particular session of coding, and when you find any, force quit them. Then click back into CE and see if you can save the file that gave you the error.

The above is simply something I've observed, and my makeshift solution to the problem.

« Last Edit: February 07, 2012, 03:34:03 pm by SilversleevesX » Logged
Global Moderator
Posts: 252

« Reply #3 on: February 09, 2012, 01:37:22 am »

I think CE is not the only program that does that. I'm using NetBeans for PHP programming and I saw it creating temporary file as well. As far as I understand in Windows you can't write in the middle of the file, you have to recreate the file from the scratch. If file is in use by some other program then you probably will not be able to save it.


Entities should not be multiplied beyond necessity
Pages: [1]
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!
Page created in 0.081 seconds with 18 queries.