Question #166845 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/166845
Status: Answered => Open
Chase is still having a problem:
That doesn't seem to help. Maybe i have another issue.
I receive this error:
[error] Stopped [error] An error occurs at line 12 [error] Error message:
Traceback (most recent call last): File
"C:\DOCUME~1\cwhitten\LOCALS~1\Temp\sikuli-tmp5956336944485410448.py", line 12,
in import JN_export File "C:\Program Files\Sikuli
X\sikuli-script.jar\Lib\sikuli\SikuliImporter.py", line 42, in load_module
File "C:\Program Files\Sikuli
X\sikuli-script.jar\Lib\sikuli\SikuliImporter.py", line 26, in _load_module
ImportError: Errors in loading sikuli module: JN_export You may need to add
"from sikuli.Sikuli import *" in the module. name 'setAutoWaitTimeout' is not
defined
JN_export is my sikuli script. The first line has
from sikuli.Sikuli import *
I used to have 'setAutoWaitTimeout' at the begging of the Def function in. I
received this error so i just deleted that line and it kept giving me this
error, even after restarting the IDE and computer. If i save JN_export.sikuli
to another name and impart the other name without any other changes the import
works just fine but if i change the name back it gives me this error again. Out
of 8 or so scripts i'm importing, i have this issue with 2 and all the rest
work just fine. And of course both of the scripts that have problems work find
if i change the sikuli file(folder) name.
Any ideas?
thanks!
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.
_______________________________________________
Mailing list: https://launchpad.net/~sikuli-driver
Post to : [email protected]
Unsubscribe : https://launchpad.net/~sikuli-driver
More help : https://help.launchpad.net/ListHelp