Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plugin - unable to build libspec #1071

Open
srivastavbudugutta opened this issue Jul 3, 2024 · 2 comments
Open

Plugin - unable to build libspec #1071

srivastavbudugutta opened this issue Jul 3, 2024 · 2 comments
Labels
bug Something isn't working robotframework-ls

Comments

@srivastavbudugutta
Copy link

Describe the bug
It is unable to build the libspec.

To Reproduce
Steps to reproduce the behavior:

  1. Clone the following repository https://github.com/openbmc/openbmc-test-automation
  2. install the robot frameowk language server plugin in pycharm/visual studio.
  3. navigate to ipmi_client.robot file
  4. 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

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.
image

Versions:

  • OS: MacOS 14.5 (23F79)
  • Robot Framework Version: Robot Framework 6.1.1 (Python 3.10.2 on darwin)
  • Robot Framework Language Server Version: 1.11.0
  • Client Version: PyCharm 2024.1.3 (Community Edition

Logs
None

@srivastavbudugutta srivastavbudugutta added bug Something isn't working robotframework-ls labels Jul 3, 2024
@ChrisSchneebauer
Copy link

ChrisSchneebauer commented Jul 4, 2024

Having the same problem!

  • VS Code Version: 1.91.0 (user setup)
  • OS: Windows_NT x64 10.0.22631
  • Robot Framework 7.0 (and 6.1.1)
  • Robot Framework Languate Server 1.12.0

@KASRLangerfeld
Copy link

Having also the same problem!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working robotframework-ls
Projects
None yet
Development

No branches or pull requests

3 participants