steem.transfer Python (0.18.95) API incompatible with some API nodes

in #steem3 hours ago

Probably because the Python SDK is very old - and currently not maintained any more. The pip3 list shows the steem version is 0.18.95.

image.png

Traceback (most recent call last):
File "/var/www/steem/auto_transfer.py", line 16, in module
account = Account(id, steemd_instance=steem)
File "/usr/local/lib/python3.10/dist-packages/steem/account.py", line 32, in init
self.refresh()
File "/usr/local/lib/python3.10/dist-packages/steem/account.py", line 35, in refresh
account = self.steemd.get_account(self.name)
File "/usr/local/lib/python3.10/dist-packages/steem/steemd.py", line 158, in get_account
return first(self.exec('get_accounts', [account]))
File "/usr/local/lib/python3.10/dist-packages/steembase/http_client.py", line 189, in exec
return self._return(
File "/usr/local/lib/python3.10/dist-packages/steembase/http_client.py", line 213, in _return
raise RPCError(error_message)
steembase.exceptions.RPCError: Assert Exception:v.size() == 2: method specification invalid. Should be api.method

Steem to the Moon🚀!

Support me, thank you!

Why you should vote me? My contributions
Please vote me as a witness or set me as a proxy via https://steemitwallet.com/~witnesses

image.png

Sort:  

This outdated Python SDK is likely the root cause of the incompatibility issues you're facing. Have you considered updating to a newer version of the SDK? 🤔💻