piston-cli icon indicating copy to clipboard operation
piston-cli copied to clipboard

get_blog method - inconsistency in steem backend

Open AlekseiSmirnov opened this issue 8 years ago • 2 comments

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

AlekseiSmirnov avatar Mar 05 '17 18:03 AlekseiSmirnov

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

xeroc avatar Mar 07 '17 08:03 xeroc

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?

AlekseiSmirnov avatar Mar 15 '17 19:03 AlekseiSmirnov