Type/to search
0
Follow
0
Followers
Le backtesting peut générer des logs, mais il n'y a pas de sortie de log dans le trading réel. Je vois l'erreur suivante. Quelle peut en être la raison ?
Help
Created 2018-07-10 01:56:19  
 3
 1770

2018/07/09 17:48:10 [Flush] unable to open database file
2018/07/09 17:48:12 [Flush] unable to open database file
2018/07/09 17:48:17 [Flush] unable to open database file
2018/07/09 17:48:18 [Flush] unable to open database file
2018/07/09 17:48:19 [Flush] unable to open database file
2018/07/09 17:48:24 [Flush] unable to open database file
2018/07/09 17:48:25 [Flush] unable to open database file
2018/07/09 17:48:26 [Flush] unable to open database file
2018/07/09 17:48:32 [Flush] unable to open database file
2018/07/09 17:48:33 [Flush] unable to open database file
2018/07/09 17:48:38 [Flush] unable to open database file
2018/07/09 17:48:39 [Flush] unable to open database file
2018/07/09 17:48:40 [Flush] unable to open database file
2018/07/09 17:48:45 [Flush] unable to open database file
2018/07/09 17:48:46 [Flush] unable to open database file
2018/07/09 17:48:47 [Flush] unable to open database file
2018/07/09 17:48:52 [Flush] unable to open database file
2018/07/09 17:48:53 [Flush] unable to open database file
2018/07/09 17:48:54 [Flush] unable to open database file
2018/07/09 17:48:57 [Flush] unable to open database file

Related Recommendations
Comment
All comments (3)
    “一个database connect,既有查询又有更新(不同的statement,且不论顺序),执行完之后,不关闭, 会产生一个扩展名为s3db-journal的(临时)文件, 若再次使用该connect执行更新,则产生“unable to open database file”的异常。 所以,一个connect执行完之后要么close,要么自己处理临时文件。”

    可能是这个原因。
    方便发下 代码么?

    8 years ago

    谢谢梦总。问题已经解决了,原因是我的运行托管者的服务器磁盘空间满了。清除了后就可以了,谢谢啦。

    8 years ago

    好的 不客气 ^^

    8 years ago
  • 1
Forums
PINE Language
Get the app
iPhone Download
© 2015 - ∞ INVENTOR PTE LTD (SG)