← Back to team overview

sikuli-driver team mailing list archive

[Bug 1331924] Re: Sikuli deletes images on save

 

Is this the folder of the saved script?
/home/user/Testing/Test2.sikuli

** Summary changed:

- Sikuli deletes images on save
+ [1.1.0-Beta1] IDE: Sikuli might delete used images on save --- switch of pref option until fixed

** Summary changed:

- [1.1.0-Beta1] IDE: Sikuli might delete used images on save --- switch of pref option until fixed
+ [1.1.0-Beta1] IDE: Sikuli might delete used images on save --- workaround: switch of pref option until fixed

** Description changed:

+ **** workaround
+ 
+ switch of the option "delete not used images on save"
+ in Prferences -> more options
  Using Sikuli 1.1.0 Beta1 on RHEL6.4 x86_64
  
  I have a 400 line proprietary script, containing the order of 50 images.
  
  When I save the script, Sikuli deletes all but 10 of the images.
  
  I have been working with 3 scripts open simultaneously. I don't know if
  this is a contributing factor.
  
  I have taken to running a background backup. When Sikuli deletes the
  images, I copy them back from the backup, and all is well.
  
  I have lost many images and it is difficult to re-generate them to put
  back in the script folder!
  
  I am sorry I am not able to send you a reproduction.
  
  I ran sikuli with -d 3 and obtained the following log information during
  a save:
  
  [debug] JythonScriptRunner: Convert Sikuli source code
  /home/user/Testing/Test2.sikuli/ to HTML
  
  [debug] IDE: save: used image: 1403056258247.png
  [debug] IDE: save: used image: 1403056290127.png
  [debug] IDE: save: used image: 1403050468739.png
  [debug] IDE: save: used image: 1403061243112.png
  [debug] IDE: save: used image: 1403050284708.png
  [debug] IDE: save: used image: 1403136266208.png
  [debug] IDE: save: used image: 1403136266208.png
  [debug] IDE: save: used image: 1403136618390.png
  [debug] IDE: save: used image: 1403136652270.png
  [debug] IDE: save: used image: 1403050468739.png
  [debug] IDE: save: used image: 1403050393540.png
  [debug] IDE: save: used image: 1403050468739.png
  [debug] FileManager: delete not used: /home/user/Testing/Test2.sikuli/1403152455426.png
  [debug] FileManager: delete not used: /home/user/Testing/Test2.sikuli/1403152475762.png
  [debug] FileManager: delete not used: /home/user/Testing/Test2.sikuli/1403152497537.png
  [debug] FileManager: delete not used: /home/user/Testing/Test2.sikuli/1403152591105.png
  [debug] FileManager: delete not used: /home/user/Testing/Test2.sikuli/1403152605569.png
  [debug] FileManager: delete not used: /home/user/Testing/Test2.sikuli/1403152615849.png
  [debug] FileManager: delete not used: /home/user/Testing/Test2.sikuli/1403152633025.png
  [debug] FileManager: delete not used: /home/user/Testing/Test2.sikuli/1403152691144.png
  [debug] FileManager: delete not used: /home/user/Testing/Test2.sikuli/1403152730344.png
  [debug] FileManager: delete not used: /home/user/Testing/Test2.sikuli/1403152820808.png
  [debug] FileManager: delete not used: /home/user/Testing/Test2.sikuli/1403152849544.png
  [debug] FileManager: delete not used: /home/user/Testing/Test2.sikuli/1403152864391.png
  [debug] FileManager: delete not used: /home/user/Testing/Test2.sikuli/1403152906455.png
  [debug] FileManager: delete not used: /home/user/Testing/Test2.sikuli/1403153044783.png
  [debug] FileManager: delete not used: /home/user/Testing/Test2.sikuli/1403153081414.png
  [debug] FileManager: delete not used: /home/user/Testing/Test2.sikuli/1403154274008.png
  [debug] FileManager: delete not used: /home/user/Testing/Test2.sikuli/1403154288784.png
  [debug] FileManager: delete not used: /home/user/Testing/Test2.sikuli/1403154746509.png
  [debug] FileManager: delete not used: /home/user/Testing/Test2.sikuli/1403154877285.png
  [debug] FileManager: delete not used: /home/user/Testing/Test2.sikuli/1403155015060.png
  [debug] FileManager: delete not used: /home/user/Testing/Test2.sikuli/1403155506674.png
  
  Many of those images are used, so it seems that there is a defect in
  deciding that an image is not used.

** Description changed:

- **** workaround
+ **** workaround until fixed
  
  switch of the option "delete not used images on save"
- in Prferences -> more options
+ in IDE -> Preferences -> more options
+ 
+ ------------------------------------------------------
+ 
+ **** this bug is related to bug 1324324
+ 
+ ---------------------------------------------------
+ 
  Using Sikuli 1.1.0 Beta1 on RHEL6.4 x86_64
  
  I have a 400 line proprietary script, containing the order of 50 images.
  
  When I save the script, Sikuli deletes all but 10 of the images.
  
  I have been working with 3 scripts open simultaneously. I don't know if
  this is a contributing factor.
  
  I have taken to running a background backup. When Sikuli deletes the
  images, I copy them back from the backup, and all is well.
  
  I have lost many images and it is difficult to re-generate them to put
  back in the script folder!
  
  I am sorry I am not able to send you a reproduction.
  
  I ran sikuli with -d 3 and obtained the following log information during
  a save:
  
  [debug] JythonScriptRunner: Convert Sikuli source code
  /home/user/Testing/Test2.sikuli/ to HTML
  
  [debug] IDE: save: used image: 1403056258247.png
  [debug] IDE: save: used image: 1403056290127.png
  [debug] IDE: save: used image: 1403050468739.png
  [debug] IDE: save: used image: 1403061243112.png
  [debug] IDE: save: used image: 1403050284708.png
  [debug] IDE: save: used image: 1403136266208.png
  [debug] IDE: save: used image: 1403136266208.png
  [debug] IDE: save: used image: 1403136618390.png
  [debug] IDE: save: used image: 1403136652270.png
  [debug] IDE: save: used image: 1403050468739.png
  [debug] IDE: save: used image: 1403050393540.png
  [debug] IDE: save: used image: 1403050468739.png
  [debug] FileManager: delete not used: /home/user/Testing/Test2.sikuli/1403152455426.png
  [debug] FileManager: delete not used: /home/user/Testing/Test2.sikuli/1403152475762.png
  [debug] FileManager: delete not used: /home/user/Testing/Test2.sikuli/1403152497537.png
  [debug] FileManager: delete not used: /home/user/Testing/Test2.sikuli/1403152591105.png
  [debug] FileManager: delete not used: /home/user/Testing/Test2.sikuli/1403152605569.png
  [debug] FileManager: delete not used: /home/user/Testing/Test2.sikuli/1403152615849.png
  [debug] FileManager: delete not used: /home/user/Testing/Test2.sikuli/1403152633025.png
  [debug] FileManager: delete not used: /home/user/Testing/Test2.sikuli/1403152691144.png
  [debug] FileManager: delete not used: /home/user/Testing/Test2.sikuli/1403152730344.png
  [debug] FileManager: delete not used: /home/user/Testing/Test2.sikuli/1403152820808.png
  [debug] FileManager: delete not used: /home/user/Testing/Test2.sikuli/1403152849544.png
  [debug] FileManager: delete not used: /home/user/Testing/Test2.sikuli/1403152864391.png
  [debug] FileManager: delete not used: /home/user/Testing/Test2.sikuli/1403152906455.png
  [debug] FileManager: delete not used: /home/user/Testing/Test2.sikuli/1403153044783.png
  [debug] FileManager: delete not used: /home/user/Testing/Test2.sikuli/1403153081414.png
  [debug] FileManager: delete not used: /home/user/Testing/Test2.sikuli/1403154274008.png
  [debug] FileManager: delete not used: /home/user/Testing/Test2.sikuli/1403154288784.png
  [debug] FileManager: delete not used: /home/user/Testing/Test2.sikuli/1403154746509.png
  [debug] FileManager: delete not used: /home/user/Testing/Test2.sikuli/1403154877285.png
  [debug] FileManager: delete not used: /home/user/Testing/Test2.sikuli/1403155015060.png
  [debug] FileManager: delete not used: /home/user/Testing/Test2.sikuli/1403155506674.png
  
  Many of those images are used, so it seems that there is a defect in
  deciding that an image is not used.

** Changed in: sikuli
       Status: New => In Progress

** Changed in: sikuli
   Importance: Undecided => High

** Changed in: sikuli
     Assignee: (unassigned) => RaiMan (raimund-hocke)

** Changed in: sikuli
    Milestone: None => 1.1.0

-- 
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/1331924

Title:
  [1.1.0-Beta1] IDE: Sikuli might delete used images on save ---
  workaround: switch of pref option until fixed

Status in Sikuli:
  In Progress

Bug description:
  **** workaround until fixed

  switch of the option "delete not used images on save"
  in IDE -> Preferences -> more options

  ------------------------------------------------------

  **** this bug is related to bug 1324324

  ---------------------------------------------------

  Using Sikuli 1.1.0 Beta1 on RHEL6.4 x86_64

  I have a 400 line proprietary script, containing the order of 50
  images.

  When I save the script, Sikuli deletes all but 10 of the images.

  I have been working with 3 scripts open simultaneously. I don't know
  if this is a contributing factor.

  I have taken to running a background backup. When Sikuli deletes the
  images, I copy them back from the backup, and all is well.

  I have lost many images and it is difficult to re-generate them to put
  back in the script folder!

  I am sorry I am not able to send you a reproduction.

  I ran sikuli with -d 3 and obtained the following log information
  during a save:

  [debug] JythonScriptRunner: Convert Sikuli source code
  /home/user/Testing/Test2.sikuli/ to HTML

  [debug] IDE: save: used image: 1403056258247.png
  [debug] IDE: save: used image: 1403056290127.png
  [debug] IDE: save: used image: 1403050468739.png
  [debug] IDE: save: used image: 1403061243112.png
  [debug] IDE: save: used image: 1403050284708.png
  [debug] IDE: save: used image: 1403136266208.png
  [debug] IDE: save: used image: 1403136266208.png
  [debug] IDE: save: used image: 1403136618390.png
  [debug] IDE: save: used image: 1403136652270.png
  [debug] IDE: save: used image: 1403050468739.png
  [debug] IDE: save: used image: 1403050393540.png
  [debug] IDE: save: used image: 1403050468739.png
  [debug] FileManager: delete not used: /home/user/Testing/Test2.sikuli/1403152455426.png
  [debug] FileManager: delete not used: /home/user/Testing/Test2.sikuli/1403152475762.png
  [debug] FileManager: delete not used: /home/user/Testing/Test2.sikuli/1403152497537.png
  [debug] FileManager: delete not used: /home/user/Testing/Test2.sikuli/1403152591105.png
  [debug] FileManager: delete not used: /home/user/Testing/Test2.sikuli/1403152605569.png
  [debug] FileManager: delete not used: /home/user/Testing/Test2.sikuli/1403152615849.png
  [debug] FileManager: delete not used: /home/user/Testing/Test2.sikuli/1403152633025.png
  [debug] FileManager: delete not used: /home/user/Testing/Test2.sikuli/1403152691144.png
  [debug] FileManager: delete not used: /home/user/Testing/Test2.sikuli/1403152730344.png
  [debug] FileManager: delete not used: /home/user/Testing/Test2.sikuli/1403152820808.png
  [debug] FileManager: delete not used: /home/user/Testing/Test2.sikuli/1403152849544.png
  [debug] FileManager: delete not used: /home/user/Testing/Test2.sikuli/1403152864391.png
  [debug] FileManager: delete not used: /home/user/Testing/Test2.sikuli/1403152906455.png
  [debug] FileManager: delete not used: /home/user/Testing/Test2.sikuli/1403153044783.png
  [debug] FileManager: delete not used: /home/user/Testing/Test2.sikuli/1403153081414.png
  [debug] FileManager: delete not used: /home/user/Testing/Test2.sikuli/1403154274008.png
  [debug] FileManager: delete not used: /home/user/Testing/Test2.sikuli/1403154288784.png
  [debug] FileManager: delete not used: /home/user/Testing/Test2.sikuli/1403154746509.png
  [debug] FileManager: delete not used: /home/user/Testing/Test2.sikuli/1403154877285.png
  [debug] FileManager: delete not used: /home/user/Testing/Test2.sikuli/1403155015060.png
  [debug] FileManager: delete not used: /home/user/Testing/Test2.sikuli/1403155506674.png

  Many of those images are used, so it seems that there is a defect in
  deciding that an image is not used.

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1331924/+subscriptions


Follow ups

References