Robotframework libs got no Keywords in Eclipse/RED editor

Hello Experts,
Please help solve below issue.

I recently updated some of my Robotframework libraries and not sure what has happened, but my eclipse - RED setup seems broken.

Issue: Robotframework keywords no longer recognized as import library with in my project got no keywords.
versions
Pythoin Version 3.8.5
Robotframework 4

Tried 1. updating RED.xml with path of the lib, though it is recognizing the lib, but not downloading any of the keywords. each subfolder has zero entries. you can referer to the below screenhsot.

When I double lick on any of the sub folder got getting below error.

Error displaying documentation
Following exception has been thrown:
Traceback (most recent call last):
File “C:\Users\d275991\AppData\Local\Temp\RobotTempDir17341454713249436446\robot_session_server.py”, line 43, in inner
result[‘result’] = func(*args, **kwargs)
File “C:\Users\d275991\AppData\Local\Temp\RobotTempDir17341454713249436446\robot_session_server.py”, line 78, in inner
return func(*args, **kwargs)
File Error displaying documentation
Following exception has been thrown:
Traceback (most recent call last):
File “C:\Users\m54890\AppData\Local\Temp\RobotTempDir17341454713249436446\robot_session_server.py”, line 43, in inner
result[‘result’] = func(*args, **kwargs)
File “C:\Users\m54890\AppData\Local\Temp\RobotTempDir17341454713249436446\robot_session_server.py”, line 78, in inner
return func(*args, **kwargs)
File “C:\Users\m54890\AppData\Local\Temp\RobotTempDir17341454713249436446\robot_session_server.py”, line 417, in create_html_doc
return red_libraries.create_html_doc(doc, format)
File “C:\Users\m54890\AppData\Local\Temp\RobotTempDir17341454713249436446\red_libraries.py”, line 122, in create_html_doc
from robot.libdocpkg.htmlwriter import DocToHtml
ImportError: cannot import name ‘DocToHtml’ from ‘robot.libdocpkg.htmlwriter’ (C:\Users\m54890\AppData\Local\Programs\Python\Python38-32\lib\site-packages\robot\libdocpkg\htmlwriter.py)

1 Like

Hi,

You get this, because RED does not support RF4 yet.
You can follow this ticket RED doesn't find Builtin-Libraries with RobotFramework 4.0b1 · Issue #413 · nokia/RED · GitHub

Zied

2 Likes

Thanks zied for the info. very helpful.

@zied-cision Yup! this is very useful info for us. Thanks man for doing this hospitality.

Thanks for this.:slightly_smiling_face: