Skip to content

[BUG] RobotCode InteliJ plugin could not recognize source root as PYTHONPATH #430

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

Open
shaoerkuai opened this issue Apr 18, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@shaoerkuai
Copy link

Describe the bug
Current run configuration will not mark source root/content root but Python run configuration supports that.

Steps To Reproduce
Steps to reproduce the behavior:

  1. Init a project with dictionary 'testcases' to store robot files.
  2. Prepare a 'library' dictionary to store my Python files and Mark this as a source root
  3. Check robot file editor
  4. All imports by 'Library' keywords warned as 'No module named 'xxx' found '

If possible add some example source code like:

***Settings***
Library common.geo.geotools

***Test Cases***
a simple test
    do something    # this should shown something

Desktop (please complete the following information):

  • RobotCode Version [latest]
  • OS: [Windows]
  • Python Version [3.11]
  • RobotFramework Version [4.1.3]
@shaoerkuai shaoerkuai added the bug Something isn't working label Apr 18, 2025
@shaoerkuai
Copy link
Author

Since IT department restricts upload screenshot to github, I am willing to push more information literally for you if needed. Thanks.

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

No branches or pull requests

1 participant