Skip to content
This repository has been archived by the owner on Mar 6, 2022. It is now read-only.

Uncaught SyntaxError after Update to MagicMirror v2.13.0 #41

Open
eckonator opened this issue Oct 1, 2020 · 1 comment
Open

Uncaught SyntaxError after Update to MagicMirror v2.13.0 #41

eckonator opened this issue Oct 1, 2020 · 1 comment

Comments

@eckonator
Copy link

Hi,
after updating my MagicMirror to v2.13.0, i got this error:

Uncaught SyntaxError: JSON.parse: expected double-quoted property name at line 5 column 3 of the JSON data

onreadystatechange http://110.120.100.80:8080/js/translator.js:22

The error was caused by a comment in the language files of the module "MMM-FRITZ-Box-Callmonitor".

After I removed the comment in line 5, my MagicMirror comes up again:

/MagicMirror/modules/MMM-FRITZ-Box-Callmonitor/translations/de.json

{
"title": "Eingehender Anruf",
"noCall": "Keine kürzlichen Anrufe.",

// keep the error messages short                         <-------- remove this line
"calllist_parse_error": "Anrufliste unlesbar.",
"phonebook_parse_error": "Telefonbuch unlesbar.",
"vcf_parse_error": "vCard unlesbar.",
"login_error": "Logindaten falsch?",
"network_error": "FRITZ!Box nicht erreichbar.",
"unknown_error": "Unbekannter Fehler."
}

/MagicMirror/modules/MMM-FRITZ-Box-Callmonitor/translations/en.json

{
"title": "Incoming Call",
"noCall": "No recent calls.",

// keep the error messages short                         <-------- remove this line
"calllist_parse_error": "Can't parse calllist.",
"phonebook_parse_error": "Can't parse phonebook.",
"vcf_parse_error": "Can't parse vCard.",
"login_error": "Login data wrong?",
"network_error": "Could not reach FRITZ!Box.",
"unknown_error": "Unknown error."
}

Hope it helps someone else.

@PieBa
Copy link

PieBa commented Oct 13, 2020

It seems the issue is known and will be fixed soon in the magic mirror basis:
https://github.com/MichMich/MagicMirror/issues/2149

So I think, there needs nothing to be done here.

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

No branches or pull requests

2 participants