Skip to content

[BUG] Can't get items for keywords treeview #644

Description

@terciocarvalho

Describe the bug
RobotCode suddenly stops responding; navigation does not work, highlights, and everything else.
Looking at the RobotCode output, a few error messages are observed.
Sometimes restarting the languase server or reloading the window works, sometimes it doesn't, or it just works for a short period of time.

Tried downgrading to 2.6.2 and the issue is also observed there; less frequent but still happens.

Steps To Reproduce
There are no specific steps to follow, it just stops responding.

Expected behavior
RobotCode functions correctly.

Logs
executeRobotCode: /my_path/.venv/bin/python -u -X utf8 /my_path/.vscode/extensions/d-biehl.robotcode-2.7.0/bundled/tool/robotcode --format json --no-color --no-pager -dp . discover --read-from-stdin all
executeRobotCode: exit code 0
Error: Can't get items for keywords treeview: Error: Request canceled.

I have also observed a few:
executeRobotCode: /my_path/.venv/bin/python -u -X utf8 /my_path/.vscode/extensions/d-biehl.robotcode-2.7.0/bundled/tool/robotcode --format json --no-color --no-pager -dp . discover --read-from-stdin all
executeRobotCode: exit code 0
Error: Can't get items for keywords treeview: Error: RuntimeError: Could not acquire RLock Document.CacheEntry.lock in 120s.

Desktop (please complete the following information):

  • VS Code Version: 1.132.0
  • RobotCode Version: 2.7.0
  • OS: Linux
  • Python Version: 3.12.3
  • RobotFramework Version: 7.4.2
  • Robocop: 8.4.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