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

sauron: crash on start for getchaininfo #516

Closed
daywalker90 opened this issue Apr 22, 2024 · 1 comment · Fixed by #575
Closed

sauron: crash on start for getchaininfo #516

daywalker90 opened this issue Apr 22, 2024 · 1 comment · Fixed by #575

Comments

@daywalker90
Copy link
Contributor

/sauron.py error: bad response to getchaininfo (bad 'result' field: Parsing '{result:': object does not have member result), response was {"jsonrpc": "2.0", "id": "cln:getchaininfo#19", "error": {"code": -32600, "message": "Error while processing getchaininfo: Retry.__init__() got an unexpected keyword argument 'method_whitelist'", "traceback": "Traceback (most recent call last):\n  File \"/home/bitcoin/lightning/contrib/pyln-client/pyln/client/plugin.py\", line 646, in _dispatch_request\n    result = self._exec_func(method.func, request)\n             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n  File \"/home/bitcoin/lightning/contrib/pyln-client/pyln/client/plugin.py\", line 626, in _exec_func\n    ret = func(*ba.args, **ba.kwargs)\n          ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n  File \"/home/bitcoin/plugins/sauron/sauron.py\", line 77, in getchaininfo\n    genesis_req = fetch(blockhash_url)\n                  ^^^^^^^^^^^^^^^^^^^^\n  File \"/home/bitcoin/plugins/sauron/sauron.py\", line 28, in fetch\n    retry_strategy = Retry(\n                     ^^^^^^\nTypeError: Retry.__init__() got an unexpected keyword argument 'method_whitelist'\n"}}

While trying to write a test for this was already difficult (pyln-testing always adds a bitcoind specific option when starting a node, that can't be removed so i had to edit pyln-testing, maybe there is another way tho), CLN 24.02.2 just would not start successfully because of the error above.

@chrisguida
Copy link
Collaborator

Sauron sort of doesn't really have a maintainer right now, trying to see if we can find one...

#471 (comment)

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

Successfully merging a pull request may close this issue.

2 participants