-
Notifications
You must be signed in to change notification settings - Fork 2
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
Max recursion depth exceeded error #18
Comments
Thanks @JoshOrndorff, I tested the code in a jupyter notebook so it's not been merged in the main project. But here is the command: connection = casper.create_connection(host=RNODE_HOST, port=40403) And here is the traceback: ~/.local/lib/python3.6/site-packages/rchain_grpc/utils.py in create_connection(stub, channel_fn, host, port) /usr/lib/python3.6/typing.py in new(cls, *args, **kwds) /usr/lib/python3.6/typing.py in _generic_new(base_cls, cls, *args, **kwds) ~/.local/lib/python3.6/site-packages/rchain_grpc/utils.py in setattr(self, key, val) ~/.local/lib/python3.6/site-packages/rchain_grpc/utils.py in getattr(self, key) ... last 1 frames repeated, from the frame below ... ~/.local/lib/python3.6/site-packages/rchain_grpc/utils.py in getattr(self, key) RecursionError: maximum recursion depth exceeded. |
Hello @goodyduru, If that's the case it is a known problem, we noticed a week ago this issue with that version, while current unittests are running only on python 3.7. We are in the process of supporting old versions of Python in #5, please follow that issue for updates as 3.6 is next. In the meantime just for the record, if you use docker, you can get a working environment like this: git clone https://github.com/proof-media/rchain-notebook.git
cd rchain-notebook/
docker-compose pull
docker-compose up -d
# you have a running notebook
# but we can quickly debug with
docker-compose exec notes ipython from rchain_grpc import casper
RNODE_HOST = %env NODE_NAME
connection = casper.create_connection(host=RNODE_HOST, port=40403)
print(connection)
<rchain_grpc.utils.Connection object at 0x7f94504ed828> |
Alright, thanks. Will try docker for now. |
Description
This issue is opened for @googyduru to seek help on an issue partially described here
rchain/bounties#996 (comment)
@goodyduru Please fill in details and push the code that is causing the problem to github.
What I Did
The text was updated successfully, but these errors were encountered: