← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #188751]: Sikuli Test hanging when running unit test - fine when through IDE

 

Question #188751 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/188751

matt gave more information on the question:
Hi RaiMan thanks for another quick response.

I am currently on XP, but sadly that did not fix the problem. I've
grabbed the trace track below:

When I run through the IDE I get the following message:
[error] Error message: Traceback (most recent call last):
 File "C:\DOCUME~1\USER~1\LOCALS~1\Temp\sikuli-tmp3857817822940768440.py", line 16, in 
 testB(None)
 File "C:\DOCUME~1\USER~1\LOCALS~1\Temp\sikuli-tmp3857817822940768440.py", line 9, in testB
 assert not exists("UntitledNote.png")
AssertionError

Trace:

[info] Sikuli vision engine loaded.

[info] Windows utilities loaded.

[info] VDictProxy loaded.

[log] App.open notepad.exe(3900)

[error] UntitledIFil.png looks like a file, but can't be found on the disk. Assume it's text.
[info] Text Recognizer inited.

[error] UntitledIFil.png looks like a file, but can't be found on the
disk. Assume it's text.

Exception in thread "AWT-EventQueue-0" Traceback (most recent call last):
 File "", line 6, in 
 File "", line 24, in check2
 File "", line 15, in setUp
 File "C:\Documents and Settings\USER\Desktop\USER\Applications\Sikuli-r930-win32\Sikuli-IDE\sikuli-script.jar\Lib\sikuli\Region.py", line 99, in wait
 Line 15, in file 

 at org.sikuli.script.Region.handleFindFailed(Region.java:421) 
at org.sikuli.script.Region.wait(Region.java:512) 
at org.python.proxies.sikuli.Region$Region$0.super__wait(Unknown Source) 
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) 
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) 
at java.lang.reflect.Method.invoke(Unknown Source) 

org.sikuli.script.FindFailed: FindFailed: can not find UntitledIFil.png on the screen.
 Line 15, in file

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.