question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Error showing library keyword documentation

See original GitHub issue

Describe the bug When hovering over a keyword and pressing Ctrl+Q I receive the error: “Cannot fetch remote documentation: internal error”

To Reproduce Steps to reproduce the behavior:

  1. Open file with contents
*** Settings ***
Library     DateTime

*** Keywords ***
Today
    ${_today}=    Get Current Date    result_format=%Y-%m-%d
  1. I put the cursor somewhere in keyword Get Current Date
  2. I hover the mouse over keyword Get Current Date
  3. Press Ctrl+Q

Expected behavior A window with a concise description of the keyword

Screenshots image

Versions:

  • OS: Windows 10
  • Robot Framework Version 4.0.1
  • Robot Framework Language Server Version 0.14.0
  • Client Version PyCharm 2021.1.1 (bug could be reproduced in Intellij 2020.2.4

Logs (renamed *.api to *.log) robotframework_ls.log.lint.lsp.24892.log robotframework_ls.lsp.6972.log robotframework_ls.log.1.others.lsp.30528.log robotframework_ls.log.2.lsp.29264.log

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:6

github_iconTop GitHub Comments

1reaction
HaaiHenkiecommented, May 5, 2021

Updated to version 0.15 and it works. Thanks!

1reaction
fabiozcommented, May 4, 2021

@HaaiHenkie yes, I’m sure it’s related to PyCharm (which is the same as Intellij + Python plugin)… as you can see in the stack trace attached, all the error trace comes from com.jetbrains.python, whereas the language server is in a completely different namespace (which doesn’t even appear there).

What I think is happening is that because the language server creates a reference to a Python file then the Python plugin tries to take over to improve the info and fails in the middle of it – I still haven’t been able to debug it properly on why it does that (possibly the reference that is created doesn’t please the Python plugin as it expects) as I’m finishing something else, but this is high on my priority list and I plan on tackle that before the next release.

Read more comments on GitHub >

github_iconTop Results From Across the Web

BuiltIn - Robot Framework
HTML error messages; Using variables with keywords creating or ... This library has special keywords Set Global Variable, Set Suite Variable ...
Read more >
robotframework - Google Code
ID Status Summary 1427 Invalid Telnet failed to login using password 1425 WontFix How to handle the screenshots when use rebot tool 1359 Invalid UnicodeDecoderError Type‑Defect...
Read more >
Unable to get any keyword documentation for RF AutoItLibrary ...
I am not able to get any keyword documentation for standard Robot Framework AutoItLibrary from Robot Referenced libraries.
Read more >
python 2.7 - ExcelRobot - Robot Framework Ride - Import Issue
When I go to the Test Case and call the keyword Open Excel , it shows the keyword is available. enter image description...
Read more >
Browser - MarketSquare
This is the keyword documentation for Browser library. ... By default, keywords will provide an error message if an assertion fails.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found