Closed teemie1 closed 2 months ago
this is likely because you are using python 3.12. There was a change that makes all released versions of pyln-client incompatible with python 3.12 because of an older dependency called coincurve
. You can either downgrade python to 3.11 or build pyln-client from master where coincurve was updated or update coincurve manually in an older pyln-client version, see here: https://github.com/ElementsProject/lightning/pull/7416
I've build pyln-client from master and it's work. Problem solved. Thank you for your help.
Issue and Steps to Reproduce
My environment OS: Ubuntu 24.04 CLN Version : 24.05 Cannot install prerequisite for clnrest plugin
When I start core lighting, there is error about start the plugin.
2024-07-07T10:46:50.609Z INFO lightningd: v24.05 2024-07-07T10:46:50.674Z DEBUG lightningd: Opened log file /data/lightningd/cln.log 2024-07-07T10:46:50.680Z DEBUG plugin-manager: started(89245) /usr/libexec/c-lightning/plugins/autoclean 2024-07-07T10:46:50.684Z DEBUG plugin-manager: started(89246) /usr/libexec/c-lightning/plugins/chanbackup 2024-07-07T10:46:50.688Z DEBUG plugin-manager: started(89247) /usr/libexec/c-lightning/plugins/bcli 2024-07-07T10:46:50.692Z DEBUG plugin-manager: started(89248) /usr/libexec/c-lightning/plugins/commando 2024-07-07T10:46:50.695Z DEBUG plugin-manager: started(89249) /usr/libexec/c-lightning/plugins/fetchinvoice 2024-07-07T10:46:50.699Z DEBUG plugin-manager: started(89250) /usr/libexec/c-lightning/plugins/funder 2024-07-07T10:46:50.703Z DEBUG plugin-manager: started(89251) /usr/libexec/c-lightning/plugins/topology 2024-07-07T10:46:50.707Z DEBUG plugin-manager: started(89252) /usr/libexec/c-lightning/plugins/keysend 2024-07-07T10:46:50.710Z DEBUG plugin-manager: started(89253) /usr/libexec/c-lightning/plugins/offers 2024-07-07T10:46:50.714Z DEBUG plugin-manager: started(89254) /usr/libexec/c-lightning/plugins/pay 2024-07-07T10:46:50.718Z DEBUG plugin-manager: started(89255) /usr/libexec/c-lightning/plugins/recover 2024-07-07T10:46:50.722Z DEBUG plugin-manager: started(89256) /usr/libexec/c-lightning/plugins/txprepare 2024-07-07T10:46:50.725Z DEBUG plugin-manager: started(89257) /usr/libexec/c-lightning/plugins/cln-renepay 2024-07-07T10:46:50.729Z DEBUG plugin-manager: started(89258) /usr/libexec/c-lightning/plugins/spenderp 2024-07-07T10:46:50.733Z DEBUG plugin-manager: started(89259) /usr/libexec/c-lightning/plugins/sql 2024-07-07T10:46:50.737Z DEBUG plugin-manager: started(89260) /usr/libexec/c-lightning/plugins/cln-grpc 2024-07-07T10:46:50.741Z DEBUG plugin-manager: started(89262) /usr/libexec/c-lightning/plugins/bookkeeper 2024-07-07T10:46:50.746Z DEBUG plugin-manager: started(89263) /usr/libexec/c-lightning/plugins/clnrest/clnrest 2024-07-07T10:46:50.750Z DEBUG plugin-manager: started(89264) /usr/libexec/c-lightning/plugins/wss-proxy/wss-proxy 2024-07-07T10:46:50.896Z INFO plugin-wss-proxy: Killing plugin: disabled itself: No module named 'pyln' 2024-07-07T10:46:51.348Z INFO plugin-clnrest: Killing plugin: disabled itself: No module named 'pyln' 2024-07-07T10:46:51.348Z DEBUG lightningd: io_break: check_plugins_manifests 2024-07-07T10:46:51.348Z DEBUG lightningd: io_loop_with_timers: plugins_init 2024-07-07T10:46:51.349Z DEBUG lightningd: testing /usr/libexec/c-lightning/lightning_channeld 2024-07-07T10:46:51.350Z DEBUG lightningd: testing /usr/libexec/c-lightning/lightning_closingd 2024-07-07T10:46:51.352Z DEBUG lightningd: testing /usr/libexec/c-lightning/lightning_connectd 2024-07-07T10:46:51.353Z DEBUG lightningd: testing /usr/libexec/c-lightning/lightning_gossipd 2024-07-07T10:46:51.355Z DEBUG lightningd: testing /usr/libexec/c-lightning/lightning_hsmd 2024-07-07T10:46:51.356Z DEBUG lightningd: testing /usr/libexec/c-lightning/lightning_onchaind 2024-07-07T10:46:51.357Z DEBUG lightningd: testing /usr/libexec/c-lightning/lightning_openingd 2024-07-07T10:46:51.359Z DEBUG hsmd: pid 89273, msgfd 53 2024-07-07T10:46:51.360Z DEBUG hsmd: capability +WIRE_HSMD_CHECK_PUBKEY 2024-07-07T10:46:51.360Z DEBUG hsmd: capability +WIRE_HSMD_SIGN_ANY_DELAYED_PAYMENT_TO_US 2024-07-07T10:46:51.360Z DEBUG hsmd: capability +WIRE_HSMD_SIGN_ANCHORSPEND 2024-07-07T10:46:51.360Z DEBUG hsmd: capability +WIRE_HSMD_SIGN_HTLC_TX_MINGLE 2024-07-07T10:46:51.360Z DEBUG hsmd: capability +WIRE_HSMD_SIGN_SPLICE_TX 2024-07-07T10:46:51.360Z DEBUG hsmd: capability +WIRE_HSMD_CHECK_OUTPOINT
getinfo
outputlightningd@yoga500:~$ lightning-cli getinfo { "id": "024c944b289031a00fb64fb8fda65aa2f079d6b943046964e5c3c0b097ad83e21a", "alias": "teemie-cln ", "color": "ffa500", "num_peers": 0, "num_pending_channels": 0, "num_active_channels": 0, "num_inactive_channels": 0, "address": [ { "type": "torv3", "address": "7jbg7gwc7xuep3kx44pnsn6gdxlxjrsjmwi2v6hxg5mta7oa74g4l6ad.onion", "port": 9735 } ], "binding": [ { "type": "ipv4", "address": "0.0.0.0", "port": 9735 } ], "version": "v24.05", "blockheight": 1238478, "network": "signet", "fees_collected_msat": 0, "lightning-dir": "/home/lightningd/.lightning/signet", "our_features": { "init": "080000000000000000000000000008a0882a8a59a1", "node": "080000000000000000000000000088a0882a8a59a1", "channel": "", "invoice": "02000002024100" } }