I have exactly the same issue. I had this after installing 2.0.2 version of st2.
Details that may or may not have caused this:
- My st2 2.0.1 was x86 and now I installed 64bit version of 2.0.2 (Old was in "Program files (x86)" and the new is now in "Program files" of course so the new didn't replace the old one)
- I noticed that my files still opens with st2 2.0.1 because assosiations point to that version of the program so..
- I uninstalled 2.0.1 32bit version and then changed filetype associations in windows to point Sublime Text 2 64bit version
- Now opening file -- doubleclicking for example from desktop -- leads to the same issue that was explained in the original post
I have tried to first start st2 as an Administrator. Didn't help.
I removed my AppData/Roaming/Sublime Text 2 folder all together. Didn't help.
My guess is that it's not in anyway related with Roaming folder. Could it be in windows registry (something still pointing to wrong st2 PackageSetup?) or some sort of environmental issue?