Hi, my linux computer froze and I had to hard-power-off. It had low storage at the time, so this bug may be relevant but now I’ve freed up several gigabytes. Probably worth noting I have my sublime config folder symlinked from my home folder to a folder on an NTFS partition.
In any case, the issue isn’t that the sessions aren’t saving, it’s that they aren’t restoring. I actually have the Auto Save Session.sublime_session
file and I checked and it’s got all of the data I’m looking for! (It’s 988K—pretty damn big)
But when I try to replace the session file with it (in ~/.config/sublime-text-3/Local
) it doesn’t get loaded when I start ST again.
I’ve tried:
- hard-quitting ST vs not (before restarting)
- replacing the
Local/Auto Save Session.sublime_session
file vs the one that’s justLocal/Session.sublime_session
, or both
I know this is the right folder because it does get written to when I close ST (I do have some other instances of sublime installed apparently; I have a ~/.config/sublime-text-3x
and a ~/.config/sublime-text-3-OLD
from awhile ago)
It does successfully restore an arbitrary little session that was generated just created based on the empty state that it’s opening in. Like I installed a new plugin and still had the plugin’s readme open; quit; reopened; readme still there. Just now I noticed one difference between that Session file and the one I was trying to restore being that the one that worked had permissions set to -rwxrwxrwx
, whereas the one that wasn’t restoring had -rwxr-xr-x
, but I just tried chmod 777
on it and then swapped it in, and again sublime opens empty.
I also just checked and editing the file that does work does open the edited session. I guess maybe I’ll try editing that one and importing most of the Auto Save Session that I want.
This is still a weird bug though. Is there a debug log somewhere of what sublime encounters when I tries & fails to open the session?
To be clear, why I’m prioritizing restoring the session so much is that while I could extract the files I lost, the session also has a bunch of things like autocomplete defaults and so on.