Error while running connect/update using botskills CLI
What happens?
When I try to connect/update a skill to the main VA Bot using botskills connect/update, I get an error which prevents me from proceeding further.
What are the steps to reproduce this issue?
- Use bf luis:version:export to generate .json file for the Skill Bot.
- Use bf luis:convert to update the .lu file with new changes for the same Skill Bot.
- Run botskills update/connect to update the dispatch of the VA bot.
What were you expecting to happen?
The .dispatch and .luis files of the VA Bot to be updated with details of the Skill template.
Can you share any logs, error output, etc.?
Error: The execution of the ludown command failed with the following error:
[ERROR] line 989:0 - line 989:1: syntax error: invalid input '@' detected. Expecting one of this - end of file, model description, new line, QnA definition, Intent definition, Entity definition, Import statement
[ERROR] line 993:0 - line 993:1: syntax error: invalid input '@' detected. Expecting one of this - end of file, model description, new line, QnA definition, Intent definition, Entity definition, Import statement
Stopping further processing.
Hi @manish-95, what version of the botskills tool (run botskills -v) are you using?
Hi @lauren-mills , I am using version 1.0.13
@lauren-mills Any updates on this? I am still facing this issue.
what is the version of the VA Template that you created your VA with? is it 4.7.0.2 that's released in our latest 0.8 beta release?
@lzc850612 Yes, I am using the same version that was released as part of the 0.8 Beta Release.
Looks like there might be an issue with the format of the LU file it's trying to process, are you able to share the LU file that you updated?
@darrenj Here is the file. MBVEmceeSkill_Dev.zip
@darrenj Any updates on this?
Hi @manish-95, we successfully reproduced the issue which is related to some wrong characters identified by ludown tool during the connect execution of botskills.

As a workaround, can you try creating the LU file using ludown?
Please, follow these steps having the .json file for the Skill Bot:
- Install ludown tool
npm install -g ludown
- Execute
ludown refresh --in <JSON_FILE> - Check that the LU file was created correctly
- Execute botskills connect using the created LU file
We noticed that the LU file created by botframework-cli executing bf luis:convert is not supported by botskills as it differs with the format needed by ludown.
Comparison between the LU file format created using ludown and botframework-cli

Finally, we will update the Known Issues documentation adding this scenario.
@manish-95 Did that help?
Please re-open if you still have issues.
Even after running workaround using ludown, botskills will not parse .lu file. Error seems to be with entities of List type, where there is an apostrophe in the main definition, e.g. ...
List entities
$coffeeshop:Starbuck's=
Whereas $coffeeshop:Starbucks=
- Starbuck's works ok
Can you update to latest botskills? Ludown is replaced with bf CLI
Get Outlook for iOShttps://aka.ms/o0ukef
From: IanIDG [email protected] Sent: Saturday, May 2, 2020 3:23:04 PM To: microsoft/botframework-solutions [email protected] Cc: Darren Jefford [email protected]; State change [email protected] Subject: Re: [microsoft/botframework-solutions] Error while running connect/update using botskills CLI (#3057)
Even after running workaround using ludown, botskills will not parse .lu file. Error seems to be with entities of List type, where there is an apostrophe in the main definition, e.g. ...
List entities
$coffeeshop:Starbuck's=
Whereas $coffeeshop:Starbucks=
- Starbuck's works ok
— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHubhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fmicrosoft%2Fbotframework-solutions%2Fissues%2F3057%23issuecomment-622961205&data=02%7C01%7Cdarrenj%40microsoft.com%7C505a54e449344a61d97908d7eea45419%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637240261860573179&sdata=P2dUUMNbqI4mWuOc97Yk8nGGLbwyBC6Jh3IjcMaqAYY%3D&reserved=0, or unsubscribehttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAH7XPIBS3HJ23ZN56JEWYEDRPQUERANCNFSM4KVIKICA&data=02%7C01%7Cdarrenj%40microsoft.com%7C505a54e449344a61d97908d7eea45419%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637240261860583178&sdata=YmPn8I%2BbZGhbqJktl%2BCcT80GdHAbkPapV%2B0JSdoL%2FjY%3D&reserved=0.
I am already using latest 1.0.14. Workaround easy enough, just edited the .lu to ensure no ' in the main entity definitions. I also have bf, but only needed ludown for this main issue (incompatible .lu formats between what gets created from the LUIS portal by update_cognitive_models.ps1 -RemoteToLocal and what botskills expects). I guess this tool chain is still maturing ... looking forward to next iteration.