← Back to team overview

sikuli-driver team mailing list archive

[Bug 1219783] [NEW] The captured image appears as "click-to-capture" text when script reloaded

 

Public bug reported:

I use sikuli 1.0.1 on windows 7 64 bits + java 1.7.0_25 64 bits.
When I create a script (with click macros). In a first place, the images appears correctly in the script, but the script doesn't run. Here is the error message:

[error] Region.find(text): text search is currently switched off
[error] script [ test_1 ] stopped with error in line 3
[error] FindFailed ( Text search currently switched off )

When I reoen the script, the images appear as "CLICK-TO-CAPTURE".
Here is the content of the python script:

openApp("C:/Program Files (x86)/Notepad++/Notepad++.exe")

click("__CLICK-TO-CAPTURE__")

The script directory contains the correct screenshot as a png file.

** Affects: sikuli
     Importance: Undecided
         Status: New

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

Title:
  The captured image appears as "click-to-capture" text when script
  reloaded

Status in Sikuli:
  New

Bug description:
  I use sikuli 1.0.1 on windows 7 64 bits + java 1.7.0_25 64 bits.
  When I create a script (with click macros). In a first place, the images appears correctly in the script, but the script doesn't run. Here is the error message:

  [error] Region.find(text): text search is currently switched off
  [error] script [ test_1 ] stopped with error in line 3
  [error] FindFailed ( Text search currently switched off )

  When I reoen the script, the images appear as "CLICK-TO-CAPTURE".
  Here is the content of the python script:

  openApp("C:/Program Files (x86)/Notepad++/Notepad++.exe")

  click("__CLICK-TO-CAPTURE__")

  The script directory contains the correct screenshot as a png file.

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


Follow ups

References