Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

intelmqsetup accesses version of intelmq_api wrongly leading to crash #2197

Closed
wagner-intevation opened this issue Jun 29, 2022 · 0 comments · Fixed by #2198
Closed

intelmqsetup accesses version of intelmq_api wrongly leading to crash #2197

wagner-intevation opened this issue Jun 29, 2022 · 0 comments · Fixed by #2198
Assignees
Labels
bug Indicates an unexpected problem or unintended behavior component: core packaging
Milestone

Comments

@wagner-intevation
Copy link
Contributor

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'
sebix pushed a commit that referenced this issue Jun 29, 2022
The version of the intelmq_api is available under a different path
@sebix sebix added bug Indicates an unexpected problem or unintended behavior packaging component: core labels Jun 29, 2022
@sebix sebix added this to the 3.1.0 milestone Jun 29, 2022
sebix pushed a commit that referenced this issue Jul 7, 2022
The version of the intelmq_api is available under a different path
sebix added a commit that referenced this issue Jul 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Indicates an unexpected problem or unintended behavior component: core packaging
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants