收藏
回答

MiniCommandError: timeout?

self.app.switch_tab(url, is_wait_url_change)
..\test_env\lib\site-packages\minium\miniprogram\base_driver\minium_log.py:172: in wrapper
    result = func(*args, **kwargs)
..\test_env\lib\site-packages\minium\utils\utils.py:82: in wrapper
    ret = func(*args, **kwargs)
..\test_env\lib\site-packages\minium\miniprogram\base_driver\app.py:767: in switch_tab
    page = self._change_route_async(
..\test_env\lib\site-packages\minium\miniprogram\base_driver\app.py:933: in _change_route_async
    cmd.get_open_result(wait_timeout)
..\test_env\lib\site-packages\minium\miniprogram\base_driver\app.py:128: in get_open_result
    return self._open_callback.get_result()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <minium.miniprogram.base_driver.callback.AsyncCallback object at 0x000001D7F91569B0>
timeout = 0

    def get_result(self, timeout=0):
        """
        获取回调结果, 结果如果为exception直接抛出, 超时未获取到则抛MiniTimeoutError
        """
        if self.wait_called(timeout):
>           return self._waiter.result()
E           minium.framework.exception.MiniCommandError: timeout

..\test_env\lib\site-packages\minium\miniprogram\base_driver\callback.py:152: MiniCommandError


minium                    1.4.6

win11

开发者工具 stable1.06.2310080

调试基础库 3.1.5

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

1 个回答

  • 上善若水
    上善若水
    2023-12-18

    我用1.06.2310080版也遇到了同样情况 更新到RC版1.06.2312061版就好了,所以估计1.06.2310080版有问题,回退上一版或者更新RC版可以解决



    2023-12-18
    有用
    回复
登录 后发表内容