402 Star 1.8K Fork 739

GVPfasiondog / hikyuu

 / 详情

test 错误信息

已完成
创建于  
2017-07-20 17:03

======================================================================
ERROR: test_EnvironmentBase (Environment.EnvironmentTest)

Traceback (most recent call last):
File "/home/fasiondog/hikyuu/tools/hikyuu/test/Environment.py", line 39, in test_EnvironmentBase
self.assertEqual(p.getParam("n"), 10)
RuntimeError: boost::bad_any_cast: failed conversion using boost::any_cast

======================================================================
ERROR: test_crtEV (Environment.TestCrtEV)

Traceback (most recent call last):
File "/home/fasiondog/hikyuu/tools/hikyuu/test/Environment.py", line 65, in test_crtEV
self.assertEqual(p.getParam("n"), 10)
RuntimeError: boost::bad_any_cast: failed conversion using boost::any_cast


Ran 35 tests in 0.196s

不知道下面的链接是否能解决问题:

How to solve “boost::bad_any_cast: failed conversion using boost::any_cast” when using boost program options?
https://stackoverflow.com/questions/15535180/how-to-solve-boostbad-any-cast-failed-conversion-using-boostany-cast-when

评论 (2)

pchaos 创建了任务

不是这个问题,是漏加了 Pickle 相关的头文件,编译器的坑

这个已经修改,是缺少_Parameter.h的显示引用,gcc无法正确编译造成的,请验证

fasiondog 添加了标签bug
pchaos 关闭了任务
pchaos 验收了任务

登录 后才可以发表评论

状态
负责人
里程碑
Pull Requests
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
开始日期   -   截止日期
-
置顶选项
优先级
参与者(2)
3859 fasiondog 1578914213
C++
1
https://gitee.com/fasiondog/hikyuu.git
git@gitee.com:fasiondog/hikyuu.git
fasiondog
hikyuu
hikyuu

搜索帮助

14c37bed 8189591 565d56ea 8189591