steemit / steem-python

The official Python (3) library for the Steem Blockchain.
https://steem.io
MIT License
153 stars 98 forks source link

witnessupdate causes "Bad Cast:Invalid cast from string_type to Array" error #193

Closed Jolly-Pirate closed 6 years ago

Jolly-Pirate commented 6 years ago

Trying to run this command: steempy witnessupdate --witness witnessname --signing_key STM..... Tried other non-steemit nodes to no avail, e.g. steempy --node https://rpc.buildteam.io witnessupdate --witness witnessname --signing_key STM.....

Gives this error:

Traceback (most recent call last): File "/usr/local/bin/steempy", line 9, in load_entry_point('steem==1.0.0', 'console_scripts', 'steempy')() File "/usr/local/lib/python3.5/dist-packages/steem-1.0.0-py3.5.egg/steem/cli.py", line 1299, in legacyentry File "/usr/local/lib/python3.5/dist-packages/steem-1.0.0-py3.5.egg/steem/commit.py", line 1004, in witness_update File "/usr/local/lib/python3.5/dist-packages/steem-1.0.0-py3.5.egg/steem/commit.py", line 134, in finalizeOp File "/usr/local/lib/python3.5/dist-packages/steem-1.0.0-py3.5.egg/steem/transactionbuilder.py", line 139, in broadcast File "/usr/local/lib/python3.5/dist-packages/steem-1.0.0-py3.5.egg/steem/transactionbuilder.py", line 136, in broadcast File "/usr/local/lib/python3.5/dist-packages/steem-1.0.0-py3.5.egg/steem/steemd.py", line 754, in verify_authority File "/usr/local/lib/python3.5/dist-packages/steem-1.0.0-py3.5.egg/steembase/http_client.py", line 243, in call File "/usr/local/lib/python3.5/dist-packages/steem-1.0.0-py3.5.egg/steembase/http_client.py", line 263, in _return steembase.exceptions.RPCError: Bad Cast:Invalid cast from string_type to Array```

bobinson commented 6 years ago

error seems to same as #191

roadscape commented 6 years ago

There were 2 bugs here; one is resolved, the other is an api issue which will be fixed soon.