[Sikuli-driver] [Bug 1226453] [NEW] [1.0.1]IDE:can not find anything on windows XP

2013-09-17 Thread vince
Public bug reported:

environment:
--
windows XP SP3 
Java6
sikuli1.0.1


python script:
--
wait('xxx.png',10)


--
[error]FindFailed (can not find xxx.png on the screen)

1. can not find anything on windows XP sp3 (Windows7 Ok)
2. can not find *$py.class in the .sikuli folder

** 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/1226453

Title:
  [1.0.1]IDE:can not find anything on windows XP

Status in Sikuli:
  New

Bug description:
  environment:
  --
  windows XP SP3 
  Java6
  sikuli1.0.1

  
  python script:
  --
  wait('xxx.png',10)


  --
  [error]FindFailed (can not find xxx.png on the screen)

  1. can not find anything on windows XP sp3 (Windows7 Ok)
  2. can not find *$py.class in the .sikuli folder

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

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


[Sikuli-driver] [Bug 1226453] Re: [1.0.1]IDE:can not find anything on windows XP

2013-09-17 Thread RaiMan
pls. run with option -d and send the log file silently to my mail at
https://launchpad.net/~raimund-hocke

** Changed in: sikuli
   Status: New = Opinion

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

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

Title:
  [1.0.1]IDE:can not find anything on windows XP

Status in Sikuli:
  Opinion

Bug description:
  environment:
  --
  windows XP SP3 
  Java6
  sikuli1.0.1

  
  python script:
  --
  wait('xxx.png',10)


  --
  [error]FindFailed (can not find xxx.png on the screen)

  1. can not find anything on windows XP sp3 (Windows7 Ok)
  2. can not find *$py.class in the .sikuli folder

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

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


[Sikuli-driver] [Bug 1226453] Re: [1.0.1]IDE:can not find anything on windows XP

2013-09-17 Thread RaiMan
BTW: *$py.class is only generated in imported .sikuli scripts, not in
the main scripts.

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

Title:
  [1.0.1]IDE:can not find anything on windows XP

Status in Sikuli:
  Opinion

Bug description:
  environment:
  --
  windows XP SP3 
  Java6
  sikuli1.0.1

  
  python script:
  --
  wait('xxx.png',10)


  --
  [error]FindFailed (can not find xxx.png on the screen)

  1. can not find anything on windows XP sp3 (Windows7 Ok)
  2. can not find *$py.class in the .sikuli folder

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

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Bug 1226453] Re: [1.0.1]IDE:can not find anything on windows XP

2013-09-17 Thread vince
Hi,
The problem may be caused by non-English character in sikuli path.
I move the .sikuli file to other path without a chinese character,and it works.
thanks!


[debug] Debug: setLogFile: D:/sikuli/SikuliLog.txt
[debug (13-9-17 16:37:54)] Running on Java 6 (1.6.0_14-b08)
[debug (13-9-17 16:37:54)] --- Sikuli parameters ---
[debug (13-9-17 16:37:54)] 1: -d
[debug (13-9-17 16:37:54)] init user preferences
[debug (13-9-17 16:37:54)] locale: zh_CN
[debug (13-9-17 16:37:54)] ResourceLoaderBasic: SikuliX Package Build: 1.0.1 
2SEP2013172748
[debug (13-9-17 16:37:54)] ResourceLoaderBasic: check: we are running on arch: 
x86
[debug (13-9-17 16:37:54)] ResourceLoaderBasic: check: using Java at: 
C:/Program Files/Java/jre6/
[debug (13-9-17 16:37:54)] ResourceLoaderBasic: check: Exists libs folder at 
location of jar? YES: D:/sikuli/
[debug (13-9-17 16:37:54)] ResourceLoaderBasic: checkLibsDir: D:/sikuli/libs
[debug (13-9-17 16:37:54)] ResourceLoaderBasic: loadLib: WinUtil
[debug (13-9-17 16:37:54)] ResourceLoaderBasic: loadLib: Found: WinUtil
[debug (13-9-17 16:37:54)] ResourceLoaderBasic: loadLib: Now loaded: WinUtil
[debug (13-9-17 16:37:54)] ResourceLoaderBasic: checkLibsDir: Using libs at: 
D:\sikuli\libs
[debug (13-9-17 16:37:54)] ResourceLoaderBasic: check: Using this as OCR 
directory (tessdata) too
[debug (13-9-17 16:37:55)] Screen: initScreens: basic initialization (1 
Screen(s) found)
[debug (13-9-17 16:37:55)] *** monitor configuration (primary: 0) ***
[debug (13-9-17 16:37:55)] Screen 0: S(0)[0,0 1280x1024]
[debug (13-9-17 16:37:55)] *** end monitor configuration ***
[debug (13-9-17 16:37:55)] [I18N] menuShowThumbs
[debug (13-9-17 16:37:55)] restore session: C:/Documents and 
Settings/Administrator/桌面/aaa.sikuli/
[debug (13-9-17 16:37:55)] SikuliX Jython Support Build: 1.0.1 2SEP2013172754
[debug (13-9-17 16:37:55)] SikuliEditorKit.read
[debug (13-9-17 16:37:55)] ImageLocator: found 1379406866890.png in 
C:/Documents and Settings/Administrator/桌面/aaa.sikuli/
[debug (13-9-17 16:37:55)] FileManager: tempfile create: 
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\sikuli-8177528272815069249.png
[debug (13-9-17 16:37:55)] Sikuli-IDE startup: 329
[debug (13-9-17 16:37:58)] FileManager: tempfile create: 
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\sikuli-3734992862376016189.py
[debug (13-9-17 16:37:59)] JythonScriptRunner: : executeScriptHeader: adding 
SikuliX Lib path to sys.path
D:\sikuli\sikuli-ide.jar\Lib
[debug (13-9-17 16:37:59)] JythonScriptRunner: : executeScriptHeader: before: 
0: D:\sikuli\Lib
[debug (13-9-17 16:37:59)] JythonScriptRunner: : executeScriptHeader: before: 
1: /D:/sikuli/sikuli-ide.jar/Lib
[debug (13-9-17 16:37:59)] JythonScriptRunner: : executeScriptHeader: before: 
2: __classpath__
[debug (13-9-17 16:37:59)] JythonScriptRunner: : executeScriptHeader: before: 
3: __pyclasspath__/
[debug (13-9-17 16:37:59)] JythonScriptRunner: : executeScriptHeader: after: 0: 
D:\sikuli\sikuli-ide.jar\Lib
[debug (13-9-17 16:37:59)] JythonScriptRunner: : executeScriptHeader: after: 1: 
D:\sikuli\Lib
[debug (13-9-17 16:37:59)] JythonScriptRunner: : executeScriptHeader: after: 2: 
/D:/sikuli/sikuli-ide.jar/Lib
[debug (13-9-17 16:37:59)] JythonScriptRunner: : executeScriptHeader: after: 3: 
__classpath__
[debug (13-9-17 16:37:59)] JythonScriptRunner: : executeScriptHeader: after: 4: 
__pyclasspath__/
[debug (13-9-17 16:37:59)] JythonScriptRunner: : executeScriptHeader: saved 
sys.path: 5
[debug (13-9-17 16:37:59)] JythonScriptRunner: : executeScriptHeader: at entry: 
path:
[debug (13-9-17 16:37:59)] JythonScriptRunner: : executeScriptHeader: 
D:\sikuli\sikuli-ide.jar\Lib
[debug (13-9-17 16:37:59)] JythonScriptRunner: : executeScriptHeader: 
D:\sikuli\Lib
[debug (13-9-17 16:37:59)] JythonScriptRunner: : executeScriptHeader: 
/D:/sikuli/sikuli-ide.jar/Lib
[debug (13-9-17 16:37:59)] JythonScriptRunner: : executeScriptHeader: 
__classpath__
[debug (13-9-17 16:37:59)] JythonScriptRunner: : executeScriptHeader: 
__pyclasspath__/
[debug (13-9-17 16:37:59)] JythonScriptRunner: : executeScriptHeader: at entry: 
--- end ---
[debug (13-9-17 16:37:59)] JythonScriptRunner: : executeScriptHeader: PyInit: # 
-*- coding: utf-8 -*- 
[debug (13-9-17 16:37:59)] JythonScriptRunner: : executeScriptHeader: PyInit: 
import sys
[debug (13-9-17 16:37:59)] JythonScriptRunner: : executeScriptHeader: PyInit: 
from __future__ import with_statement
[debug (13-9-17 16:37:59)] JythonScriptRunner: : executeScriptHeader: PyInit: 
from sikuli import *
[debug (13-9-17 16:37:59)] Jython: sikuli: __init__: entering
[debug (13-9-17 16:37:59)] Jython: sikuli: Sikuli: entering
[debug (13-9-17 16:37:59)] Jython: sikuli: Sikuli: constants
[debug (13-9-17 16:37:59)] Jython: sikuli: Sikuli: import Region
[debug (13-9-17 16:38:00)] Jython: sikuli: Sikuli: import Screen
[debug (13-9-17 16:38:00)] Jython: sikuli: Sikuli: Env.addHotkey
[debug (13-9-17 16:38:00)] Jython: 

Re: [Sikuli-driver] [Question #235809]: IDE startup throws: [error] Location: outside any screen

2013-09-17 Thread Boomy Grunt
Question #235809 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/235809

Status: Answered = Solved

Boomy Grunt confirmed that the question is solved:
Thanks for the quick workaround - it worked.

I had on both days the same monitor setup. All I did was moving my
Windows taskbar, from the left edge of monitor 1 to right edge of
monitor 2. So it might be a Windows thing.

Thanks for the help.

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #235809]: IDE startup throws: [error] Location: outside any screen

2013-09-17 Thread RaiMan
Question #235809 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/235809

RaiMan posted a new comment:
OK, thanks for feedback.

Moving the taskbar this way indeed changes the monitor setup, since this
changes the primary monitor in the sense of Sikuli/Java.

Nevertheless this is a bug and I will fix it (which is now easier based
on your feedback )

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #235812]: 1.0.1 - FileManager.loadLibrary(VisionProxy) throws error

2013-09-17 Thread akbar
Question #235812 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/235812

Status: Needs information = Solved

akbar confirmed that the question is solved:
DLLs in libs got renamed because they were downloaded from a shared
location, when changed the names to original, it started working.
Thanks!

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


[Sikuli-driver] [Bug 1226012] Re: [1.0.1] IDE: [error] Location: outside any screen after starting on a different monitor setup --- workaround

2013-09-17 Thread RaiMan
User moved taskbar from left side monitor 1 to right side monitor 2.

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

Title:
  [1.0.1] IDE: [error] Location: outside any screen after starting on a
  different monitor setup --- workaround

Status in Sikuli:
  Fix Committed

Bug description:
  - workaround
  in the registry in the branch
  HKEY_CURRENT_USER\Software\JavaSoft\Prefs\

  delete the branches starting with org/sikuli/...

  ... and try again (might be necessary to logout/login or even restart
  the system.

  The cause: Sikuli IDE saves the position of the window at shutdown. With the 
new monitor setup, this is now invalid.
  --
  Hi,

  I was able to install the Sikuli IDE successfully on my Windows 7 machine.
  After some playing with it on Friday, I tried to fire it up again today. 
Executing the runIDE.cmd I get the following output:

  +++ running this Java
  java version 1.7.0_25
  Java(TM) SE Runtime Environment (build 1.7.0_25-b17)
  Java HotSpot(TM) Client VM (build 23.25-b01, mixed mode, sharing)
  +++ trying to start Sikuli IDE
  +++ using: -Xms128M -Xmx1024M -Dfile.encoding=UTF-8 -Dsikuli.FromCommandLine 
-jar C:\sikuli\sikuli-ide.jar
  [error] Location: outside any screen (1272, -8) - subsequent actions might 
not work as expected

  and a yellow box saying:  Sikuli IDE 1.0.1  ... starting - pls. wait
  ... . Now its waiting and waiting and waiting

  What do I do?

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

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


[Sikuli-driver] [Bug 1226453] Re: [1.0.1] IDE: WindowsXP: still problems with UTF-8 characters in .sikuli folder path

2013-09-17 Thread RaiMan
Thanks for feedback.

The Java version you are using is rather ancient.
Would help if you upgrade to latest version and try again with chinese 
characters in path (I do not have a Windows XP available).

** Summary changed:

- [1.0.1]IDE:can not find anything on windows XP
+ [1.0.1] IDE: WindowsXP: still problems with UTF-8 characters in .sikuli 
folder path

** Changed in: sikuli
   Status: Opinion = In Progress

** Changed in: sikuli
   Importance: Undecided = High

** 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/1226453

Title:
  [1.0.1] IDE: WindowsXP: still problems with UTF-8 characters in
  .sikuli folder path

Status in Sikuli:
  In Progress

Bug description:
  environment:
  --
  windows XP SP3 
  Java6
  sikuli1.0.1

  
  python script:
  --
  wait('xxx.png',10)


  --
  [error]FindFailed (can not find xxx.png on the screen)

  1. can not find anything on windows XP sp3 (Windows7 Ok)
  2. can not find *$py.class in the .sikuli folder

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

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


[Sikuli-driver] [Question #235862]: ocr

2013-09-17 Thread sanjana
New question #235862 on Sikuli:
https://answers.launchpad.net/sikuli/+question/235862

Is there a way to improve the text recognition in sikuli by training the images 
using tessaract tool???
Can you tel me the procedure to go ahead with training the images using 
tessaract..

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


[Sikuli-driver] [Bug 1226453] Re: [1.0.1] IDE: WindowsXP: still problems with UTF-8 characters in .sikuli folder path

2013-09-17 Thread RaiMan
ok, thanks. I will check it as soon as possible.

** Changed in: sikuli
   Status: In Progress = Fix Committed

** Summary changed:

- [1.0.1] IDE: WindowsXP: still problems with UTF-8 characters in .sikuli 
folder path
+ [1.0.1] IDE: Windows: still problems with UTF-8 characters in .sikuli folder 
path using find()

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

Title:
  [1.0.1] IDE: Windows: still problems with UTF-8 characters in .sikuli
  folder path using find()

Status in Sikuli:
  Fix Committed

Bug description:
  environment:
  --
  windows XP SP3 
  Java6
  sikuli1.0.1

  
  python script:
  --
  wait('xxx.png',10)


  --
  [error]FindFailed (can not find xxx.png on the screen)

  1. can not find anything on windows XP sp3 (Windows7 Ok)
  2. can not find *$py.class in the .sikuli folder

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

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #235864]: Exist function in sikuli java API

2013-09-17 Thread RaiMan
Question #235864 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/235864

Status: Open = Answered

RaiMan proposed the following answer:
Ok, for someone programming Java this should be an easy one:

if(s.exists(C://Images//Screen1.png) != null)
{
}

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


[Sikuli-driver] [Bug 1226671] Re: [1.0.1] IDE: with CommandBar: does not always open first time

2013-09-17 Thread RaiMan
Is the IDE's menu bar available?

If yes, what happens if you use the toggle command bar from menu view?
(CTRL+L)

Any other things, that might help to narrow the cause: multi monitor?


** Summary changed:

- Sikuli IDE does not always open first time
+ [1.0.1] IDE: with CommandBar: does not always open first time

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

** Changed in: sikuli
   Importance: Undecided = Medium

** 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/1226671

Title:
  [1.0.1] IDE: with CommandBar: does not always open first time

Status in Sikuli:
  In Progress

Bug description:
  
  Sometimes when open Sikuli IDE the command window will open but Sikuli IDE 
does not.
  I have to close the command window and retry starting Sikuli IDE.

  After about the third time I give up and go into the registry and delete 
Sikuli - Ide setting.
  Once the registry has been deleted Sikuli IDE opens correctly.

  I'm assuming that the registry setting are getting corrupted some how.

  
  System Details:
  Windows 7
  Sikuli IDE 1.0.1

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

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #220471]: Sikuli:Issue while selecting Dropdown value with text

2013-09-17 Thread Robin Saunders
Question #220471 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/220471

Robin Saunders posted a new comment:
I am struggling with this issue, too. I am trying to match some text in
a pull down menu and then click on that to select it. I have tried
matching on a quoted string, for example text. I have tried matching
on a snapshot of the text. I came across the similarity information in
the doc, so I changed it to be .99. Still can't find what I'm trying to
match.

Part of the difficulty is that several of the entries in the pull down
menu are similar like lev/prod-v123, lev/prod-v124, lev/prod-v124m1...
If I am looking for lev/prod-v124, it has matched on all of these at any
given time... :( I know one night I got this to work at about 6pm and
thought hurray, save that! Then ran my script the next morning and it
couldn't find it again... I checked the link you give to the tesseract-
ocr page, noticed they say that the accuracy drops off when the font is
less than 10pt. I am testing an application that is a plugin to Eclipse,
and it looks to me like for this field, Eclipse is using the system
font. More investigating led to the system font being Segoe UI 9pt (I'm
using WIN 7) and looking on Microsoft's site, it seems there is no way
to change this. I tried updating one of the system settings so that
everything would appear at 125% (so bigger text), but that didn't seem
to work. Short of using coordinates on the pull down menu contents,
which I was trying to avoid since that will change, I'm not sure what
else to do. Suggestions? Have there been any improvements to this
functionality?

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


[Sikuli-driver] [Bug 1226668] Re: Have to close and reopen Sikuli after editing any imported modules

2013-09-17 Thread RaiMan
known problem and on the list

** Changed in: sikuli
   Status: New = Invalid

** Converted to question:
   https://answers.launchpad.net/sikuli/+question/235881

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

Title:
  Have to close and reopen Sikuli after editing any imported modules

Status in Sikuli:
  Invalid

Bug description:
  
  I've created a Sikuli script which imports functions from another Sikuli 
script (MyModule). 
  Each time I edit the imported script, I have to close and reopen Sikuli IDE 
so that the changes take effect.

  It would be a huge time saver if I could compile or have the imported
  modules recompile each time I run my script.

  Example:

  from sikuli.Sikuli import *
  from MyModule import *

  After making changes to MyModule I have to close and reopen Sikuli IDE
  so that the changes take effect.

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

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #235881]: Have to close and reopen Sikuli after editing any imported modules

2013-09-17 Thread RaiMan
Question #235881 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/235881

Description changed to:
- known problem
- workaround according to related bug comment #2
-

I've created a Sikuli script which imports functions from another Sikuli script 
(MyModule). 
Each time I edit the imported script, I have to close and reopen Sikuli IDE so 
that the changes take effect.

It would be a huge time saver if I could compile or have the imported
modules recompile each time I run my script.

Example:

from sikuli.Sikuli import *
from MyModule import *

After making changes to MyModule I have to close and reopen Sikuli IDE
so that the changes take effect.

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


[Sikuli-driver] [Bug 1226668] Re: Have to close and reopen Sikuli after editing any imported modules

2013-09-17 Thread RaiMan
Known problem and documented.
Workaround according to comment #2 (thanks Brian ;-)

I convert this bug to a question.

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

Title:
  Have to close and reopen Sikuli after editing any imported modules

Status in Sikuli:
  Invalid

Bug description:
  
  I've created a Sikuli script which imports functions from another Sikuli 
script (MyModule). 
  Each time I edit the imported script, I have to close and reopen Sikuli IDE 
so that the changes take effect.

  It would be a huge time saver if I could compile or have the imported
  modules recompile each time I run my script.

  Example:

  from sikuli.Sikuli import *
  from MyModule import *

  After making changes to MyModule I have to close and reopen Sikuli IDE
  so that the changes take effect.

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

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #220471]: Sikuli:Issue while selecting Dropdown value with text

2013-09-17 Thread RaiMan
Question #220471 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/220471

Linked to bug: #1224811
https://bugs.launchpad.net/bugs/1224811
[1.0.1] improvements for text recognition

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #220471]: Sikuli:Issue while selecting Dropdown value with text

2013-09-17 Thread Robin Saunders
Question #220471 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/220471

Robin Saunders posted a new comment:
Oh, fingers crossed! Thanks for the quick response, will wait to hear
back from you!

-Original Message-
From: boun...@canonical.com [mailto:boun...@canonical.com] On Behalf Of RaiMan
Sent: Tuesday, September 17, 2013 12:16 PM
To: Robin Saunders
Subject: Re: [Question #220471]: Sikuli:Issue while selecting Dropdown value 
with text

Question #220471 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/220471

RaiMan posted a new comment:
@Robin
I got a fix suggestion from someone especially for improvements on small fonts.
I will test it the next days and come back.

--
You received this question notification because you are a direct subscriber of 
the question.

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #235193]: [1.0.x] Script hangs after extended test runs

2013-09-17 Thread DavidL
Question #235193 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/235193

Status: Answered = Open

DavidL is still having a problem:
I have now given this a try using v1.0.1 and have handled FindFailed. I
see that handling it wont change anything but it lets me see a bit more
of whats going on.

The same problems happens, after a seemingly random amount of time after
successfully finding the Apply button at the end of each iteration of
loop range3, Sikuli raises an exception as it cant find it any more.

I'm guessing there is likely more than one exception possible at this
stage so if need be I could maybe find out which one it is.

As a bit more info, I've had a look at my log file and can see that loop
range3 at the start of the test takes around 1 minute 20 seconds to
complete. This then gradually increases so after 24 hours is 1 minute
40, up to about 38 hours in when it takes about half an hour then 6
hours.

At the time it took 6 hours, CPU load increased by about 10% and memory
stayed more or less stable.

As I was running this from the IDE, I stopped the run with shift alt c,
and tried to start it again, which failed. Restarting the IDE enabled
the run to start again.

This problem may be similar to another recently reported: 235769 Always
Prompt: FindFailed: can not find *.png on the screen.

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #235193]: [1.0.x] Script hangs after extended test runs

2013-09-17 Thread DavidL
Question #235193 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/235193

Linked to bug: #235769
https://bugs.launchpad.net/bugs/235769
Firefox dependencies broken by update

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #235193]: [1.0.x] Script hangs after extended test runs

2013-09-17 Thread DavidL
Question #235193 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/235193

Removed link to bug: #235769
https://bugs.launchpad.net/bugs/235769
Firefox dependencies broken by update

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #235193]: [1.0.x] Script hangs after extended test runs

2013-09-17 Thread RaiMan
Question #235193 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/235193

Status: Open = Answered

RaiMan proposed the following answer:
--- As I was running this from the IDE, I stopped the run with shift alt c
long running scripts should always be run from command line using 
sikuli-script.jar / .cmd
Now with 1.0.1 you can use sikuli-ide.jar/ .cmd as well from commandline using 
the -r parameter. This directly delegates to the script run level and avoids 
the initialization of the IDE.
When using abort key in IDE it heavily depends on the state the script is in, 
wether the IDE is still useable after this.
I always recommend, to restart the IDE.

--- loop range3 lasts longer over the time
Is it possible, to have a look at the real script or is it restricted?
It always helped me, to see the real stuff to get nearer to problems.

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #235894]: sikuli 1.0.1 closing while trying to open .sikuli script

2013-09-17 Thread RaiMan
Question #235894 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/235894

Status: Open = Needs information

RaiMan requested more information:
Could you start the IDE with the option -d and send me the logfile to my
mail at  https://launchpad.net/~raimund-hocke

Any Unicode characters in the folder names or the image names?

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #235879]: Can Sikuli simulate ALT+SPACE+X

2013-09-17 Thread RaiMan
Question #235879 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/235879

Status: Open = Answered

RaiMan proposed the following answer:
type(Key.SPACE+x, KeyModifier.ALT)

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


[Sikuli-driver] [Bug 1226671] [NEW] Sikuli IDE does not always open first time

2013-09-17 Thread David Adnitt
Public bug reported:


Sometimes when open Sikuli IDE the command window will open but Sikuli IDE does 
not.
I have to close the command window and retry starting Sikuli IDE.

After about the third time I give up and go into the registry and delete Sikuli 
- Ide setting.
Once the registry has been deleted Sikuli IDE opens correctly.

I'm assuming that the registry setting are getting corrupted some how.


System Details:
Windows 7
Sikuli IDE 1.0.1

** 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/1226671

Title:
  Sikuli IDE does not always open first time

Status in Sikuli:
  New

Bug description:
  
  Sometimes when open Sikuli IDE the command window will open but Sikuli IDE 
does not.
  I have to close the command window and retry starting Sikuli IDE.

  After about the third time I give up and go into the registry and delete 
Sikuli - Ide setting.
  Once the registry has been deleted Sikuli IDE opens correctly.

  I'm assuming that the registry setting are getting corrupted some how.

  
  System Details:
  Windows 7
  Sikuli IDE 1.0.1

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

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


[Sikuli-driver] [Bug 1226668] Re: Have to close and reopen Sikuli after editing any imported modules

2013-09-17 Thread Brian Redmond
To force a reload of an imported module on each run, add a reload
statement for the module after the import statement:

from sikuli.Sikuli import *
from MyModule import *
reload(MyModule)

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

Title:
  Have to close and reopen Sikuli after editing any imported modules

Status in Sikuli:
  New

Bug description:
  
  I've created a Sikuli script which imports functions from another Sikuli 
script (MyModule). 
  Each time I edit the imported script, I have to close and reopen Sikuli IDE 
so that the changes take effect.

  It would be a huge time saver if I could compile or have the imported
  modules recompile each time I run my script.

  Example:

  from sikuli.Sikuli import *
  from MyModule import *

  After making changes to MyModule I have to close and reopen Sikuli IDE
  so that the changes take effect.

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

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


[Sikuli-driver] [Question #235881]: Have to close and reopen Sikuli after editing any imported modules

2013-09-17 Thread David Adnitt
New question #235881 on Sikuli:
https://answers.launchpad.net/sikuli/+question/235881


I've created a Sikuli script which imports functions from another Sikuli script 
(MyModule). 
Each time I edit the imported script, I have to close and reopen Sikuli IDE so 
that the changes take effect.

It would be a huge time saver if I could compile or have the imported modules 
recompile each time I run my script.

Example:

from sikuli.Sikuli import *
from MyModule import *

After making changes to MyModule I have to close and reopen Sikuli IDE so that 
the changes take effect.

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


[Sikuli-driver] [Question #235894]: sikuli 1.0.1 closing while trying to open .sikuli script

2013-09-17 Thread Benjamin Bruffey
New question #235894 on Sikuli:
https://answers.launchpad.net/sikuli/+question/235894

I just did a clean install of windows and had been using an older version of 
sikuli (1.0rc3) I believe.   I had all of my .sikuli files saved and ready to 
be moved back on the the comp after the install was complete.  I saw that 1.0.1 
was out so i decided to go for that.  I followed the install instructions and 
got it running.  I could do hello world and other basic things so i went ahead 
and tried to open one of my scripts.  It just closes the entire IDE and doesn't 
do anything.  I have 42 scripts and it does this for every one of them.  I am 
in the IDE, i click open, target the correct .sikuli script and click open, it 
closes the IDE completely. Any ideas?

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


[Sikuli-driver] [Question #235899]: Refreshing Phantom Images

2013-09-17 Thread Ross Parrent
New question #235899 on Sikuli:
https://answers.launchpad.net/sikuli/+question/235899

I'm running Sikuli IDE 1.0.0 on Win7x64.  I have noticed that after having 
executed a particular program several times, sikuli starts to expect or 
anticipate the location of particular regions, even if they are not visible 
where the target click point finds them, or they aren't visible at all (a 
different application is obscuring the target application, for example).
Is this an image cache that Sikuli is not really refreshing its internal ram 
with the actual, visible screen?
This is happening even after closing Sikuli and the target application and 
starting Sikuli first, then the target application.

TIA, 
Ross Parrent

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #235881]: Have to close and reopen Sikuli after editing any imported modules

2013-09-17 Thread RaiMan
Question #235881 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/235881

RaiMan posted a new comment:
known problem and on the list

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


[Sikuli-driver] [Bug 1226668] Re: Have to close and reopen Sikuli after editing any imported modules

2013-09-17 Thread David Adnitt
System:
Windows 7
Sikuli IDE 1.0.1

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

Title:
  Have to close and reopen Sikuli after editing any imported modules

Status in Sikuli:
  New

Bug description:
  
  I've created a Sikuli script which imports functions from another Sikuli 
script (MyModule). 
  Each time I edit the imported script, I have to close and reopen Sikuli IDE 
so that the changes take effect.

  It would be a huge time saver if I could compile or have the imported
  modules recompile each time I run my script.

  Example:

  from sikuli.Sikuli import *
  from MyModule import *

  After making changes to MyModule I have to close and reopen Sikuli IDE
  so that the changes take effect.

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

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #220471]: Sikuli:Issue while selecting Dropdown value with text

2013-09-17 Thread RaiMan
Question #220471 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/220471

RaiMan posted a new comment:
@Robin
I got a fix suggestion from someone especially for improvements on small fonts.
I will test it the next days and come back.

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


[Sikuli-driver] [Bug 1226668] [NEW] Have to close and reopen Sikuli after editing any imported modules

2013-09-17 Thread David Adnitt
Public bug reported:


I've created a Sikuli script which imports functions from another Sikuli script 
(MyModule). 
Each time I edit the imported script, I have to close and reopen Sikuli IDE so 
that the changes take effect.

It would be a huge time saver if I could compile or have the imported
modules recompile each time I run my script.

Example:

from sikuli.Sikuli import *
from MyModule import *

After making changes to MyModule I have to close and reopen Sikuli IDE
so that the changes take effect.

** 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/1226668

Title:
  Have to close and reopen Sikuli after editing any imported modules

Status in Sikuli:
  New

Bug description:
  
  I've created a Sikuli script which imports functions from another Sikuli 
script (MyModule). 
  Each time I edit the imported script, I have to close and reopen Sikuli IDE 
so that the changes take effect.

  It would be a huge time saver if I could compile or have the imported
  modules recompile each time I run my script.

  Example:

  from sikuli.Sikuli import *
  from MyModule import *

  After making changes to MyModule I have to close and reopen Sikuli IDE
  so that the changes take effect.

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

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


[Sikuli-driver] [Question #235879]: Can Sikuli simulate ALT+SPACE+X

2013-09-17 Thread KaMiNsKy
New question #235879 on Sikuli:
https://answers.launchpad.net/sikuli/+question/235879

Can Sikuli simulate ALT+SPACE+X?

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #235809]: IDE startup throws: [error] Location: outside any screen

2013-09-17 Thread Boomy Grunt
Question #235809 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/235809

Boomy Grunt posted a new comment:
I'm also able to add, only moving my taskbar back to the original
position didn't fix it.

I moved my taskbar (after closing Sikuli-IDE) and later shut down my
machine, powering it back up the other day and starting Sikuli-IDE gave
me the mentioned error. Just moving the taskbar back didn't solve it


-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


[Sikuli-driver] [Bug 1225871] Re: [request] Want an installer again for Windows instead of using command line setup

2013-09-17 Thread Patrick M Neve
Raimund,  I would be glad to test a windows installer as well!
patr...@3qilabs.com

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

Title:
  [request] Want an installer again for Windows instead of using command
  line setup

Status in Sikuli:
  New

Bug description:
  I remmember that when installing Sikuli-X-1.0rc3 (r905), there is a 
executable file named Sikuli-X-1.0rc3 (r905)-win32.exe.
  It's convenient for users of Windows to install Sikuli, especailly for those 
who don't have much knowledge of computer.
  The way using windows command window to install (e.g. Sikuli 1.0.1) makes 
them confused.
  So why not continue to use this way when installing new Sikuli in Windows?
  If it's possible, I think more people will like Sikuli.

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

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #235769]: Always Prompt: FindFailed: can not find *.png on the screen

2013-09-17 Thread max
Question #235769 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/235769

max posted a new comment:
Yes, I can save the script as test.py, and there is the *.png image
in test.sikuli folder,

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp