install the robot frameowk language server plugin in pycharm/visual studio.
navigate to ipmi_client.robot file
In the setting section you will see the following:
Settings
Documentation This module is for IPMI client for copying ipmitool to
... openbmc box and execute ipmitool IPMI standard
... command. IPMI raw command will use dbus-send command
Resource ../lib/resource.robot
Resource ../lib/connection_client.robot
Resource ../lib/utils.robot
Resource ../lib/state_manager.robot
If you move your mouse cursor over ipmi_client.py line you will see the following error:
Unresolved library: ipmi_client.py. Error generating libspec: Importing library 'ipmi_client' failed: ModuleNotFoundError: No module named 'data' Consider adding the needed paths to the "robot.pythonpath" setting and calling the "Robot Framework: Clear caches and restart" action.
Even if you modifiy the path to ../lib/ipmi_client.py you will experience the same error but it does not happen to ../lib/bmc_ssh_utils.py line.
If I install the plugin Hyper Robot framework language server I am not seeing this error, but only happens with your plugin
Expected behavior
I should not see any error like mentioned above.
Screenshots
If applicable, add screenshots to help explain your problem.
Versions:
OS: MacOS 14.5 (23F79)
Robot Framework Version: Robot Framework 6.1.1 (Python 3.10.2 on darwin)
Describe the bug It is unable to build the libspec.
To Reproduce Steps to reproduce the behavior:
Library String Library var_funcs.py Library ipmi_client.py Library ../lib/bmc_ssh_utils.py
If you move your mouse cursor over ipmi_client.py line you will see the following error: Unresolved library: ipmi_client.py. Error generating libspec: Importing library 'ipmi_client' failed: ModuleNotFoundError: No module named 'data' Consider adding the needed paths to the "robot.pythonpath" setting and calling the "Robot Framework: Clear caches and restart" action.
Even if you modifiy the path to ../lib/ipmi_client.py you will experience the same error but it does not happen to ../lib/bmc_ssh_utils.py line.
If I install the plugin Hyper Robot framework language server I am not seeing this error, but only happens with your plugin
Expected behavior I should not see any error like mentioned above.
Screenshots If applicable, add screenshots to help explain your problem.
Versions:
Logs None