Skip to content

rebalance plugin using lightning-cli rebalancereport: 'plugin has no attribute 'mutex'  #388

@unsettledroell404

Description

@unsettledroell404

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"
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions