Describe the bug
I am getting an error when using the robotframework_reportportal.listener version 5.5.0 with Report Portal 5.8.0. The error suggests that it is due to an incompatibility between the listener and report portal (attributes getting set incorrectly):
[ ERROR ] Calling method 'start_suite' of listener 'robotframework_reportportal.listener' failed: AttributeError: can't set attribute 'launch_id'
Steps to Reproduce
Execute any robot test using the report portal listener:
robot --listener robotframework_reportportal.listener \
--variable RP_API_KEY:XXXX \
--variable RP_ENDPOINT:https://XXXX \
--variable RP_LAUNCH:XXXX \
--variable RP_PROJECT:XXXX \
--variable RP_LAUNCH_UUID:XXXX \
--variable RP_LAUNCH_ATTRIBUTES:XXXX \
--variable RP_LAUNCH_DOC:XXXX
mytests
Expected behavior
No errors
Actual behavior
robot tests run but listener spits out errors:
==============================================================================
Test-MyTest:: Basic Robot test
==============================================================================
[ ERROR ] Calling method 'start_suite' of listener 'robotframework_reportportal.listener' failed: AttributeError: can't set attribute 'launch_id'
[ ERROR ] Calling method 'start_keyword' of listener 'robotframework_reportportal.listener' failed: AttributeError: 'NoneType' object has no attribute 'type'
[ ERROR ] Calling method 'start_keyword' of listener 'robotframework_reportportal.listener' failed: AttributeError: 'NoneType' object has no attribute 'type'
[ ERROR ] Calling method 'start_keyword' of listener 'robotframework_reportportal.listener' failed: AttributeError: 'NoneType' object has no attribute 'type'
Starting Tests...
Describe the bug I am getting an error when using the robotframework_reportportal.listener version 5.5.0 with Report Portal 5.8.0. The error suggests that it is due to an incompatibility between the listener and report portal (attributes getting set incorrectly):
[ ERROR ] Calling method 'start_suite' of listener 'robotframework_reportportal.listener' failed: AttributeError: can't set attribute 'launch_id'
Steps to Reproduce Execute any robot test using the report portal listener: robot --listener robotframework_reportportal.listener \ --variable RP_API_KEY:XXXX \ --variable RP_ENDPOINT:https://XXXX \ --variable RP_LAUNCH:XXXX \ --variable RP_PROJECT:XXXX \ --variable RP_LAUNCH_UUID:XXXX \ --variable RP_LAUNCH_ATTRIBUTES:XXXX \ --variable RP_LAUNCH_DOC:XXXX mytests
Expected behavior No errors
Actual behavior robot tests run but listener spits out errors:
Package versions robotframework-reportportal: 5.5.0 reportportal-client: 5.5.4 Report Portal 5.8.0
Additional context Add any other context about the problem here.