Skip to content
This repository was archived by the owner on Jan 15, 2025. It is now read-only.
This repository was archived by the owner on Jan 15, 2025. It is now read-only.

Need a way to get reason of error "No LU or Luis content parsed!" #790

@dawwa

Description

@dawwa

Versions

@microsoft/botframework-cli/4.9.0 win32-x64 node-v12.16.3
Windows Server 2019

Describe the bug

We see bf luis:convert fails when running in AzureDevOps Build Pipeline, but does not repro when running the same command locally.

I did a brief check on the source code, looks like this, is there some workaround we can get the reason why the result is empty?

        result = await LuisBuilder.build(luFiles, flags.log, flags.culture)
        if (!hasContent(result)) {
          throw new CLIError('No LU or Luis content parsed!')
        }

Current behavior

We only see "No LU or Luis content parsed!" as one line error in the build log, but have no idea why it happens as we could not repro it locally.

Expected behavior

We need to understand what's the real failure behind the error message.

Metadata

Metadata

Assignees

Labels

Bot ServicesRequired for internal Azure reporting. Do not delete. Do not change color.customer-replied-toIndicates that the team has replied to the issue reported by the customer. Do not delete.customer-reportedIssue is created by anyone that is not a collaborator in the repository.lunon luis api commands

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions