Sublime Forum

Error trying to parse file

#1

Error trying to parse file: expected value in Packages \ User \ Default (windows) / sublime-keymap: 4: 2
Also, I could not create snippets because I did not have the packages \ user folder.
Please help with this! (Sorry for grammar mistakes)
image

0 Likes

#2

it says something in line 4, column 2 is wrong.

0 Likes

#3

the documentation at http://www.sublimetext.com/docs/3/revert.html shows how to find the ST data folder, the Packages folder should be a subfolder of that. Alternatively, you can jump straight to your Packages folder using the ST menu Preferences -> Browse Packages. You need to make sure your file is valid JSON.

0 Likes

#4

Hello Jack Cherng,

Thank you for your email , but i couldn’t find any info about ‘line 4 column 2’ , can you say what is ‘line 4 column 2’ error about or any link to read about this error .

0 Likes

#5

In other words, 4th line, 2nd character.

1 Like

#6

I understand your words Jack, but where is any information about 4th line 2nd character. Where i can read any information about it? If you have any sources please share the link.

0 Likes

#7

That’s your file on your PC, man… No one except you knows what is at 4th line, 2nd character in image .

To be super specific, something in your Packages\User\Default (Windows).sublime-keymap at 4th line, 2nd character goes wrong. That is your keybindings file.

2 Likes

#8

I know how you feel, jfcherng.

I had the same situation years ago when students asked me to find files they had saved on the computer but didn’t know what name they had saved them under, and they had many files.

0 Likes

#9

Sorry for my impatient. If you don’t know how to access the keybindings file, it’s at image

2 Likes

#10

There is no information about the error besides the location. It’s a syntax error and you need to work out how the syntax is wrong yourself. Usually it’s a missing comma or extra bracket.

0 Likes

#12

Thank you i solved it ! There is no error like 4:2 .
Here is my ST3 folder , i guess something is unnormal with this folder.
image

0 Likes

#13

That’s the location where ST stuff is kept when you install Sublime Text. To get to the User folder, you have to go to Preferences -> Browse Packages from the main menu of ST & then you’ll see the User folder.

1 Like