Skip to content

Analysis report generation fails due to Python import error #140

@lcartey

Description

@lcartey

Describe the bug
When running the analysis_report.py script the following error is observed:

ImportError: cannot import name 'CodeQL' from partially initialized module 'codeql' (most likely due to a circular import) 

Environment

  • CodeQL Coding Standards version: 2.8.0
  • Python version: 3.9.15
  • CodeQL CLI bundle: codeql-bundle-20220120 (CLI version: 2.7.6)

Metadata

Metadata

Assignees

Labels

bugSomething isn't workinguser-reportIssue reported by an end user of CodeQL Coding Standards

Type

No type
No fields configured for issues without a type.

Projects

Status

No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions