Author Topic: Ubuntu Error Creating temp file...  (Read 6073 times)


  • Junior Community Member
  • Posts: 9
  • Hero Points: -1
Ubuntu Error Creating temp file...
« on: October 07, 2010, 02:45:03 pm »
Hi all,

Well, I had to reinstalled my Ubuntu machine (new machine etc), and have Slickedit installed. All was great, then suddenly, I'm getting the error

"Error creating Temp file /tmp/1232312" when I beautify!

I looked at all the permissions on the /tmp directory, and they seem fine...

Oh, Ubuntu 10.04

I was able to beautify just fine, and then suddenly it started getting this error.

I'm going to recheck Ubuntu to make sure all is well there, but still...  ??? ??? ???

Anyone else seem this issue?


~Kam (^8*


  • Senior Community Member
  • Posts: 2451
  • Hero Points: 324
Re: Ubuntu Error Creating temp file...
« Reply #1 on: October 08, 2010, 09:38:59 am »
From searching slickedit sources for "error creating temp file", there a half a dozen.  In the c_beautify function in cformat.e, there is the following code.  Since you got a filename after the error message, it seems like it was the second message_box that fired  - so was there an error message after the filename.  Maybe ubuntu doesn't like the 1232312 temporary filename.

Code: [Select]
   // Make a temp file to use as the input source file
   if ( infilename=='' ) {
      _message_box('Error creating temp file');
   status=_save_config_file(infilename);   // This is the source file
   if ( status ) {
      _message_box('Error creating temp file "':+infilename'".  ':+get_message(status));


  • Junior Community Member
  • Posts: 3
  • Hero Points: 0
Re: Ubuntu Error Creating temp file...
« Reply #2 on: September 24, 2012, 06:46:03 am »
Although it is an old thread, I faced similar problems with Slickedit 2012 on Debian and found the solution:
Start slickedit with the -sul option (which: "Disables the byte-range file locking that SlickEdit normally performs").

This solved the problem for me.