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

SyntaxError: JSON.parse: unexpected character at line 1 column 2 of the JSON data #67

Open
pieska opened this issue May 8, 2019 · 1 comment

Comments

@pieska
Copy link

pieska commented May 8, 2019

On RHEL7.6 (Gnome 3.28) the latest version of comnection manager does not load:

2019-05-08T10:00:49.637228+02:00 bn2lts101 journal: Extension
"[email protected]" had error: SyntaxError: JSON.parse:
unexpected character at line 1 column 2 of the JSON data

Which JSON data could that be? How to debug the issue?

@Arrakaij
Copy link

Arrakaij commented Jun 5, 2019

For my Gnome (3.28.3 on Centos 7) the error appears in file extension.js, Line 113
To Fix:
Change:
let jsondata = JSON.parse(ByteArray.toString(filedata[1]));
To:
let jsondata = JSON.parse(filedata[1]);

Restart Gnome afterwards (Alt+F2, r); I also had to delete my config file ~/.connmgr

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