win截图报错 mac系统
回答
收藏

win截图报错 mac系统

l
lio2024
2025-02-27 18:11·浏览量:438
l
lio2024
发布于 2025-02-27 18:11438浏览

Traceback (most recent call last):

 File "/Applications/影刀.app/Contents/Resources/app/node_modules/xbot-engine/lib/lib/python3.7/runpy.py", line 193, in _run_module_as_main

   "__main__", mod_spec)

 File "/Applications/影刀.app/Contents/Resources/app/node_modules/xbot-engine/lib/lib/python3.7/runpy.py", line 85, in _run_code

   exec(code, run_globals)

 File "/Applications/影刀.app/Contents/Resources/app/node_modules/xbot-engine/lib/lib/python3.7/site-packages/xbot_interpreter.py", line 126, in <module>

   main()

 File "/Applications/影刀.app/Contents/Resources/app/node_modules/xbot-engine/lib/lib/python3.7/site-packages/xbot_interpreter.py", line 58, in main

   mod.main(args)

 File "/Users/uuu/Library/Application Support/Shadowbot/users/700286637124157400/apps/4cda6a12-0387-4b81-bbe9-a3213395b96d/xbot_robot/main.py", line 19, in main

   screenshot_save_file_name = xbot_visual.win32.element.screenshot(window="0", element=package.selector("分离组"), folder_path="/tmp", random_filename=True, filename=None, overwrite_file=True, save_to_clipboard=False, timeout="20", _block=("main", 10, "元素截图(win)"))

 File "<string>", line 103, in wrapper

 File "<string>", line 95, in wrapper

 File "<string>", line 553, in screenshot

 File "<string>", line 406, in screenshot

 File "<string>", line 513, in _invoke

 File "<string>", line 125, in execute

 File "<string>", line 98, in execute

xbot.errors.UIAError: Message:截图异常:(516, 89, 1440, 900),NativeMessage:截图异常:(516, 89, 1440, 900)

Code:-1,StackTrace:

  at xjPqNNAGgBRxsW6cZVv.piwMXdAbgefWw6y8ix2.ADqAEL6vNW(Rectangle  )

  at xjPqNNAGgBRxsW6cZVv.piwMXdAbgefWw6y8ix2.uxUAeENyQb(Rectangle  , String  )

  at TejcCojpPWsEVeCjaTt.YNHyDfjlhM1onnSpnw0.jQGKh3lkO7(String  , String  )

  at ShadowBot.UIAutomation.Provider.Service.Win32.Win32ElementService.Screenshot(String elementId, String folderPath, String fileName)

  at b6MA0O4vFf1CsSPBmT1.T8Z0Sw4x9exQlDi3o6V.<>c__DisplayClass9_0.WVk90RisVQ(LnRDSp4R5YajhiYPxMd service, Object[] parameters)

  at b6MA0O4vFf1CsSPBmT1.T8Z0Sw4x9exQlDi3o6V.Execute(LnRDSp4R5YajhiYPxMd service, Q7caayXGdYgs5u3DnyG request)

  at osA4jd49h8dSKmwOjPd.feldSm4GLgDPxfK2EZt.Execute(LnRDSp4R5YajhiYPxMd service, SBIPMrXsCwo2eGqrxGm context)

  at n2QcWbVnM2JuIRgFZ4K.Of77NmV6UAVZi3jLNtc.Execute(SBIPMrXsCwo2eGqrxGm context)




收藏
全部回答(1)
最新
发布回答
回答