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

Runtime errors from ply parsing code? #7

Open
fredcy opened this issue Jul 6, 2019 · 1 comment
Open

Runtime errors from ply parsing code? #7

fredcy opened this issue Jul 6, 2019 · 1 comment

Comments

@fredcy
Copy link

fredcy commented Jul 6, 2019

When I run an application that imports the pytezos library I get the following errors each time it starts up:

WARNING: No t_error rule is defined
WARNING: no p_error() function is defined
WARNING: Token 'COMMENT' defined, but not used
WARNING: Token 'MULTI_COMMENT' defined, but not used
WARNING: There are 2 unused tokens

FWIW, I have the python logging module enabled for my app with logger.setLevel(logging.INFO) in the global context.

I suspect that the messages arise from the use of the ply module in pytezos/micheline/grammar.py.

@m-kus
Copy link
Contributor

m-kus commented Jul 7, 2019

Yep, this comes from ply module, will fix in the next release, thanks!

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

2 participants