microsoft / botbuilder-tools

Welcome to the Bot Framework Tools repository, which is the home for a set of tools for developers building bots with the Microsoft Bot Framework
https://github.com/Microsoft/botframework
MIT License
444 stars 262 forks source link

Dispatch tool version 1.7 create works 100%, but if i say refresh it fails #1463

Closed ghost closed 4 years ago

ghost commented 4 years ago

Tool

Name: Dispatch and LUIS and Qna Version: 1.7.1 OS: Windows 10

Describe the bug

When i run dispatch create, it works and creates it all in LUIS. Then without changing anything to test I am running dispatch refresh .I get an error that says it failed but no helpful info. I have run refresh a few times a couple of weeks ago and it worked when we added new stuff to our qna services. it was imported into LUIS dispatch. This worked a few times we added new itmes to our qna service, and we needed this to be updated in our dispatch service. I have never added a -v version when i did this and had no issues.:

Exporting services for dispatch... Exporting DispatchModel LUIS application... Exporting LUIS application... Exporting QnA kb... Creating dispatch LUIS model json... Creating training data... Updating model... Importing model...

ERROR Failed importing latest version of app

To Reproduce

Steps to reproduce the behavior:

  1. I created a dispatch services
  2. we added 1 new item in the qna service
  3. ran dispatch refresh
  4. failed

Expected behavior

A clear and concise description of what you expected to happen.

Screenshots

image

Additional context

Add any other context about the problem here.

[bug]

tsuwandy commented 4 years ago

@InfoZone, could you check what versions the dispatch app has on luis portal? When was the last time create runs successfully? Could you try using the same .dispatch file, rename the dispatch app name, set appId to "" and then run dispatch create and see if it could finish successfully?

ghost commented 4 years ago

Hello,

So i deleted the dispatch app in luis, ran the create it worked, then an update and it worked

Same dispatch file so not sure if there was something funny in the luis app?

Anyways thanks

Get Outlook for iOShttps://aka.ms/o0ukef


From: Tien Suwandy notifications@github.com Sent: Tuesday, August 4, 2020 7:00:00 PM To: microsoft/botbuilder-tools botbuilder-tools@noreply.github.com Cc: Pieter van Heerden Pieter.vanHeerden@syspro.com; Mention mention@noreply.github.com Subject: Re: [microsoft/botbuilder-tools] Dispatch tool version 1.7 create works 100%, but if i say refresh it fails (#1463)

@InfoZonehttps://zaf01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FInfoZone&data=01%7C01%7Cpieter.vanheerden%40syspro.com%7Ceaecd5086d96420f51b808d8389815e1%7C68d2c09983144190a4258808054cda12%7C0&sdata=BHaJrprV24jrF69HyTWahc%2BYbQ4xMPeKnL0KISbYthA%3D&reserved=0, could you check what versions the dispatch app has on luis portal? When was the last time create runs successfully? Could you try using the same .dispatch file, rename the dispatch app name, set appId to "" and then run dispatch create and see if it could finish successfully?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://zaf01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fmicrosoft%2Fbotbuilder-tools%2Fissues%2F1463%23issuecomment-668712652&data=01%7C01%7Cpieter.vanheerden%40syspro.com%7Ceaecd5086d96420f51b808d8389815e1%7C68d2c09983144190a4258808054cda12%7C0&sdata=3KenMfuey3wGva59fmHivWVBhIhdQjq2xFoMze%2FKVHw%3D&reserved=0, or unsubscribehttps://zaf01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAEHHAIX3ZY7UYAXQJXTGBGDR7A5AVANCNFSM4PTKSS6Q&data=01%7C01%7Cpieter.vanheerden%40syspro.com%7Ceaecd5086d96420f51b808d8389815e1%7C68d2c09983144190a4258808054cda12%7C0&sdata=cTogOmqX8zJHPFxF2K%2FuvDl4275nGkNpW2EUiP32ecA%3D&reserved=0.

tsuwandy commented 4 years ago

@InfoZone , thanks for the update. I’m guessing there was some dispatch versions preventing the refresh (previous failures). I’ll close this issue but let me know if you run into this issue again. Thanks!