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

offline signing issue

Open alesl opened this issue 8 years ago • 5 comments

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'

alesl avatar May 23 '17 10:05 alesl

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

dskvr avatar Jul 14 '17 23:07 dskvr

Updating steem seemed to solve the problem

pip3 install graphenelib --upgrade
pip3 install steem --upgrade

dskvr avatar Jul 14 '17 23:07 dskvr

actually pip install steem installs a different library than piston.

Netherdrake avatar Jul 15 '17 00:07 Netherdrake

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

AttributeError: 'NoneType' object has no attribute 'register_apis'

dskvr avatar Jul 15 '17 14:07 dskvr

steem installs Piston fork, not Piston.

Netherdrake avatar Jul 15 '17 15:07 Netherdrake