← Back to team overview

sikuli-driver team mailing list archive

[Bug 1503146] [NEW] Image export path used in 'shutil.move' command is getting corrupted

 

Public bug reported:

Version: 1.01; Win 7 Enterprise; 64-bit OS
---------------------------------------------------------------------------
 
I am using below script to upload the screen captures to a folder. When ever i close and re open the IDE it getting corrupted and programme is ending with error.  


<<what i write in IDE>>
import shutil
img = capture(SCREEN)
shutil.move(img, r'G:\DATAWARE\Sikuli\Screenshots\WebconsoleChecks\CDS2_COB_WebConsole.png')
<<what i write in IDE>>

<<what i see in IDE after re opening>>
import shutil
img = capture(SCREEN)
shutil.move(img, r"CDS2_COB_WebConsole.png")
<<what i see in IDE after re opening>>

I believe this is a defect. If i am wrong please correct me.

** Affects: sikuli
     Importance: Undecided
         Status: New


** Tags: shutil.move

** Tags added: shutil.move

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

Title:
  Image export path used in 'shutil.move' command is getting corrupted

Status in Sikuli:
  New

Bug description:
  Version: 1.01; Win 7 Enterprise; 64-bit OS
  ---------------------------------------------------------------------------
   
  I am using below script to upload the screen captures to a folder. When ever i close and re open the IDE it getting corrupted and programme is ending with error.  

  
  <<what i write in IDE>>
  import shutil
  img = capture(SCREEN)
  shutil.move(img, r'G:\DATAWARE\Sikuli\Screenshots\WebconsoleChecks\CDS2_COB_WebConsole.png')
  <<what i write in IDE>>

  <<what i see in IDE after re opening>>
  import shutil
  img = capture(SCREEN)
  shutil.move(img, r"CDS2_COB_WebConsole.png")
  <<what i see in IDE after re opening>>

  I believe this is a defect. If i am wrong please correct me.

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


Follow ups