
python-steem is not compatible with 19.4 (appbase).
Expected behavior
Steem-python should be able to work with the new 19.4 hard fork before the hard fork happens so programs that rely on steem-python can be tested against it.
Actual behavior
steem-python attemps to use the 'database_api' and does not failover to a 'condenser_api' call, which could be handled in various little try/except blocks.
This is what happens when get_account_history() is called:
Traceback (most recent call last):
File "", line 1, in <module>
File ".../development/steem-python/steem/steemd.py", line 621, in get_account_history
api='database_api')
File ".../development/steem-python/steembase/http_client.py", line 216, in call
return_with_args=return_with_args)
File ".../development/steem-python/steembase/http_client.py", line 236, in _return
raise RPCError(error_message)
steembase.exceptions.RPCError: Assert Exception:method_itr != api_itr->second.end(): Could not find method get_account_history
How to reproduce
Testing can begin against 19.4 with the public rpc node mentioned in the following article https://steemit.com/steem/@timcliff/new-appbase-19-4-rpc-node-online-for-appbase-testing-appbasetest-timcliff-com
Example:
Run python3 and issue the following commands:
>>> from steem.steem import Steem
>>> steem = Steem(nodes=['appbasetest.timcliff.com'])
>>> steem.get_account_history('steemfiles', index_from=1, limit=0)
appbasetest.timcliff.com
- Browser: N/A
- Operating system: Linux
Recording Of The Bug
If the bug can be recorded on screen, please provide a short video or an animated GIF, otherwise delete this section.
Posted on Utopian.io - Rewarding Open Source Contributors
Leave python-steem is not compatible with 19.4 (appbase). to:
Read more #utopian-io posts
Best Posts From Leprechaun
We have not curated any of leprechaun's posts yet. But you can encourage our curation team to review posts by visiting them regularly and by referring other readers. Because we give priority to frequently read content.
More Posts From Leprechaun
- The false Morality of Regulation
- Self Port Scanning Tool Available
- When a prospective employee asks for your public key
- Japanese Bombed Pearl Harbor Four Score and four years ago
- Once A Novel Way to Sweeten Things, now Documented Mental Decline
- Hive-Engine Remove The Limit
- Secure Ten Year Old Smart Phone
- Share Your Cryptocurrency Node for $23
- Bitcoincash Supporting Wallets
- Celebrating Fathers day