Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

线程执行中可能存在的一个错误 #100

Closed
fjfzzl opened this issue Aug 26, 2016 · 1 comment
Closed

线程执行中可能存在的一个错误 #100

fjfzzl opened this issue Aug 26, 2016 · 1 comment

Comments

@fjfzzl
Copy link

fjfzzl commented Aug 26, 2016

你好!
我昨天在我的windows机器上的anaconda python命令行环境下,运行了 user = easytrader.use('yjb') 和 user.prepare('yjb.json') ,然后隔一段时间执行一次 user.balance,刚开始每次都能返回正确结果,后来间隔时间拉大,早上起来运行了 user.balance就出现错误了,马上接着运行一次 user.balance,又返回正确结果。今天下午再运行一次 user.balance的时候,又出现同样的错误,截图出来了,根据提示,线程只能被started 一次,好像是作者的命令有逻辑错误,请作者检查一下。可能是在检查出掉线后,试图再次登陆,然后又调用了一次 self.heart_thread.start(),然后导致的出错。

easytrader-error

@shidenggui
Copy link
Owner

已经修复了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants