You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add any plugin to this setup:
lightningd version: v0.10.1-193-gbb307fa
pyln-client: 0.10.1
pyln-proto: 0.10.1
I fixed it on my own install by changing line 5 in /usr/local/lib/python3.8/dist-packages/pyln/client/gossmap.py to read: from pyln.proto.primitives import ShortChannelId, PublicKey
Error message:
Traceback (most recent call last):
File "/home/lightningd/.lightning/plugins/rebalance/rebalance.py", line 2, in <module>
from pyln.client import Plugin, Millisatoshi, RpcError
File "/usr/local/lib/python3.8/dist-packages/pyln/client/__init__.py", line 3, in <module>
from .gossmap import Gossmap, GossmapNode, GossmapChannel, GossmapNodeId
File "/usr/local/lib/python3.8/dist-packages/pyln/client/gossmap.py", line 5, in <module>
from pyln.proto import ShortChannelId, PublicKey
ImportError: cannot import name 'ShortChannelId' from 'pyln.proto' (/home/lightningd/.local/lib/python3.8/site-packages/pyln/proto/__init__.py)
Unable to reproduce your stack trace with the latest version of master.
With the lightning version v0.10.1-193-gbb307fa I'm assuming that you are compiling from the source, and maybe you can try to follow the following procedure that works on my machine and share the error and also what command will fail to better understanding what happens.
Issue and Steps to Reproduce
Error below is produced by all plugins.
Add any plugin to this setup:
lightningd version: v0.10.1-193-gbb307fa
pyln-client: 0.10.1
pyln-proto: 0.10.1
I fixed it on my own install by changing line 5 in
/usr/local/lib/python3.8/dist-packages/pyln/client/gossmap.py
to read:from pyln.proto.primitives import ShortChannelId, PublicKey
Error message:
getinfo
outputThe text was updated successfully, but these errors were encountered: