appium 自动化时mjpeg 报错,怎么解决ERROR hogwarts::138 启动appium服务失败: Message: An unknown server-side error occurred while processing the command. Original error: Waited 10000ms but the MJPEG server never sent any images
Stacktrace:
UnknownError: An unknown server-side error occurred while processing the command. Original error: Waited 10000ms but the MJPEG server never sent any images
at getResponseForW3CError (/usr/local/lib/node_modules/appium/node_modules/.store/@appium+base-driver@9.5.2/node_modules/@appium/base-driver/lib/protocol/errors.js:1118:9)
at asyncHandler (/usr/local/lib/node_modules/appium/node_modules/.store/@appium+base-driver@9.5.2/node_modules/@appium/base-driver/lib/protocol/protocol.js:491:57)
Traceback (most recent call last):
File “”, line 136, in start
File “/Users/ceshiguanlichu/myenv/venv/lib/python3.11/site-packages/appium/webdriver/webdriver.py”, line 251, in init
super().init(
File “/Users/ceshiguanlichu/myenv/venv/lib/python3.11/site-packages/selenium/webdriver/remote/webdriver.py”, line 276, in init
self.start_session(capabilities)
File “/Users/ceshiguanlichu/myenv/venv/lib/python3.11/site-packages/appium/webdriver/webdriver.py”, line 345, in start_session
response = self.execute(RemoteCommand.NEW_SESSION, w3c_caps)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/Users/ceshiguanlichu/myenv/venv/lib/python3.11/site-packages/selenium/webdriver/remote/webdriver.py”, line 468, in execute
self.error_handler.check_response(response)
File “/Users/ceshiguanlichu/myenv/venv/lib/python3.11/site-packages/selenium/webdriver/remote/errorhandler.py”, line 232, in check_response
raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.WebDriverException: Message: An unknown server-side error occurred while processing the command. Original error: Waited 10000ms but the MJPEG server never sent any images
Stacktrace:
UnknownError: An unknown server-side error occurred while processing the command. Original error: Waited 10000ms but the MJPEG server never sent any images
at getResponseForW3CError (/usr/local/lib/node_modules/appium/node_modules/.store/@appium+base-driver@9.5.2/node_modules/@appium/base-driver/lib/protocol/errors.js:1118:9)
at asyncHandler (/usr/local/lib/node_modules/appium/node_modules/.store/@appium+base-driver@9.5.2/node_modules/@appium/base-driver/lib/protocol/protocol.js:491:57)
ERROR hogwarts::309 任务执行失败 (AttributeError): ‘NoneType’ object has no attribute ‘quit’