reportportal / agent-Python-RobotFramework

Robot Framework integration for Report Portal
Apache License 2.0
59 stars 33 forks source link

AttributeError: 'ReportPortalService' object has no attribute 'get_system_information' #83

Closed YauheniPo closed 4 years ago

YauheniPo commented 4 years ago

Hi folks,

I have ERROR when run Robot tests:

[ ERROR ] Calling method 'start_suite' of listener 'robotframework_reportportal.listener' failed: AttributeError: 'ReportPortalService' object has no attribute 'get_system_information' [ ERROR ] Calling method 'start_keyword' of listener 'robotframework_reportportal.listener' failed: IndexError: list index out of range [ ERROR ] Calling method 'start_keyword' of listener 'robotframework_reportportal.listener' failed: IndexError: list index out of range [ ERROR ] Calling method 'log_message' of listener 'robotframework_reportportal.listener' failed: IndexError: list index out of range [ ERROR ] Calling method 'end_keyword' of listener 'robotframework_reportportal.listener' failed: IndexError: pop from empty list [ ERROR ] Calling method 'start_keyword' of listener 'robotframework_reportportal.listener' failed: IndexError: list index out of range [ ERROR ] Calling method 'start_keyword' of listener 'robotframework_reportportal.listener' failed: IndexError: list index out of range [ ERROR ] Calling method 'start_keyword' of listener 'robotframework_reportportal.listener' failed: IndexError: list index out of range [ ERROR ] Calling method 'log_message' of listener 'robotframework_reportportal.listener' failed: IndexError: list index out of range [ ERROR ] Calling method 'end_keyword' of listener 'robotframework_reportportal.listener' failed: IndexError: pop from empty list ... ...

My cmd: robot --pythonpath . --argumentfile "DEBUG__Pixel_3_API_26_1" "Tests"

and my DEBUG__Pixel_3_API_26_1.txt file with all test variables:

... --listener xxx/Execution/ResultsListener.py --listener robotframework_reportportal.listener --variable RP_UUID:"xxx" --variable RP_ENDPOINT:"https://reportportal.epam.com" --variable RP_LAUNCH:"xxx" --variable RP_PROJECT:"xxx" --variable screenshot_taking:True --variable screen_recording:True ...

Python 3.8.6 robotframework-reportportal 5.0.3

iivanou commented 4 years ago

Please, update the agent to version 5.0.4. Thx.

YauheniPo commented 4 years ago

Thanks, I hope the new version will help. I will update when it is available for pip

iivanou commented 4 years ago

@YauheniPo, Try version 5.0.4. It should have been released a week ago but there was an issue with the release procedure on travis.