sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #23127
[Bug 1238252] Re: If syntax is incorrect, script doesnt say which syntax instead just says "Try adding Sikuli Import"
** Changed in: sikuli
Status: New => Won't Fix
--
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/1238252
Title:
If syntax is incorrect, script doesnt say which syntax instead just
says "Try adding Sikuli Import"
Status in Sikuli:
Won't Fix
Bug description:
I edited a script and accidentally deleted an open parenthesis so I
had a line that looked like this:
waitVanish"WewByID.png")
the script never told me what I was missing or where it was and only
said:
[error] Error message: Traceback (most recent call last):
File "C:\Users\shawn\AppData\Local\Temp\sikuli-tmp5321228797608771132.py", line 32, in
import SlipsExpandedFunctionalityComplete
File "C:\Program Files (x86)\Sikuli X\sikuli-script.jar\Lib\sikuli\SikuliImporter.py", line 45, in load_module
File "C:\Program Files (x86)\Sikuli X\sikuli-script.jar\Lib\sikuli\SikuliImporter.py", line 29, in _load_module
ImportError: Errors in loading sikuli module: SlipsExpandedFunctionalityComplete
no viable alternative at input '"WewByID.png"' (SlipsExpandedFunctionalityComplete.py, line 428)
- HOW TO FIX? Try adding "from sikuli import *" in the module.
would be helpful if the program told you so I didn't have to scan 400 lines of code to find the missing parenthesis
To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1238252/+subscriptions
References