Sublime Forum

Parse Settings Error 'Expected Value in Preferences :1:1'

#1

I have an error every time I boot up ST3. Well, this is one of four errors I get, but I’m writing about it because this one actually has a noticeable effect on Sublime.

Error trying to parse settings: Expected value in Packages\User\Preferences.sublime-settings : 1 : 1

The effect is the following: ST3 does not recognize the file, and so, does not apply my user settings.

I’ve already checked the file. I assumed ‘:1:1’ meant row/column one. There’s nothing out of the ordinary there.

The other errors are:

Error trying to parse settings: Expected value in Packages\User\Anaconda.sublime-settings : 1 : 1
Error trying to parse settings: Expected value in Packages\Anaconda\Anaconda.sublime-settings : 1 : 1
Error trying to parse settings: Expected value in Packages\BracketFlasher\BracketFlasher.sublime-settings : 1 : 1

I’ve opened every single one of these files. Nothing out of the ordinary about them, either. All files mentioned here start with { as the very first character in the first line and column.

I think I’ve been having these errors ever since I installed Anaconda. Removing Anaconda did not fix the issue.


Installed packages: https://gist.github.com/Unknow0059/f8728ccc47aafa1f759ba86aa713b19f

Console log: https://gist.github.com/Unknow0059/ebe69fae1c93c30ea48e071c1b0280a6

Build: Sublime Text Build 3211

0 Likes

#2

Probably you are using UTF8 with BOM for your settings files. (ST 4 allows that but not the JSON spec.)

1 Like

#3

That fixed it. Thank you.

Umm… When I went to remove Anaconda I accidentally removed my only channel from Package Control. What do I do?

0 Likes

#4

add it back then https://packagecontrol.io/channel_v3.json

1 Like