You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm getting a bunch of errors by using this project, anybody have any ideas on why this is?
Python 3.12
(.venv) PS C:\Users\admin\PycharmProjects\project1> python .\main.py -f C:\Temp\Example.yar -d . --testing
ERROR: No token list is defined
ERROR: No rules of the form t_rulename are defined
ERROR: No rules defined for state 'INITIAL'
Traceback (most recent call last):
File "C:\Users\admin\PycharmProjects\project1\main.py", line 36, in <module>
main()
File "C:\Users\admin\PycharmProjects\project1\main.py", line 28, in main
yara = plyara.Parser()
^^^^^^^^^^^^^^^
File "C:\Users\admin\PycharmProjects\project1\.venv\Lib\site-packages\plyara\core.py", line 129, in __init__
self.lexer = lex.lex(module=self, debug=False)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\admin\PycharmProjects\project1\.venv\Lib\site-packages\ply\lex.py", line 909, in lex
raise SyntaxError("Can't build lexer")
SyntaxError: Can't build lexer
The text was updated successfully, but these errors were encountered:
I'm getting a bunch of errors by using this project, anybody have any ideas on why this is?
Python 3.12
The text was updated successfully, but these errors were encountered: