F:\python3.9.9\python.exe "D:\AppData\PyCharm Community Edition 2021.1.3\plugins\python-ce\helpers\pycharm\_jb_unittest_runner.py" --path E:/youlu_code/minium-testcase1201/test/first_test.py
Testing started at 18:13 ...
Launching unittests with arguments python -m unittest E:/youlu_code/minium-testcase1201/test/first_test.py in E:\youlu_code\minium-testcase1201\test
INFO 2021-12-15 18:14:01,214 wx_minium.py launch_dev_tool 692 Starting dev tool and launch MiniProgram project ...
Failure
Traceback (most recent call last):
File "F:\python3.9.9\lib\unittest\suite.py", line 166, in _handleClassSetUp
setUpClass()
File "F:\python3.9.9\lib\site-packages\minium\framework\assertbase.py", line 128, in setUpClass
_miniClassSetUp()
File "F:\python3.9.9\lib\site-packages\minium\framework\minitest.py", line 243, in _miniClassSetUp
cls.mini = get_minium(cls.CONFIG)
File "F:\python3.9.9\lib\site-packages\minium\framework\minitest.py", line 99, in get_minium
g_minium = minium.miniprogram.get_minium_driver(conf=cfg, native=g_native)
File "F:\python3.9.9\lib\site-packages\minium\miniprogram\__init__.py", line 28, in get_minium_driver
return APP[application](conf, *args, **kwargs)
File "F:\python3.9.9\lib\site-packages\minium\miniprogram\wx_minium.py", line 93, in __init__
self.launch_weapp()
File "F:\python3.9.9\lib\site-packages\minium\miniprogram\base_driver\minium_log.py", line 135, in wrapper
result = func(*args, **kwargs)
File "F:\python3.9.9\lib\site-packages\minium\miniprogram\wx_minium.py", line 660, in launch_weapp
self.launch_dev_tool()
File "F:\python3.9.9\lib\site-packages\minium\miniprogram\base_driver\minium_log.py", line 135, in wrapper
result = func(*args, **kwargs)
File "F:\python3.9.9\lib\site-packages\minium\miniprogram\wx_minium.py", line 705, in launch_dev_tool
self.__update_project_config()
File "F:\python3.9.9\lib\site-packages\minium\miniprogram\wx_minium.py", line 677, in __update_project_config
self.sdk_version is not None and self._comp_version(self.sdk_version, "2.7.3") == -1
File "F:\python3.9.9\lib\site-packages\minium\miniprogram\base_driver\minium_object.py", line 437, in _comp_version
if int(a[i]) > int(b[i]):
ValueError: invalid literal for int() with base 10: ''
麻烦确认一下小程序源码项目下 project.config.json中的libVersion字段是什么
遇到同样问题,不知是否解决了?