vn.py量化社区
By Traders, For Traders.
Member
avatar
加入于:
帖子: 2
声望: 0

Traceback (most recent call last):
File "e:\vnstudio\lib\runpy.py", line 193, in _run_module_as_main
"main", mod_spec)
File "e:\vnstudio\lib\runpy.py", line 85, in _run_code
exec(code, run_globals)
File "E:\vnstudio\Scripts\vnstation.exe__main.py", line 9, in <module>
sys.exit(main())
File "e:\vnstudio\lib\site-packages\vnstation\run.py", line 74, in main
return Main().exec()
File "e:\vnstudio\lib\site-packages\vnstation\run.py", line 46, in exec
self.login_widget = login_widget = LoginWidget()
File "e:\vnstudio\lib\site-packages\vnstation\ui\login\login_widget.py", line 26, in
init
self.load_setting()
File "e:\vnstudio\lib\site-packages\vnstation\ui\login\login_widget.py", line 70, in load_setting
self.setting = load_json(self.filename)
File "e:\vnstudio\lib\site-packages\vnstation\utility.py", line 35, in load_json
data = json.load(f)
File "e:\vnstudio\lib\json\
init.py", line 296, in load
parse_constant=parse_constant, object_pairs_hook=object_pairs_hook, **kw)
File "e:\vnstudio\lib\json\
init__.py", line 348, in loads
return _default_decoder.decode(s)
File "e:\vnstudio\lib\json\decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "e:\vnstudio\lib\json\decoder.py", line 355, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

已经卸载多次重新安装,但是还是打不开,求解。

Member
avatar
加入于:
帖子: 1741
声望: 115

vnstation默认装在C盘下
json解析错误,可能是你的用户名或者密码不是json支持解析的类型。可以去.vnstation文件夹下的trader_setting.json文件下把username和password里的内容删掉再试试看

Member
avatar
加入于:
帖子: 2
声望: 0

看到.vnstation文件夹下的trader_setting.json文件下内没有任何字符,添加 {} 后保存退出,可以正常运行。
已解决,谢谢。

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

沪公网安备 31011502017034号