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

BaseQueryTranslator throws error parsing patterns containing booleans : ParserError: pop from empty list #875

Open
aidbutlr opened this issue Mar 30, 2022 · 0 comments

Comments

@aidbutlr
Copy link

Describe the bug
The BaseQueryTraslator throws a parser error when processing a stix-pattern containing a boolean

To Reproduce
Steps to reproduce the behavior:

The simplified test is as follows.

bqt = BaseQueryTranslator({},"test",basepath)
bqt.parse_query("[email-message:is_multipart = true ]")

results in
stix_shifter_utils.stix_translation.src.patterns.parser.ParserError: pop from empty list

Expected behavior
No error

Desktop (please complete the following information):

  • OS: MacOSX
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant