[1.0.1 fixed September 12] imported images not found on 2nd script run

Asked by rob

im trying to run a script which depends on images stored in an imported .sikuli. the first time i run the script from the ide it works as expected. the second time i get the following error message:

[error] 1372711263469.png looks like a file, but not on disk. Assume it's text.

[error] script [ Bscript ] stopped with error in line 4
[error] FindFailed ( can not find 1372711263469.png on the screen. )

here is the script that fails:

from sikuli import *
import oxpTools as oxp
Settings.MoveMouseDelay = 0.01
billingQueue = oxp.OxpQueue(queue='Billing')
billingQueue.filterQueue(status='25',payorType='1')

any ideas?

Question information

Language:
English Edit question
Status:
Solved
For:
SikuliX Edit question
Assignee:
No assignee Edit question
Solved by:
rob
Solved:
Last query:
Last reply:
Revision history for this message
rob (reg82) said :
#1

i just ran runSetup.cmd and selected option 2 to see if the same thing would happen from the command line and happily i'm only getting this error when running scripts from the ide. i guess i should also mention that i did the offline installation using the aug 20 versions of the jars.

Revision history for this message
RaiMan (raimund-hocke) said :
#2

No need to have a sikuli-script.jar if you have sikuli-ide.jar.

Just use runIDE.cmd with the needed parameters and it will do the same as sikuli-script (as mentioned in the infos ;-)

I take this as a bug and check it shortly.

Revision history for this message
GaneshRam Sethuramalingam (sgr-testing) said :
#3

when i executed the script with loading/insert image - i'm also getting similar error message as "xyz.png looks like a file, but not on disk. Assume it's text."
But, when i mention the path "c:\xyz.png" it works fine. You can try this workaround...

Revision history for this message
RaiMan (raimund-hocke) said :
#4

could you test with latest version (run setup again for IDE)

Revision history for this message
GaneshRam Sethuramalingam (sgr-testing) said :
#5

i'm using Sikuli r930 version

Revision history for this message
rob (reg82) said :
#6

can you make the September 1st version available for offline installation? i cant do the regular install for security reasons.

Revision history for this message
RaiMan (raimund-hocke) said :
#7

Sorry, I missed that.

Now online.

Revision history for this message
rob (reg82) said :
#8

thanks. i will download the new versions and report back.

Revision history for this message
rob (reg82) said :
#9

is FAQ #2363 where im supposed to get the offline september 1 version? it says august 20

Revision history for this message
RaiMan (raimund-hocke) said :
#10

Thanks again. updated.

Revision history for this message
rob (reg82) said :
#11

im still getting the same error with the new build - 4SEP2013190958

so i must have installed or configured something incorrectly. im at a loss as to what though

Revision history for this message
RaiMan (raimund-hocke) said :
#12

see related bug

Revision history for this message
RaiMan (raimund-hocke) said :
#13

fixed. run setup again in about 30 min (still to upload the offline stuff)

Revision history for this message
rob (reg82) said :
#14

it works! thank you RaiMan, your the best.