xeroc / piston-cli

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

Issuing when running for first time (AccountDoesNotExistsException) #88

Closed gitbase1 closed 7 years ago

gitbase1 commented 7 years ago

Ubuntu

error,

Traceback (most recent call last): File "/home/ubuntu/.local/bin/piston", line 7, in from piston.main import main File "/home/ubuntu/.local/lib/python3.5/site-packages/steem_piston-0.4.3a0-py3.5.egg/piston/main.py", line 40, in from steem.steem import AccountDoesNotExistsException ImportError: cannot import name 'AccountDoesNotExistsException'

Netherdrake commented 7 years ago

Please try the latest develop branch.

gitbase1 commented 7 years ago

Thanks, that worked. The "piston" command now works. But now the issue pops up with a custom script, made a simple vote.py

python3 vote.py

code:

from piston.steem import Steem steem = Steem() print(steem.rpc.get_account("xeroc"))

error:

Traceback (most recent call last): File "vote.py", line 1, in from piston.steem import Steem File "/home/ubuntu/piston/piston/steem.py", line 5, in from steem.steem import AccountDoesNotExistsException ImportError: cannot import name 'AccountDoesNotExistsException'

gitbase1 commented 7 years ago

seem to have fixed with

from steem import Steem