Closed zdrizga-nam closed 4 months ago
I see, but obvious error you should fix I guess.
Well, I don't personally have time to do it (in my free time) and Robocorp is also not assigning time for someone to do it...
-- Robocorp is however willing to assign my time to guide someone on how to do it if someone is willing to make the work to provide a PR (mainly going through the things that are failing in the ci when used with the master
branch from Robot Framework).
Describe the bug BodyRunner.run() missing 1 required positional argument: 'result' 'Import' object has no attribute 'parent'
To Reproduce Steps to reproduce the behavior: Click on "Run Interactive Console"
Expected behavior Start the Interactive console and works.
Screenshots If applicable, add screenshots to help explain your problem.
Versions:
Logs ErrorBodyRunner.run() missing 1 required positional argument: 'result' [-] Traceback (most recent call last): File "c:\Users\zdenekdrizga.vscode\extensions\robocorp.robotframework-lsp-1.11.0\src\robotframework_ls\vendored\robotframework_interactive\interpreter.py", line 422, in evaluate return self._evaluate(code) File "c:\Users\zdenekdrizga.vscode\extensions\robocorp.robotframework-lsp-1.11.0\src\robotframework_ls\vendored\robotframework_interactive\interpreter.py", line 532, in _evaluate last_result = facade.run_test_body(context, test, model) File "c:\Users\zdenekdrizga.vscode\extensions\robocorp.robotframework-lsp-1.11.0\src\robotframework_ls\vendored\robotframework_interactive\robotfacade.py", line 135, in run_test_body BodyRunner(context, templated=False).run(test.body) TypeError: BodyRunner.run() missing 1 required positional argument: 'result'
Error'Import' object has no attribute 'parent' [-] Traceback (most recent call last): File "c:\Users\zdenekdrizga.vscode\extensions\robocorp.robotframework-lsp-1.11.0\src\robotframework_ls\vendored\robotframework_interactive\interpreter.py", line 582, in _set_source element.source = source AttributeError: can't set attribute 'source'
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "c:\Users\zdenekdrizga.vscode\extensions\robocorp.robotframework-lsp-1.11.0\src\robotframework_ls\vendored\robotframework_interactive\interpreter.py", line 422, in evaluate return self._evaluate(code) File "c:\Users\zdenekdrizga.vscode\extensions\robocorp.robotframework-lsp-1.11.0\src\robotframework_ls\vendored\robotframework_interactive\interpreter.py", line 501, in _evaluate self._set_source(new_import, source) File "c:\Users\zdenekdrizga.vscode\extensions\robocorp.robotframework-lsp-1.11.0\src\robotframework_ls\vendored\robotframework_interactive\interpreter.py", line 584, in _set_source element.parent.source = source AttributeError: 'Import' object has no attribute 'parent'