Comments (9)
git bisect
says:
2615249 is the first bad commit (tagged dev_0.10.143.383)
from intellibot.
can you give an example?
from intellibot.
@a-w please try
intellibot.zip
It resolve relative library/resource path according to current file first. If not found, it resolve the path relative to project "content root".
I ever try to resolve relative path in whole project in any directory, but it may result too many unwanted founds. So I restrict it to "relative to project content root".
from intellibot.
fixed in v0.10.143.398
from intellibot.
can you give an example?
Please find an example here
The issue still persists with release IntelliBot #patched 0.10.143.398
I ever try to resolve relative path in whole project in any directory, but it may result too many unwanted founds. So I restrict it to "relative to project content root".
I am not asking for "any directory". Im asking only that all directories which contribute to PYTHONPATH at runtime be used as bases for relative path evaluation in the plugin.
Rationale: by default, both content roots and source roots are used to populate PYTHONPATH at runtime, and that's what Robotframework uses to resolve relative paths. So, when RF is able to resolve a path, then the plugin should be able to resolve that same path too.
That used to work until dev_0.10.143.382 (and also in the original version from Millennial Media). The request is to restore the original search algorithm, as the behavior since dev_0.10.143.383 breaks many existing scripts (around 1k in my case).
If you think that limiting the search scope is necessary, you could provide options to select whether content and/or source roots should be used to resolve paths, but IMHO it is not a major performance concern to leave both on at all times. Usually, projects don't have that many source roots...
from intellibot.
@a-w please try this one,
search order of relative physical resource/library path: robot file, project source root, project content root
intellibot.zip
original version from Millennial Media it not suitable if you have multiple resource files having same name in different directory.
Current method improve this though in some situation it still match wrong file.
from intellibot.
I have the same problem.
from intellibot.
I have the same problem.
@tryb93 do you still have the problem with https://github.com/lte2000/intellibot/files/7080761/intellibot.zip
from intellibot.
search order of relative physical resource/library path:
- relative to current robot file, then project source root, then project content root
Implemented in version 0.11.191.8026
from intellibot.
Related Issues (20)
- NullPointerException occurs multiple times HOT 8
- There is no release or commits on github for 0.13.191.8026
- Support Robot Framework 5.0 HOT 4
- intellibot does not resolve environmental variables like %{ROBOT_ROOT} HOT 2
- IntelliBot #Patched causes Inspections freeze on some robot files HOT 1
- No images show in generated log file
- very high CPU usage ~ 55-70% HOT 2
- intellibot v0.14.191.8026 Pycharm exception HOT 6
- Intellibot 0.14.191.8026 ArrayIndexOutOfBoundsException HOT 8
- [v0.14.191.8026] Exception: Argument for @NotNull parameter 'baseDir' while comparing two branches in PyCharm CE HOT 6
- support dynamic libraries HOT 2
- Document how to build the plugin HOT 5
- intellibot v0.15.191.8026 Pycharm exception HOT 3
- intellibot.jar not working
- intellibot v0.16.191.8026 Pycharm exception HOT 1
- 2 to 4 spaces as a configurable setting HOT 2
- intellibot@seleniumLibrary exception HOT 2
- robotframe work issue
- pycharm intellibot#patched issue HOT 2
- Error while indexing rpaframework-assistant
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from intellibot.