收藏
回答

Minium运行时出现如下报错是什么问题,已更新到1.2.2?

执行如下代码时:

FirstTest:test_search has error:

Traceback (most recent call last):

  File "g:\python\lib\site-packages\minium\framework\libs\unittest\suite.py", line 33, in _handleClassSetUp

    _miniClassSetUp()

  File "g:\python\lib\site-packages\minium\framework\minitest.py", line 243, in _miniClassSetUp

    cls.mini = get_minium(cls.CONFIG)

  File "g:\python\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 "g:\python\lib\site-packages\minium\miniprogram\__init__.py", line 28, in get_minium_driver

    return APP[application](conf, *args, **kwargs)

  File "g:\python\lib\site-packages\minium\miniprogram\wx_minium.py", line 93, in __init__

    self.launch_weapp()

  File "g:\python\lib\site-packages\minium\miniprogram\base_driver\minium_log.py", line 135, in wrapper

    result = func(*args, **kwargs)

  File "g:\python\lib\site-packages\minium\miniprogram\wx_minium.py", line 660, in launch_weapp

    self.launch_dev_tool()

  File "g:\python\lib\site-packages\minium\miniprogram\base_driver\minium_log.py", line 135, in wrapper

    result = func(*args, **kwargs)

  File "g:\python\lib\site-packages\minium\miniprogram\wx_minium.py", line 744, in launch_dev_tool

    self.connect_dev_tool()

  File "g:\python\lib\site-packages\minium\miniprogram\base_driver\minium_log.py", line 135, in wrapper

    result = func(*args, **kwargs)

  File "g:\python\lib\site-packages\minium\miniprogram\wx_minium.py", line 789, in connect_dev_tool

    self.app = App(

  File "g:\python\lib\site-packages\minium\miniprogram\base_driver\app.py", line 68, in __init__

    self.go_home()

  File "g:\python\lib\site-packages\minium\miniprogram\base_driver\minium_log.py", line 135, in wrapper

    result = func(*args, **kwargs)

  File "g:\python\lib\site-packages\minium\miniprogram\base_driver\app.py", line 398, in go_home

    raise MiniLaunchError("get launch options failed")

minium.framework.exception.MiniLaunchError: get launch options failed

回答关注问题邀请回答
收藏

1 个回答

登录 后发表内容