Skip to content

sieve bot check does not check for dependency #2592

@sebix

Description

@sebix
Member

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'

Activity

added
bugIndicates an unexpected problem or unintended behavior
on Apr 3, 2025
added a commit that references this issue on Apr 23, 2025
507812b
added this to the 3.4.1 Patch release milestone on Apr 23, 2025
linked a pull request that will close this issueTest for textX dependency in self-check #2605on Apr 24, 2025
added a commit that references this issue on Apr 28, 2025
50a7608
added theissue type on Apr 28, 2025
added a commit that references this issue on Jul 17, 2025
850dca4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugIndicates an unexpected problem or unintended behaviorcomponent: bots

    Type

    Projects

    No projects

    Relationships

    None yet

      Development

      Participants

      @sebix

      Issue actions

        sieve bot check does not check for dependency · Issue #2592 · certtools/intelmq