Read the statement by Michael Teeuw here.
Wit.ai Parsing error
-
So,
I have looked on Google and various repos but my problem still stands,
Wit.ai failed parsing app.json
I edited this because another person said to but there is still the problem. I pasted app.json into JSONLint and it was valid. Please helpon raspberry pi3 btw
-
Maybe I should have explained a bit more:
I was following the yt vid by HackerShack and got to the bit where he creates an app using wit.ai. In this, he presses New app+ and then types a name, description and as his bkup file, inserts wit_training_data.zip
this can be found at
https://github.com/HackerShackOfficial/AI-Smart-Mirror/tree/master/models
I pressed +create app and then the error popped up “failed parsing app.json”
I troubleshooted and found this:
https://github.com/wit-ai/wit/issues/1538
I try to change
“zip-command”: “zip smart-mirror.zip smart-mirror/app.json smart-mirror/entities/.json smart-mirror/actions.json smart-mirror/stories.json smart-mirror/expressions.json”,
to
“zip-command”: “zip smart-mirror.zip smart-mirror/app.json smart-mirror/entities/.json smart-mirror/actions.json smart-mirror/stories.json smart-mirror/expressions.json”,
but i still get the error notification. any suggestion?Like many others, this change did not work.
I copied the saved contents off app.json into
https://jsonlint.com/
and the json was validwhat do i do??
-
Right,Update
I solved this issue
1.Extract files from “smart-mirror”
2.edit app.json:
{
“version” : 20160513,
“zip-command” : “zip smart-mirror.zip smart-mirror/app.json smart-mirror/entities/*.json smart-mirror/actions.json smart-mirror/stories.json smart-mirror/expressions.json”,
“data” : {
“name” : “smart-mirror”,
“description” : “smart mirror assistant”,
“lang” : “en”
}
}BECOMES
{
“version” : 20160513,
“zip-command” : “zip smart-mirror.zip smart-mirror/app.json smart-mirror/entities/*.json smart-mirror/actions.json smart-mirror/stories.json smart-mirror/expressions.json”,
“data” : {
“name” : “smart-mirror”,
“description” : “smart mirror assistant”,
“lang” : “en”,
“timezone”: “Europe/London”
}
}- Compress the newly updated “smart-mirror” file
- Do the whole wit.ai thing but insert this new zip
I’m pretty sure this should work
New problem
Failed parsing entities/
I guess we have to edit some more but what exactly??
-
@Mahieedaboss is the entities folder in the new zip file?
-
yes it is
-
hey, so I did what you said to do and got the error parsing app.json could you leave a direct link to the compressed file, it would help a lot Thanks!
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login