Sikuli constantly loses the png files crashing --- autosave

Bug #807155 reported by gsiliceo
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
SikuliX
Fix Released
Critical
RaiMan

Bug Description

This is for the 1.0rc2
I was working with a large script automating some installation at some point of deleting lines and adding new captures my tests started to fail, sikuli couldn't find an image capture, i redid it many times thinking it was another problem and it just never could find that image, i went to the .sikuli folder and the supposedly missing images where there but for some weird reason sikuli was trying to find them on my temp folder inside documents and settings(windows xp) why?
I think its related to naming, because at the beggining some ocr named the png files with related info but then sikuli just stared using long numbers thats when the problem began.
Its so frustrating working for an hour on a script just so i can't find the images i'm using..
attached the problematic file.

Any ideas to create safe files? maybe i should take the screenshots myself and use the insert image function maybe?

Tags: idererun
Revision history for this message
gsiliceo (nombre-falso) wrote :
Revision history for this message
gsiliceo (nombre-falso) wrote :

Ok i must say that my Windows is running in Spanish and according to the error displayed by the .skl file its trying to see my Local Configuration folder, in spanish is Configuración Local, note the o with accent ó, maybe it´s a utf-8 problem. I also saw inside temp some other folders left by previous attemps, sikuli does not clean after its done? tsk tsk tsk

Revision history for this message
gsiliceo (nombre-falso) wrote :

Attached a screenshot of the moment sikuli crashes my .skl with the problem, its sayint it can't find a file its there, the image clearly shows.

Revision history for this message
RaiMan (raimund-hocke) wrote :

--- at comment #3:
at least in the example there is a blank in the png file name.

With the Jython currently used, blanks in file names might produce errors.

So make your image filenames without blanks.

Revision history for this message
RaiMan (raimund-hocke) wrote :

Sorry, I have to correct:

The blank is in the .skl file name (and so in the .sikuli folder name)

Do not use blanks in these file names.

Revision history for this message
RaiMan (raimund-hocke) wrote :

--- you say in the bug description:
I think its related to naming, because at the beggining some ocr named the png files with related info but then sikuli just stared using long numbers thats when the problem began.

Have a look at Sikuli IDE's preferences: there you can control the image naming behavior.

Revision history for this message
gsiliceo (nombre-falso) wrote :

Oh ok, i'll try removing the blank spaces, and get automatic naming with time stamps. Thanks!

RaiMan (raimund-hocke)
Changed in sikuli:
status: New → Fix Committed
importance: Undecided → Critical
assignee: nobody → RaiMan (raimund-hocke)
milestone: none → x1.0
summary: - Sikuli constantly loses the png files crashing
+ Sikuli constantly loses the png files crashing --- autosave
tags: added: idererun
RaiMan (raimund-hocke)
Changed in sikuli:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.