File save not working?

This forum is user-to-user based and not regularly monitored by IDM.
Please see the note at the top of this page on how to contact IDM.

File save not working?

Postby GoatMan » Fri Dec 08, 2006 10:15 am

I am experiencing some strange behaviour with UE 12.20 when saving files:

If I edit a file in UE and save it, everything seems ok (no error messages and the * at the end of the file name disappears as expected).

But when I open the same file in Notepad, the change isn't visible.
(even after exiting UE first).

Changing the file in Notepad and then saving it works perfectly.

If I follow the above steps, and then open the file in UE again, it shows the "old" UE file from the first step.

In other words: it seems that there are somehow two (distinct) files in use in this scenario.

Any suggestions ?

Thanks in advance...
User avatar
GoatMan
Newbie
 
Posts: 4
Joined: Thu Dec 07, 2006 12:00 am

Re: File save not working?

Postby Mofi » Fri Dec 08, 2006 10:52 am

That's extremely strange. Save is saving to Nirvana? Have you administrator privileges or do you work with a restricted user account? Do you have permissions to write to the file? (Of course, you must have, because it works with Notepad, but who knows!)

My suggestion: Download free Filemon from SysInternals, unpack it to a local directory on your hard disk and run Filemon.exe. You need administrator privileges to run Filemon!

Click in Filemon on Options - Filter/Highlight and specify in the Include field instead of the * the file name of the file you want to edit without the extension and without path. After activating the filter press Ctrl+X to clear the display.

Now start UltraEdit, edit the file and save it. Back to Filemon, stop the recording (magnifying glass icon in the Filemon toolbar), scroll up to top of the record and look if you can see something strange.

By the way: What is shown in the status bar of UltraEdit when you have open the file (file format, R/O)?
User avatar
Mofi
Grand Master
Grand Master
 
Posts: 4051
Joined: Thu Jul 29, 2004 11:00 pm
Location: Vienna

Re: File save not working?

Postby GoatMan » Fri Dec 08, 2006 11:19 am

Thanks for fast response Mofi.

I do have admin priv (my own machine at home).

Somewhow I don't think it is related to privileges and R/O file setting (though I will definitely try your suggestion using Filemon and monitoring the status bar).

I was more thinking use of temporary files when editing.

From UE Help:
"Normally the editor copies a file that is being edited to a temporary file, and at the end of the editing session deletes the file after copying back to the appropriate original file."

Do you know where this temporary file is located, because then I would like to watch this as well?
User avatar
GoatMan
Newbie
 
Posts: 4
Joined: Thu Dec 07, 2006 12:00 am

Re: File save not working?

Postby Mofi » Fri Dec 08, 2006 11:38 am

As long as you do not specify a temp file directory in uedit32.ini - see Moving temp file from C: to D:, it is the directory specified by environment variable TEMP.

But if you set the filter in Filemon as suggested, Filemon will record any application which accesses a file with the specified file name independent of the extension and the directory. The include filter specification simply means, if the entered string is anywhere in a log line of Filemon, show this log line and if not, discard it.
User avatar
Mofi
Grand Master
Grand Master
 
Posts: 4051
Joined: Thu Jul 29, 2004 11:00 pm
Location: Vienna

Re: File save not working?

Postby GoatMan » Fri Dec 08, 2006 12:29 pm

Ah, nice thingy that tool.

I will try your suggestions when I get home this afternoon and let you know the result.
User avatar
GoatMan
Newbie
 
Posts: 4
Joined: Thu Dec 07, 2006 12:00 am

Re: File save not working?

Postby GoatMan » Fri Dec 08, 2006 10:58 pm

Back home, I was getting ready to go with Filemon as you suggested, Mofi.

On my way home, however, I was thinking: if no one else is experiencing this problem, what is possibly different on my system?

The answer was Altiris SVS. Although being a godsent tool that really has made my (computer) life much easier, the combination of UE and SVS seems not to work happily.

Installation of UE32 outside SVS did the trick.

Thank you a lot for your help, Mofi !
User avatar
GoatMan
Newbie
 
Posts: 4
Joined: Thu Dec 07, 2006 12:00 am


Return to UltraEdit General Discussion