Skip to content

package repeatabilities might contain n instead of a digit: 'X [5P0..n] #571

@hf-kklein

Description

@hf-kklein

failed aktuell beim parsen:

The ahb expression is not well-formed: 'X [1P0..n]'
Traceback (most recent call last):
  File "/opt/hostedtoolcache/Python/3.13.2/x64/lib/python3.13/site-packages/ahbicht/expressions/ahb_expression_parser.py", line 50, in parse_ahb_expression_to_single_requirement_indicator_expressions
    parsed_tree = _parser.parse(ahb_expression)
  File "/opt/hostedtoolcache/Python/3.13.2/x64/lib/python3.13/site-packages/lark/lark.py", line 655, in parse
    return self.parser.parse(text, start=start, on_error=on_error)
           ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/hostedtoolcache/Python/3.13.2/x64/lib/python3.13/site-packages/lark/parser_frontends.py", line 104, in parse
    return self.parser.parse(stream, chosen_start, **kw)
           ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/hostedtoolcache/Python/3.13.2/x64/lib/python3.13/site-packages/lark/parsers/earley.py", line 280, in parse
    to_scan = self._parse(lexer, columns, to_scan, start_symbol)
  File "/opt/hostedtoolcache/Python/3.13.2/x64/lib/python3.13/site-packages/lark/parsers/xearley.py", line 152, in _parse
    to_scan = scan(i, to_scan)
  File "/opt/hostedtoolcache/Python/3.13.2/x64/lib/python3.13/site-packages/lark/parsers/xearley.py", line 125, in scan
    raise UnexpectedCharacters(stream, i, text_line, text_column, {item.expect.name for item in to_scan},
    ...<2 lines>...
                               )
lark.exceptions.UnexpectedCharacters: No terminal matches 'n' in the current parser context, at line 1 col 9

X [1P0..n]

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions