-
Notifications
You must be signed in to change notification settings - Fork 129
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
rebalance plugin using lightning-cli rebalancereport: 'plugin has no attribute 'mutex' #388
Comments
It seems that the init() is not run on startup. |
error in startup: plugin-rebalance.py: TypeError: int() argument must be a string, a bytes-like object or a real number, not 'NoneType' I think this is also fixed with #5574 I can not yet get the fix to work though. When using cd lightning/contrib/pyln-client running pip show pyln-client does not return anything and lightningd does not start. |
Supposedly it must be done like #5115. |
Same here after updating to CLN v0.12.0f or
|
Log with rebalance.py plugin dynamic start and subsequent attempted use:
|
I have the same problem with CLN 23.08.1, any suggestions? |
I switched to the circular plugin. I didn't try this one again after switching. |
I have no idea what it means, I thought I would report it here.
Running lightning-cli rebalancereport gives;
{
"code": -32600,
"message": "Error while processing rebalancereport: 'Plugin' object has no attribute 'mutex'",
"traceback": "Traceback (most recent call last):\n File "/usr/local/lib/python3.10/dist-packages/pyln/client/plugin.py", line 631, in _dispatch_request\n result = self._exec_func(method.func, request)\n File "/usr/local/lib/python3.10/dist-packages/pyln/client/plugin.py", line 613, in _exec_func\n return func(*ba.args, **ba.kwargs)\n File "/data/cln/plugins-available/rebalance/rebalance.py", line 739, in rebalancereport\n res["rebalanceall_is_running"] = plugin.mutex.locked()\nAttributeError: 'Plugin' object has no attribute 'mutex'\n"
}
The text was updated successfully, but these errors were encountered: