Page 1 of 1

Gedit Bug? [CLOSED]

Posted: Tue Feb 17, 2009 5:31 pm
by altair4
I don't know if this is a bug or my own incompetence because I'm new with gnome.

I'm using gedit to edit a text file in a remote share ( actually a Windows share from a Mint guest in VirtualBox - but it's using samba to do that ). When I try to save it I get the following error:
"Could not save the file ....... "
"Unexpected error. Text file busy"

I spent a considerable amount of time trying to figure out if this was some kind of permissions or network ( VBox ) problem. Then I decided to use another editor - leafpad. Opened the same file, made the same changes, and it saved without errors. I immediatley opend it up with gedit and again got the error above.

Is this a known problem with gedit or is there some setting somewhere I'm not aware of?

Needless to say , leafpad has become my new editor :lol:

Re: Gedit Bug?

Posted: Thu Feb 19, 2009 7:43 am
by Husse
That's strange
I'll see if I find something when I have more time - it's solved for you so I see no reason to hurry

Re: Gedit Bug?

Posted: Thu Feb 19, 2009 8:23 am
by piratesmack
I've had strange problems with Gedit in the past.
Now I mostly use nano/pico. Mousepad is also good

Re: Gedit Bug?

Posted: Fri Feb 20, 2009 6:50 pm
by Husse
I won't dig to deep into this but it could have something to with Gedit not removing temporary files

Re: Gedit Bug?

Posted: Fri Feb 20, 2009 7:26 pm
by altair4
Thanks for looking at this. That's interesting and come to think of it I'm used to linux always creating a backup copy of all edited files ( i.e., textfile and textfile~ where textfile~ was the original before I edited it ) but that seems to be missing in Mint. I wonder if this is related?

Re: Gedit Bug?

Posted: Fri Feb 20, 2009 7:54 pm
by Husse
If my memory serves me right we stopped that in Elyssa - it soon fills up the disk with ~files no one ever uses
But I may be wrong

Re: Gedit Bug?

Posted: Sun Feb 22, 2009 9:53 am
by altair4
Thanks for all your effort. I'll list this as [CLOSED] as apposed to [SOLVED] since I have a workaround. As a side note I did manage to add backups automatically to gedit: Edit > Preferences > Editor > check " Create a backup copy of files..."

This has saved me in the past when I start messing with system config files and I'd just as soon have it there to compensate for my lack of discipline.