question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Root bot not starting (only skill bot does)

See original GitHub issue

Describe the bug

Faced this issue twice on my end while following the instructions to create and test a local skill The root bot keep showing that it’s starting but doesn’t, only the skill bot will start.

I get the same popup error message when I close and open the composer again for both the bots “Cannot read property ‘stdout’ of undefined” (error message reported: https://github.com/microsoft/BotFramework-Composer/issues/8547)

I’m running on dot net core version 5.0.302

Version

Version: 2.1.0 Electron: 8.2.4 Chrome: 80.0.3987.165 NodeJS: 12.13.0 V8: 8.0.426.27-electron.0

Browser

  • Electron distribution
  • Chrome
  • Safari
  • Firefox
  • Edge

OS

  • macOS
  • Windows
  • Ubuntu

To Reproduce

Steps to reproduce the behavior:

  1. Follow the steps in this documentation - Create and test a local skill
  2. Attempt to Test the bots locally
  3. The root bot will show as “starting” (been 30 mins now) but won’t start, only the skill bot will start
  4. After reopening composer, I receive this error message “Cannot read property ‘stdout’ of undefined”

Expected behavior

That I would be able to transition from the root bot to the skill bot as promised in the document

Screenshots

image

Additional context

Came across this bug the first time when my Greeting template resorted back to the default one (I was using the Core bot with Language template) after trying to start the bot. Got the same issue after repeating the steps on a test bot.

Would like to suggest to update the documentation after fixing. Will likely make an issue on composer-docs for tracing if it helps.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
pavolumcommented, Aug 20, 2021

@anusharr I had a similar issue where a running bot would hang forever and not give a valid error message. This PR (https://github.com/microsoft/BotFramework-Composer/pull/8587) adds a null check that enabled me to at least get a meaningful error message when the bot would not start.

@aninternetian once we get this null check shipped in our next patch in the coming weeks you should be able to see why your root bot wont start but your skill bot will. By any chance did you manually rename any of the bot files in the file system?

1reaction
anusharrcommented, Aug 18, 2021

@aninternetian, thanks for reporting this. Let me attempt a repro on my end and update the thread with my findings.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Root bot, skill bot and scaling - Microsoft Community Hub
Hi, We need help with scaling. Problem statement: With 2 instances of root bot running, a skill bot invocation is unable to return...
Read more >
RootBot throws "Error invoking the skill id: “msAppID ... - GitHub
The error is thrown only when the skill becomes a skill consumer, i.e in our case TestSkillBot1 is a skill to TestRootBot and...
Read more >
RootBot throws "Error invoking the skill id - Stack Overflow
The error is thrown only when the skill becomes a skill consumer, i.e in our case TestSkillBot1 is a skill to TestRootBot and...
Read more >
Transfer data between Root bot and Skill Bot in Bot Composer
A skill is a bot that can perform a set of tasks for another bot —a bot can be both a skill and...
Read more >
Custom Skill - Anthology Inc.
Each skill bot will represent an "activity" that can be integrated with ... The template is the starting point for your bot dialog; ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found