Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: Can not decode value starting with character u #3651

Closed
jaredthegamer opened this issue Aug 11, 2016 · 1 comment
Closed

Error: Can not decode value starting with character u #3651

jaredthegamer opened this issue Aug 11, 2016 · 1 comment

Comments

@jaredthegamer
Copy link

Stop! Before you create this issue (you can delete this section when opening the issue):

  1. Have you validated that your config.json is valid JSON? Use http://jsonlint.com/ to check.
  2. Have you searched to see if there are other issues for the same issue? If so, comment on that issue instead.
  3. Are you running master? We work on the dev branch and then add that functionality to master. Your issue may be fixed on dev and there is no need for this issue, just wait and it will eventually be merged to master.

Expected Behavior

Actual Behavior

Your config.json (remove your credentials and any other private info)

your config here

no need

Steps to Reproduce

./configs/config.json:3:16: Error: Can not decode value starting with character u'\u201c'
| At line 3, column 16, offset 48
./configs/config.json:3:41: Info: Recovering parsing after character u','
| At line 3, column 41, offset 73
./configs/config.json:4:16: Error: Can not decode value starting with character u'\u201c'
| At line 4, column 16, offset 91
./configs/config.json:4:26: Info: Recovering parsing after character u','
| At line 4, column 26, offset 101
./configs/config.json:7:27: Error: Can not decode value starting with character u'\u201c'
| At line 7, column 27, offset 226
./configs/config.json:7:29: Info: Recovering parsing after character u','
| At line 7, column 29, offset 228
./configs/config.json: has errors

Other Information

do not understand this python error

OS: mac
Git Commit: (run 'git log -n 1 --pretty=format:"%H"' and paste it here)
Python Version: (run 'python -V' and paste it here)

@Gobberwart
Copy link
Contributor

Gobberwart commented Aug 11, 2016

You've said there's no need to provide your config.json, but that's where the error is. Character U201C is a "smart quote", specifically this one “. Note how that's different to a "normal" quote (it's slanted, not straight)? Look through your config.json and change any of these quotes and it should be fine.

EDIT: Make sure when editing these files that you're using a plain text editor instead of something that does this sort of thing by default.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants