Skip to content
This repository was archived by the owner on Mar 23, 2020. It is now read-only.
This repository was archived by the owner on Mar 23, 2020. It is now read-only.

'Nonetype' object is not subscriptable error #73

@jtault

Description

@jtault

Occasionally (every 10-20 votes or so) my bot fails with this error:

Traceback (most recent call last):
File "./votingbot.py", line 113, in
for c in steem.stream_comments():
File "/home/.local/lib/python3.4/site-packages/piston/steem.py", line 976, in stream_comments
for c in self.rpc.stream("comment", _args, *_kwargs):
File "/usr/local/lib/python3.4/dist-packages/steemapi/steemnoderpc.py", line 143, in stream
for block in self.block_stream(_args, *_kwargs):
File "/usr/local/lib/python3.4/dist-packages/steemapi/steemnoderpc.py", line 109, in block_stream
head_block = props['last_irreversible_block_num']
TypeError: 'NoneType' object is not subscriptable

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions