Aymkdn / assistant-plugins

Des plugins pour les Assistant (comme Google Home, Cortana, Alexa)
https://aymkdn.github.io/assistant-plugins/
MIT License
92 stars 21 forks source link

SyntaxError: #247

Closed michel211 closed 5 years ago

michel211 commented 5 years ago

Bonjour, après avoir installer les plugins, fait la configuration du fichier .json, je lance ''start.bat'' et j'obtient l'erreur: SyntaxError: C:\assistant-plugins\configuration.json: Unexpected end of JSON input, donc rien ne fonctionne. Sans titre Comme je suis novice dans tout ça, j’avoue que je ne vois pas trop ou ça accroche, si vous pourriez m'aider a résoudre ce problème

Aymkdn commented 5 years ago

Ton fichier de configuration (configuration.json) est incorrecte. Tu as dû oublier de fermer une } ou quelque chose du genre.

Peux-tu le copier ici ?

michel211 commented 5 years ago

Voila, merci pour le retour Sans titre

Aymkdn commented 5 years ago

Il te manque une } dans le bloc notifier.

Tu as :

{
    "main": {
    },
    "plugins": {
      "notifier": {
        "host": "...",
        "voice": {
           "source": "...",
           "key": "..."
         }
      }
    }
} <--- celle là est manquante

Il en manque une à la fin.

michel211 commented 5 years ago

Effectivement, merci bcp