您的当前位置:首页正文

【Robor framework】failed: AttributeError: ‘Output‘ object has no attribute ‘_xmllogger‘ Log打印报错未解决

2024-11-10 来源:个人技术集锦
command: robot -A C:\Users\ADMINI~1\AppData\Local\Temp\RIDEiz3x0mnc.d\argfile.txt --listener D:\software\python3\anconda3\Lib\site-packages\robotide\contrib\testrunner\TestRunnerAgent.py:51328:False E:\data\python\robotframework\a1\a1
TestRunnerAgent: Running under CPython 3.10.9

================================================================================================================
A1                                                                                                              
================================================================================================================
A1.A1 1                                                                                                         
================================================================================================================
A1.A1 1.Testsuite                                                                                               
================================================================================================================
t1                                                                                                      | PASS |
----------------------------------------------------------------------------------------------------------------
t2                                                                                                      | PASS |
----------------------------------------------------------------------------------------------------------------
A1.A1 1.Testsuite                                                                                       | PASS |
2 tests, 2 passed, 0 failed
================================================================================================================
A1.A1 1                                                                                                 | PASS |
2 tests, 2 passed, 0 failed
================================================================================================================
A1                                                                                                      | PASS |
2 tests, 2 passed, 0 failed
================================================================================================================
Output:  C:\Users\ADMINI~1\AppData\Local\Temp\RIDEiz3x0mnc.d\output.xml

[ ERROR ] Calling method 'log_message' of listener 'D:\software\python3\anconda3\Lib\site-packages\robotide\contrib\testrunner\TestRunnerAgent.py' failed: AttributeError: 'Output' object has no attribute '_xmllogger'
[ ERROR ] Calling method 'log_message' of listener 'D:\software\python3\anconda3\Lib\site-packages\robotide\contrib\testrunner\TestRunnerAgent.py' failed: AttributeError: 'Output' object has no attribute '_xmllogger'
[ ERROR ] Calling method 'log_message' of listener 'D:\software\python3\anconda3\Lib\site-packages\robotide\contrib\testrunner\TestRunnerAgent.py' failed: AttributeError: 'Output' object has no attribute '_xmllogger'
Log:     C:\Users\ADMINI~1\AppData\Local\Temp\RIDEiz3x0mnc.d\log.html
Report:  C:\Users\ADMINI~1\AppData\Local\Temp\RIDEiz3x0mnc.d\report.html

Test finished 20240405 16:52:46

pip list  查看版本 

 

参考 : 

robot Farmework 运行报错解决(1) 

相同的问题:

官网: 

 

显示全文