Thanks to visit codestin.com
Credit goes to github.com

Skip to content

intelmqsetup accesses version of intelmq_api wrongly leading to crash #2197

@wagner-intevation

Description

@wagner-intevation

https://github.com/certtools/intelmq/blob/79cae294a74ab77f09b1f371a19f04ad65abab12/intelmq/bin/intelmqsetup.py#L323=
The variable intelmq_api.version does not exist. intelmqsetup fails with this error:

Traceback (most recent call last):
  File "/usr/local/bin/intelmqsetup", line 11, in <module>
    load_entry_point('intelmq', 'console_scripts', 'intelmqsetup')()
  File "/opt/intelmq/intelmq/bin/intelmqsetup.py", line 323, in main
    print(f'Running setup for intelmq-api (version {intelmq_api.version}).')
AttributeError: module 'intelmq_api' has no attribute 'version'

Metadata

Metadata

Labels

bugIndicates an unexpected problem or unintended behaviorcomponent: corepackaging

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions