VeighNa量化社区
你的开源社区量化交易平台
Member
avatar
加入于:
帖子: 12
声望: 1

11:52:39,153 INFO: 交易连接成功
terminate called after throwing an instance of 'std::runtime_error'
what(): locale::facet::_S_create_c_locale name not valid

只有tdapi有这问题,mdapi没有问题

是不是我的编译环境问题?
系统: Debian
c:gcc version 7.3.0 (Debian 7.3.0-19)

Member
avatar
加入于:
帖子: 12
声望: 1

找到问题了,locale环境问题
通过sudo dpkg-reconfigure locales 安装中文locale支持就可以了

sudo dpkg-reconfigure locales

Generating locales (this might take a while)...
en_US.UTF-8... done
zh_CN.GB2312... done
zh_CN.GB18030... done
zh_CN.GBK... done
zh_CN.UTF-8... done
Generation complete.

© 2015-2022 上海韦纳软件科技有限公司
备案服务号:沪ICP备18006526号

沪公网安备 31011502017034号

【用户协议】
【隐私政策】
【免责条款】