plugins
plugins copied to clipboard
"message": "rebalance/rebalance.py is not executable
trafficstars
Hello, I've cloned plugins with:
git clone https://github.com/lightningd/plugins.git
Installed requirements with:
pip install -r rebalance/requirements.txt
Then, I run:
bitcoin@raspibolt:~/lightning/plugins $ lightning-cli plugin start rebalance/rebalance.py
{
"code": -32602,
"message": "rebalance/rebalance.py is not executable: No such file or directory"
}
Core Lightning v0.10.2
Rebalance is run by adding the plugin path to the config or command line of lightningd and then run ./lightning-cli rebalance.
You need to make the file executable: chmod +x rebalance/rebalance.py.
This is because lightningd will fork and execve the plugin entrypoint. The top of the plugin has a shebang that tells the OS to use the python3 interpreter to run the file.