Sublime Forum

Unable to save -- I see no answers

#21

[quote=“somewhatjaded”]Noticed that S2 couldn’t save when editing .html files on win7

I had S2, folder of files, and browser open.

fix: in file explorer folder window, hide the preview pane. This seems to unblock the process, and S2 can save just fine.

May also work in other (mac/*nix) OS.[/quote]

Doesn’t work on Mac OS X 10.6.8. I’m using ST2 2.0.2 and the bug is still there. I disabled the mini map and the *ucking bug is coming back again.

@Jon Skinner:
Please - if you have the time kill that nasty bug for us because it’s killing our workflow!!!

BTW: Some people claimed that when you click on ‘Save As’ it’d work. That’s complete bullshit. It doesn’t work. Not on a Mac (using ST2 2.0.2 (build 2221)). Period.

0 Likes

#22

Update:

I uninstalled SublimeLint (didn’t work with STv2.0.2 on Mac OS X 10.6.8) AND installed Python v8 manually.

Since a week I didn’t encounter the bug any more. :astonished:

Maybe it was the missing Python library causing that very strange bug - who knows! :question:

0 Likes

#23

I just had this problem on Windows 8.1
It was because the file I was trying to edit wasn’t mine
So I went to properties > security > advanced and change the owner to my own user
That did the trick

0 Likes

#24

I am also have problems saving files on a Mac.

My solution was to close the application down and restart the application. It has nothing to do with permissions

This Must be a bug. How do you reports bugs to the developers.

0 Likes

#25

Hello friends greetings to you all,
I also faced the same error while saving file in sublime text 2.
But fortunately i solved it.
You go to the path where you installed sublime text 2 and

  1. Right click on the sublime_text 2.exe file.
  2. Go to its properties.
  3. Go to compatibility section under this.
  4. Set its privilege level to “Run this program as an administrator”.
  5. Now change settings for all users and there also check the field “Run this program as an administrator”.
  6. Apply the changes.
    your all set now.
0 Likes

#26

Tried this still getting the error, Same as everyone else. Only working on abasic html file…

ST2 Windows 7 pro.

0 Likes

#27

I found a fix, but it sucks to have to do manually.

If you go to a specific file and right click, then Get Info, there is a check box that is labelled “Locked.” You uncheck that, and sublime will let you save files again. But you have to do it manually for every single file in your directory, sucks pretty hard. I’m considering switching to another IDE just do work on this specific project that was handed to me with read-only restrictions.

0 Likes

#28

I tried a few of the suggestions mentioned, all didn’t work for me, I had to save the file as a different name any particular reason why this happens, it seems at random ?

0 Likes

#29

For me, I opened a file to edit and made some changes. While making those changes i renamed the folder. This confused sublime and resulted in this error. Simply hit save as and the problem is not an issue. (For anyone that renamed folders at least)

0 Likes

#30

I shall try that next time it happens !

0 Likes

#31

I found a way for mac. Instead of saving to your macintosh HD(or any mac hard drive) Hard drive, save it to downloads, documents, or any other folder. Remember to do save as.

0 Likes

#32

part 2 of my tutorial, hope this helps:):

0 Likes

#34

The problem is with windows / mac operating system. The folder is not closed and is being held as an “open” file and can’t be saved. if you close the containing window this should fix the problem. It’s annoying but it does work. --M

0 Likes