What to do when your steempy is not responsive ? | 你的steempy没反应了怎么办?

in #steemit6 years ago


My steempy has been not responsive at all after I changed the nodes. For example, it would take forever to run :

我的steempy在我修改了node设置后运行一下命令会没反应:

steempy config

And you can not change nodes anymore by run:

而且我也无法再次修改节点设置了:

steempy set nodes https://api.steemit.com:443

The reason is the node you're trying to connect to is down, and steempy is stuck up. To reset it, you have to find the sql database it's using. The exact location of that file depends on your os, on mac it's at:

这是因为你要链接的节点不在线。你需要找到对应的数据库文件。文件具体地址取决于你的操作系统,在苹果笔记本上是这里:

/Users/YOUR_USER_NAME/Library/Application Support/steem/steem.sqlite

Remove this file and go to https://geo.steem.pl/ to find a good node, you're good to go. On other system, find this file you installed:

删除这个文件,在 https://geo.steem.pl/找到好用的节点就好了。对于其他操作系统,你需要找到安装的这个文件:

steembase/storage.py

Under these codes,

在这些代码下面:

 data_dir = user_data_dir(appname, appauthor)
 sqlDataBaseFile = os.path.join(data_dir, storageDatabase)

print out sqlDataBaseFile and delete it.

输出sqlDataBaseFile的地址然后删除它。

Warning: your keys will be deleted at the same time, you can use sqlite3 to modify config in this database without rm the keys.

注意:你的密钥也保存在此文件中(如果你设置了的话),如果想避免删除密钥,可以用sqlite3直接修改。

Sort:  

Congratulations @trisolaran! You have completed some achievement on Steemit and have been rewarded with new badge(s) :

You got your First payout
Award for the total payout received

Click on any badge to view your own Board of Honor on SteemitBoard.

To support your work, I also upvoted your post!
For more information about SteemitBoard, click here

If you no longer want to receive notifications, reply to this comment with the word STOP

Upvote this notification to help all Steemit users. Learn why here!

Coin Marketplace

STEEM 0.33
TRX 0.11
JST 0.034
BTC 66530.34
ETH 3251.57
USDT 1.00
SBD 4.36