Closed JenikaGo closed 6 months ago
@JenikaGo I see the errors are coming from Robot Framework. Those will probably appear if you run the test from a command window/shell/terminal.
You probably have a Language: setting in your test case. You should try to comment that line with a #, and then try to open in RIDE. Note: RIDE 2.0.8.1 is not prepared to parse Language setting.
If you really want to use the Language: setting, then use it with a correct language defined. You can try the current development version, with that feature implemented.
Thank you for your response.
Can you please lead me to where I can change the Language: setting? I wasn't encountering this problem before. This is the 1st time I've heard of the Language: setting
I have not encountered this error before. I only encountered it today after upgrading the RIDE from 2.0.8.1 to v2.1dev21 I changed my RIDE back to 2.0.8.1, but I'm still having this error. I haven't changed anything in my user keywords after upgrading RIDE, and it was working fine before the upgrade.
here is a screenshot of my test case
Well, you did wrote:
here are the current versions I'm using: RIDE -- v2.0.8.1
The first screen capture, was from the Run panel, with an error from Robot Framework (that may be caused by RIDE).
Now after using 2.1dev21 version, it may have set a value language
in settings.cfg. With RIDE closed, you should edit that file and delete the line, or set to English
.
In Windows the file is at %APPDATA%\RobotFramework\ride\settings.cfg
.
I have deleted the lines with "Language" but I'm still getting the error.
Should I just uninstall everything, then re-install everything from scratch?
Well, I am a bit lost on this.
Make sure you don't have any instance of RIDE running. Close all windows (was there a language setting, you show 0 hits?)
Please run your test case in a new command window, with a similar command you would use in RIDE. For example:
cmd.exe
cd "<path to your project>\OSHD-robot\Lifting Equipment"
robot -t NewExam-HappyPath eService\Examination.robot
If there are no errors similar than those you first shown, then robot is OK.
Try to start RIDE from that directory with only the test case file:
python -m robotide.__init__ eService\Examination.robot
Then Run that test case (by selecting checkbox).
If the problem still exists, then:
%APPDATA%\RobotFramework\
(you may want to make a safe copy of settings.cfg if you want to use some settings).If the problem still exists, then Thank you for your persistence in using RIDE
Before deleting "Language" settings.cfg dispayed 2 lines -- doc Language = None and UI Language = 'English'. I deleted both π
I ran my test using cmd, and it looks fine.
I tried to start RIDE based on your instruction but I got this error instead
Looks like I'll have to uninstall robot framework and re-install it again π Thank you for your patience in guiding me on this problemπ
Well, you did not cd to the directory of the project:
cd "
\OSHD-robot\Lifting Equipment"
You can see the error message is about the wrong path to the file.
You can start RIDE normally and then open just that Examination.robot file. Then Run, and you should have the same failure as in command window. (no more language errors ;) )
Thank you so much! πββοΈ I was able to finally run my test case in RIDE without language errors! π
Do I need to do these steps every time I run a test case? or I should be able to use RIDE without any problems now?
cmd.exe cd "<path to your project>\OSHD-robot\Lifting Equipment" robot -t NewExam-HappyPath eService\Examination.robot
python -m robotide.__init__ eService\Examination.robot
Do I need to do these steps every time I run a test case? or I should be able to use RIDE without any problems now?
No, of course not. The problem was solved by removing the setting language = None
. This is something I need to fix, RIDE needs to ignore that setting, if not valid.
If you have the possibility, please use our Slack. We would troubleshoot this faster.
Using development version 2.1dev21, added setting language = None
from a file without the setting. This broke running tests in v2.0.8.1 (wierd).
I'm having problems with my RIDE. getting this error when trying to run test cases [ ERROR ] Unexpected error: ValueError: No language with name '' found.
I have attached a screenshot of said error
here are the current versions I'm using: RIDE -- v2.0.8.1 Python -- 3.9 robot framework -- 7.0
Thank you for your helpπββοΈ