xeroc / piston-cli

Command line tool to interact with the STEEM network
MIT License
74 stars 33 forks source link

get_blog method - inconsistency in steem backend #93

Open AlekseiSmirnov opened 7 years ago

AlekseiSmirnov commented 7 years ago

I had get_blog method in one of my scripts. After a latest golos hardfork I'm getting the following error:

blog = steem.get_blog('phenom') File "/usr/local/lib/python3.5/dist-packages/steem_piston-0.3.4-py3.5.egg/piston/steem.py", line 1019, in get_blog user, p # FIXME, this is a inconsistency in steem backend KeyError: 'phenom/phenom/agile-za-15-minut-ili-kak-razvernut-jira'

Is this method obsolete now? I couldn't find its description in the latest documentation

xeroc commented 7 years ago

I haven't had the time to work on the library to make it golos compatible again .. It came as a surprise to me that they hardforked will see when i can find the time to make the proper changes again

AlekseiSmirnov commented 7 years ago

Thanks! Look forward seeing compatible lib again. From the first glance, it should be equal to steem.

@xeroc Minor question After hardfork, when I have loop for c in steem.stream_comments(): after quite a while of program work I'm getting: Lost connection to node during rpcexec(): wss://ws.golos.io (5/-1) Retrying in 8 seconds

But it doesn't reconnect. Only relaunch of the script helps. Can you give me a hint what's the matter?