jcartledge / sublime-worksheet

An inline REPL for JavaScript, PHP, Ruby & more in Sublime Text 2 and 3
MIT License
333 stars 18 forks source link

Windows: scala: When I save file I get "Error: MoveFileEx(... .subl8be.tmp) c:\test.scala failed, Access is deined." #43

Closed babusri closed 10 years ago

babusri commented 10 years ago

Using Windows 8. When I save the scala file, I get this error.

Unable to save test.scala Error: MoveFileEx(... .subl8be.tmp) c:\test.scala failed, Access is deined.

Note: I got the same error when using scalaworksheet. I filed an issue and the plugin author Tony Sloane did some investigation. https://bitbucket.org/inkytonik/scalaworksheet/issue/5/scalaworksheet-doesnt-work-on-windows

timonwong commented 10 years ago

I assume you are using ST3, right? You can try turn of atomic_save in your sublime settings and see what happens:

{
    "atomic_save": false,
    // other settings...
}

Since worksheet plugin doesn't hold any lock on file (file contents are retrieved by sublime api), I think it may caused by other plugins, try a clean ST3 with other plugins disabled and see what happens).

babusri commented 10 years ago

Timon Wong, Thanks for the prompt response. Yes, I was using ST3. I switched to ST2 and it worked fine. Then it ST3 I set atomic_save to false and that too worked.

jcartledge commented 10 years ago

Thanks Timon. OK to close this then?

timonwong commented 10 years ago

@jcartledge Yes, should be an issue of "atomic_save".