xeroc / piston-cli

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

offline signing issue #99

Open alesl opened 7 years ago

alesl commented 7 years ago

Im trying to sign transaction, but get this traceback

Traceback` (most recent call last):
  File "/usr/local/bin/piston", line 11, in <module>
    sys.exit(main())
  File "/usr/local/lib/python3.6/site-packages/pistoncli/__main__.py", line 1242, in main
    steem = Steem(**options)
  File "/usr/local/lib/python3.6/site-packages/piston/steem.py", line 133, in __init__
    self.rpc.register_apis(["account_by_key", "follow"])
AttributeError: 'NoneType' object has no attribute 'register_apis'
dskvr commented 7 years ago

I get AttributeError: 'NoneType' object has no attribute 'register_apis' even if I am online. @xeroc

dskvr commented 7 years ago

Updating steem seemed to solve the problem

pip3 install graphenelib --upgrade
pip3 install steem --upgrade
Netherdrake commented 7 years ago

actually pip install steem installs a different library than piston.

dskvr commented 7 years ago

@Netherdrake Oddly enough, graphenelib didn't update, but steem did, and immediately resolved the following error

AttributeError: 'NoneType' object has no attribute 'register_apis'
Netherdrake commented 7 years ago

steem installs Piston fork, not Piston.