Skip to content

[BUG] Unable to launch extension on v0.100.1 #368

Closed
@Leemur89

Description

@Leemur89

Describe the bug
Hello,
Since v0.100 I cannot use the plugin anymore,
Error 1 is returned:
TypeError: 'ABCMeta' object is not subscriptable

Steps To Reproduce
Check the output of plugin

Expected behavior
A clear and concise description of what you expected to happen.

Logs

executeRobotCode: exit code 1
executeRobotCode: 
Traceback (most recent call last):
  File "/Users/***/.pyenv/versions/3.8.20/lib/python3.8/runpy.py", line 194, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/Users/***/.pyenv/versions/3.8.20/lib/python3.8/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/Users/***/.vscode/extensions/d-biehl.robotcode-0.100.1/bundled/tool/robotcode/__main__.py", line 25, in <module>
    from robotcode.cli import robotcode
  File "/Users/***/.vscode/extensions/d-biehl.robotcode-0.100.1/bundled/libs/robotcode/cli/__init__.py", line 9, in <module>
    from robotcode.plugin import (
  File "/Users/***/.vscode/extensions/d-biehl.robotcode-0.100.1/bundled/libs/robotcode/plugin/__init__.py", line 26, in <module>
    from robotcode.core.utils.contextlib import chdir
  File "/Users/***/.vscode/extensions/d-biehl.robotcode-0.100.1/bundled/libs/robotcode/core/utils/contextlib.py", line 9, in <module>
    class ChDir(AbstractContextManager[Any]):
TypeError: 'ABCMeta' object is not subscriptable

Desktop

  • VS Code Version 1.95.3
  • RobotCode Version 0.100.1
  • OS: MacOs
  • Python Version 3.8.20
  • RobotFramework Version 7.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions