Closed aido closed 3 years ago
I'm running into this on Fedora 33 and c-lightning v0.9.3. Might be related.
2021-02-01T15:59:12.210Z INFO plugin-historian.py: Exception parsing gossip message: name 'parser' is not defined
2021-02-01T15:59:12.210Z INFO plugin-historian.py: Exception parsing gossip message: name 'parser' is not defined
2021-02-01T15:59:12.210Z INFO plugin-historian.py: Exception parsing gossip message: name 'parser' is not defined
2021-02-01T15:59:12.210Z INFO plugin-historian.py: Exception parsing gossip message: name 'parser' is not defined 2021-02-01T15:59:12.210Z INFO plugin-historian.py: Exception parsing gossip message: name 'parser' is not defined
2021-02-01T15:59:12.210Z INFO plugin-historian.py: Exception parsing gossip message: name 'parser' is not defined
2021-02-01T15:59:12.210Z INFO plugin-historian.py: Exception parsing gossip message: name 'parser' is not defined
2021-02-01T15:59:12.210Z INFO plugin-historian.py: Exception parsing gossip message: name 'parser' is not defined
2021-02-01T15:59:12.210Z INFO plugin-historian.py: Exception parsing gossip message: name 'parser' is not defined
2021-02-01T15:59:12.211Z INFO plugin-historian.py: Exception parsing gossip message: name 'parser' is not defined 2021-02-01T15:59:12.211Z INFO plugin-historian.py: Exception parsing gossip message: name 'parser' is not defined
2021-02-01T15:59:12.211Z INFO plugin-historian.py: Exception parsing gossip message: name 'parser' is not defined
when trying `lightning-cli historian-stats`
2021-02-01T16:00:19.525Z INFO plugin-historian.py: Traceback (most recent call last):
2021-02-01T16:00:19.525Z INFO plugin-historian.py: File \"/home/user/.local/lib/python3.9/site-packages/pyln/client/plugin.py\", line 621, in _dispatch_request
2021-02-01T16:00:19.525Z INFO plugin-historian.py: result = self._exec_func(method.func, request)
2021-02-01T16:00:19.525Z INFO plugin-historian.py: File \"/home/user/.local/lib/python3.9/site-packages/pyln/client/plugin.py\", line 603, in _exec_func
2021-02-01T16:00:19.526Z INFO plugin-historian.py: return func(*ba.args, **ba.kwargs)
2021-02-01T16:00:19.526Z INFO plugin-historian.py: File \"/data/lightningdir/bitcoin/plugins/historian.py\", line 189, in stats
2021-02-01T16:00:19.526Z INFO plugin-historian.py: 'latest_node_announcement': session.query(NodeAnnouncement).order_by(desc(NodeAnnouncement.timestamp)).limit(1)[0],
2021-02-01T16:00:19.526Z INFO plugin-historian.py: File \"/home/user/.local/lib/python3.9/site-packages/sqlalchemy/orm/query.py\", line 3154, in __getitem__
2021-02-01T16:00:19.526Z INFO plugin-historian.py: return list(self[item : item + 1])[0]
2021-02-01T16:00:19.526Z INFO plugin-historian.py: IndexError: list index out of range
2021-02-01T16:00:19.526Z INFO plugin-historian.py:
Hi @grubles
Your first issue will probably be fixed by https://github.com/lightningd/plugins/pull/207
I fixed it like so https://github.com/lightningd/plugins/pull/215
@grubles specifically I fixed this with #206 but it might be a symptom of what was fixed in #207. Not sure.
Hi @GuutBoy
Latest version of historian plugin now giving following info several times:
2021-02-03T22:40:16.761Z INFO plugin-historian.py: Exception parsing gossip message: 'NoneType' object has no attribute 'from_gossip'
2021-02-03T22:40:16.761Z INFO plugin-historian.py: Exception parsing gossip message: 'NoneType' object has no attribute 'from_gossip'
2021-02-03T22:40:16.761Z INFO plugin-historian.py: Exception parsing gossip message: 'NoneType' object has no attribute 'from_gossip'
2021-02-03T22:40:16.761Z INFO plugin-historian.py: Exception parsing gossip message: 'NoneType' object has no attribute 'from_gossip'
2021-02-03T22:40:16.761Z INFO plugin-historian.py: Exception parsing gossip message: 'NoneType' object has no attribute 'from_gossip'
2021-02-03T22:40:16.762Z INFO plugin-historian.py: Exception parsing gossip message: 'NoneType' object has no attribute 'from_gossip'
2021-02-03T22:40:16.762Z INFO plugin-historian.py: Exception parsing gossip message: 'NoneType' object has no attribute 'from_gossip'
2021-02-03T22:40:16.762Z INFO plugin-historian.py: Exception parsing gossip message: 'NoneType' object has no attribute 'from_gossip'
2021-02-03T22:40:16.762Z INFO plugin-historian.py: Exception parsing gossip message: 'NoneType' object has no attribute 'from_gossip'
2021-02-03T22:40:16.762Z INFO plugin-historian.py: Exception parsing gossip message: 'NoneType' object has no attribute 'from_gossip'
2021-02-03T22:40:16.762Z INFO plugin-historian.py: Exception parsing gossip message: 'NoneType' object has no attribute 'from_gossip'
2021-02-03T22:40:16.763Z INFO plugin-historian.py: Exception parsing gossip message: 'NoneType' object has no attribute 'from_gossip'
Oh yeah, forgot that one. #217 fixes that.
Hi,
The historian plugin regularly gives the following errors: