Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RF7.0 support #51

Open
dlinh2011 opened this issue Feb 7, 2024 · 2 comments
Open

RF7.0 support #51

dlinh2011 opened this issue Feb 7, 2024 · 2 comments

Comments

@dlinh2011
Copy link

Hello, I followed exactly your DEVGUIDE to try to write a new handler.

However, I got this error when I try to run with robotframework

robot --listener oxygen.listener --pythonpath . --variable LOCUSTFILEPATH:locusthandler/locustfile.py locusthandler/test.robot
==============================================================================
Test                                                                          
==============================================================================
Performance test should pass                                          | PASS |
------------------------------------------------------------------------------
Test                                                                  | PASS |
1 test, 1 passed, 0 failed
==============================================================================
[ ERROR ] Calling method 'output_file' of listener 'oxygen.listener' failed: TypeError: Keyword.__init__() got an unexpected keyword argument 'starttime'

I'm using Python 3.12 and Robot Framework 7.0

Can you help me figure out what the problem is ? Thank you so much !

@dlinh2011
Copy link
Author

Hi, I just saw that with Robot Framework 7.0 there is a problem with the backward compability of the timestamp format. I tried the option -legacy--output but it still doesn't work so I installed Robot Framework 6.1 and it works fine. Thank you 👍

@Tattoo Tattoo reopened this Feb 8, 2024
@Tattoo Tattoo changed the title Keyword.__init__() got an unexpected keyword argument 'starttime' RF7.0 support Feb 8, 2024
@Tattoo
Copy link
Contributor

Tattoo commented Feb 8, 2024

Thanks for confirming that RF7 indeed is not supported currently with Oxygen.

We will try to adress this issue soon.

But yeah, meanwhile please use RF6 with Oxygen

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants