car-dashboard icon indicating copy to clipboard operation
car-dashboard copied to clipboard

Unable to import workspace from file car_workspace.json

Open leandrodvd opened this issue 9 years ago • 4 comments

I'm trying to import the car workspace but I get the following error:

Unable to import workspace from file car_workspace.json. Error: {"error":{"intents":[{"examples":[{"text":["text can not contain the following characters: tab, new line, carriage return, slashes."]}]},{"examples":[{"text":["text can not contain the following characters: tab, new line, carriage return, slashes....

The same happens if I try to edit the "Car Dashboard - Sample" that is provided within the service and is available in the list of workspaces

Not sure if this is relevant but I already have 2 workspaces created.

leandrodvd avatar Jun 16 '17 21:06 leandrodvd

Yes this is a known error that we are addressing. @doconnor78 will you be able to update this workspace as well?

ttlew avatar Jun 16 '17 21:06 ttlew

Is there any easy workaround ?

leandrodvd avatar Jun 16 '17 21:06 leandrodvd

@leandrodvd There is an easy workaround, just search through the json and remove / and \ from the intent and entity training data. Please take a look at my pr: https://github.com/watson-developer-cloud/car-dashboard/pull/74 It has an updated workspace with the fixes in place, feel free to copy that workspace instead: https://raw.githubusercontent.com/watson-developer-cloud/car-dashboard/ad38bf588fda8041e22eced32d6166ddc5024715/training/car_workspace.json

@ttlew I've already put in a PR for this repo, awaiting access to the other repos to replicate the fix.

doconnor78 avatar Jun 17 '17 00:06 doconnor78

Fixed by @doconnor78

germanattanasio avatar Jun 18 '17 12:06 germanattanasio