Skip to content

sieve bot check does not check for dependency #2592

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

Open
sebix opened this issue Apr 3, 2025 · 0 comments · May be fixed by #2605
Open

sieve bot check does not check for dependency #2592

sebix opened this issue Apr 3, 2025 · 0 comments · May be fixed by #2605
Labels
bug Indicates an unexpected problem or unintended behavior component: bots

Comments

@sebix
Copy link
Member

sebix commented Apr 3, 2025

if textx is not installed, the check method prints the stacktrace of the Import Error

Bot 'sieve-expert': Validation of Sieve file failed with the following traceback: 'Traceback (most recent call last):\n File "/usr/lib/python3.13/site-packages/intelmq/bots/experts/sieve/expert.py", line 86,
in check\n metamodel = metamodel_from_file(grammarfile)\nTypeError: 'NoneType' object is not callable\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File "/usr/lib/python3.13/site-packages/intelmq/bots/experts/sieve/expert.py", line 87, in check\n except TextXError as e:\n ^^^^^^^^^^\nNameError: name 'TextXError' is not defined\n'

@sebix sebix added the bug Indicates an unexpected problem or unintended behavior label Apr 3, 2025
sebix added a commit to sebix/intelmq that referenced this issue Apr 23, 2025
@sebix sebix added this to the 3.4.1 Patch release milestone Apr 23, 2025
@sebix sebix linked a pull request Apr 24, 2025 that will close this issue
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: bots
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant