Re: [Sikuli-driver] [Question #222395]: HowTo use Python module requests in Sikuli (POST https )

2013-02-21 Thread Andrei Ionescu
Question #222395 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/222395

Status: Answered = Open

Andrei Ionescu is still having a problem:
I downloaded the module and copy the requests folder here:

C:\Program Files\Sikuli X\Lib\requests


Sikuli file:

from requests import session

payload = {
'action': 'login',
'username': USERNAME,
'password': PASSWORD
}


If I run it, I get this error:

[info] Sikuli vision engine loaded.

[info] Windows utilities loaded.

[info] VDictProxy loaded.

[error] Stopped
[error] An error occurs at line 1
[error] Error message: Traceback (most recent call last):
 File C:\Users\AH\AppData\Local\Temp\sikuli-tmp8820935601154904929.py, line 
1, in 
 from requests import session
 File C:\Program Files\Sikuli X\Lib\requests\__init__.py, line 52, in 
 from . import utils
 File C:\Program Files\Sikuli X\Lib\requests\utils.py, line 23, in 
 from .compat import parse_http_list as _parse_list_header
 File C:\Program Files\Sikuli X\Lib\requests\compat.py, line 7, in 
 from .packages import charade as chardet
 File C:\Program Files\Sikuli X\Lib\requests\packages\__init__.py, line 3, in 
 from . import urllib3
 File C:\Program Files\Sikuli X\Lib\requests\packages\urllib3\__init__.py, 
line 16, in 
 from .connectionpool import (
 File C:\Program Files\Sikuli 
X\Lib\requests\packages\urllib3\connectionpool.py, line 441
 except Empty as e:
 ^
SyntaxError: mism

atched input 'as' expecting COLON

**
I ca't say if this is because of Python 2.5 or because it is just python.

Is there any way to do this is Sikuli? -regardless of the programming
language-

-- 
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 #207362]: Status of bug #906343 changed to 'In Progress' in Sikuli

2013-02-21 Thread RaiMan
Bug #906343 status changed in Sikuli:

Fix Committed = In Progress

https://bugs.launchpad.net/sikuli/+bug/906343
X-1.0rc3: Sikuli's type command collides with Jython's type command --- 
workarounds

This bug is linked to #207362.
Error while trying to send test results through email
https://answers.launchpad.net/sikuli/+question/207362

-- 
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 907726] Re: X-1.0: Region.text(): Null pointer exception with testing frameworks --- fix proposed

2013-02-21 Thread RaiMan
** Changed in: sikuli
   Status: Fix Committed = In Progress

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

Title:
  X-1.0: Region.text(): Null pointer exception with testing frameworks
  --- fix proposed

Status in Sikuli:
  In Progress

Bug description:
  In all versions of 1.0 of Sikuli on Windows and Mac a Null pointer
  exception is thrown when used within testing frameworks that implement
  their own classloader.

  Fix: Update 
https://github.com/sikuli/sikuli/blob/develop/sikuli-script/src/main/java/org/sikuli/script/ResourceExtractor.java,
 Line 17 from:
  ClassLoader cl = ClassLoader.getSystemClassLoader();
  to
  ClassLoader cl = ResourceExtractor.class.getClassLoader();

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/907726/+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 1046764] Re: log problem: type(Key.F4, KeyModifier.ALT) -- [log] Alt+TYPE 

2013-02-21 Thread RaiMan
** Changed in: sikuli
   Status: Fix Committed = In Progress

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

Title:
  log problem: type(Key.F4, KeyModifier.ALT) -- [log] Alt+TYPE 

Status in Sikuli:
  In Progress

Bug description:
  Message tab prints F4 as  When using Key.F4 command

  Example:
  type(Key.F4, KeyModifier.ALT)

  Message tab:
  [log] Alt+TYPE 

  Operating system: Windows 7 64bit
  Sikuli 1.0rc3 r930

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1046764/+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 906343] Re: X-1.0rc3: Sikuli's type command collides with Jython's type command --- workarounds

2013-02-21 Thread RaiMan
** Changed in: sikuli
   Status: Fix Committed = In Progress

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

Title:
  X-1.0rc3: Sikuli's type command collides with Jython's type command
  --- workarounds

Status in Sikuli:
  In Progress

Bug description:
  *** workarounds see comment #1

  

  The issue is simple, long-time Jython users have no intuitive way to
  use Jython's traditional 'type()' command to introspect data types
  [Ref 1].

  This is a serious problem for anyone who is used to Jython.  When we
  get any kind of data, it is normal to look at it to ensure that you
  got what you expected (particularly since Jython uses duck typing)
  [Ref 2].

  References:
  [1]: http://www.jython.org/jythonbook/en/1.0/DataTypes.html
  [2]: http://www.jython.org/jythonbook/en/1.0/ObjectOrientedJython.html

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/906343/+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 1087315] Re: Region.highlight() fade out might influence directly following find ops

2013-02-21 Thread RaiMan
** Changed in: sikuli
   Status: In Progress = Fix Committed

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

Title:
  Region.highlight() fade out might influence directly following find
  ops

Status in Sikuli:
  Fix Committed

Bug description:
   summary and workaround
  in the given case this was the test code in principal:

  exists(image)
  getLastMatch().highlight(2)
  find(image)

  The find() did not match the same or even failed compared to the
  previous exists().

  The reason is the asynchronous fade out of the highlight frame, that
  is still present on the search screenshot of the following find.

  -- workaround:
  exists(image)
  getLastMatch().highlight(2); wait(1)
  find(image)

  the additional wait() pauses the script until the highlight frame has
  vanished.

  This is accepted as a bug.

  -

  I have the following situation: I'm trying to see if one variant of an
  image exists, and if it doesn't, then I continue to the next variant.

  I'm using the IDE to determine the match parameters; the threshold for
  my value to appear in the matches is 0.58; below that, it will give me
  false positives. As the color does not need to match perfectly, I'm
  currently matching at 0.75. However, when I use the exists() method,
  it will return me a _false positive_, but the match is high; 0.77.
  This is incorrect and inconsistent with the find() method, which would
  have ignored this piece.

  The image i'm trying to match is an orange button, with white text; on
  the page, it will match a piece of a band of solid gray, the same
  size, but it has none of the details that the source image exhibits.

  Is this a known issue? And if so, apart from different pattern match
  criteria, can I do to avoid having this discrepancy?

  BTW: still on W7/64 with r930. Vision algorithm is at its default
  settings, haven't changed anything there. Can send the images by email
  on request, but I'd rather not share on a public place.

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1087315/+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 #222395]: HowTo use Python module requests in Sikuli (POST https )

2013-02-21 Thread RaiMan
Question #222395 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/222395

Status: Open = Answered

RaiMan proposed the following answer:
It is not because of the language level, but because of a general
difference between Python and Jython:

the usage of:
try:
.
except xxx as e:


is not supported in Jython as it is used in 
requests\packages\urllib3\connectionpool.py

and leads to a syntax error.
So you cannot use it with Sikuli.

You have to step down to urllib2, which is available in Jython/Sikuli.

-- 
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 945641] Re: X-1.0rc3: IDE: Cursor is misplaced in IDE when font size is changed

2013-02-21 Thread RaiMan
** Changed in: sikuli
   Status: In Progress = Fix Committed

** Changed in: sikuli
Milestone: None = x1.0

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

Title:
  X-1.0rc3: IDE: Cursor is misplaced in IDE when font size is changed

Status in Sikuli:
  Fix Committed

Bug description:
  Found in Sikuli r930 on for Mac 10.6 and on Sikuli X 1.0rc3 on Windows
  7.

  This behavior found in both Windows 7 (64 bit) and Mac OS 10.6.8 (64
  bit).

  To recreate:  Change font size in text editing preferences. Then try
  to click in code editor and add or delete text. Note that the text is
  not inserted or deleted at the cursor location.

  Looks like the cursor moving logic isn't using the updated font size.

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/945641/+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 941127] Re: IDE freezes if parenthesis entered in search field

2013-02-21 Thread RaiMan
** Changed in: sikuli
   Status: In Progress = Fix Committed

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

Title:
  IDE freezes if parenthesis entered in search field

Status in Sikuli:
  Fix Committed

Bug description:
  Sikuli Version X-1.0rc3 running on Mac OS X Version 10.7.3 - iMac -
  Intel Core i5

  Steps to reproduce:
  1. Open Sikuli-IDE
  2. Press Cmd-F
  3. Type example( into search box

  The IDE will freeze, preventing you from typing anything further for
  several seconds. Once it unfreezes, entering any text other than
  backspacing over the parenthesis mark will result in another temporary
  freeze. Error text is included below. The IDE appears to be
  interpreting the text in the search field as an erroneous regular
  expression, which is nonstandard among OS X GUI applications and
  unexpected. Even if a regular expression were intended, the freezing
  and immediate error make it extremely difficult to type.

  Temporary workaround:
  Always use a backslash before searching for any string containing 
parentheses. E.g., to search for example(foo), search instead for 
example\(foo\).

  [BEGIN ERROR TEXT]

  Exception in thread AWT-EventQueue-0 
java.util.regex.PatternSyntaxException: Unclosed group near index 8
  example(
   ^
   at java.util.regex.Pattern.error(Pattern.java:1713)
   at java.util.regex.Pattern.accept(Pattern.java:1571)
   at java.util.regex.Pattern.group0(Pattern.java:2533)
   at java.util.regex.Pattern.sequence(Pattern.java:1806)
   at java.util.regex.Pattern.expr(Pattern.java:1752)
   at java.util.regex.Pattern.compile(Pattern.java:1460)
   at java.util.regex.Pattern.(Pattern.java:1133)
   at java.util.regex.Pattern.compile(Pattern.java:823)
   at org.sikuli.ide.SikuliPane.search(SikuliPane.java:744)
   at org.sikuli.ide.SikuliIDE$FindAction._find(SikuliIDE.java:1264)
   at org.sikuli.ide.SikuliIDE$FindAction.findStr(SikuliIDE.java:1273)
   at org.sikuli.ide.SikuliIDE$4.keyReleased(SikuliIDE.java:524)
   at java.awt.AWTEventMulticaster.keyReleased(AWTEventMulticaster.java:243)
   at java.awt.Component.processKeyEvent(Component.java:6334)
   at javax.swing.JComponent.processKeyEvent(JComponent.java:2801)
   at java.

  awt.Component.processEvent(Component.java:6150)
   at java.awt.Container.processEvent(Container.java:2085)
   at java.awt.Component.dispatchEventImpl(Component.java:4735)
   at java.awt.Container.dispatchEventImpl(Container.java:2143)
   at java.awt.Component.dispatchEvent(Component.java:4565)
   at 
java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1850)
   at 
java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:712)
   at 
java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusManager.java:990)
   at 
java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:855)
   at 
java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:676)
   at java.awt.Component.dispatchEventImpl(Component.java:4607)
   at java.awt.Container.dispatchEventImpl(Container.java:2143)
   at java.awt.Window.dispatchEventImpl(Window.java:2478)
   at java.awt.Component.dispatchEvent(Component.java:4565)
   at java.awt.EventQueue.dispat

  chEventImpl(EventQueue.java:679)
   at java.awt.EventQueue.access$000(EventQueue.java:85)
   at java.awt.EventQueue$1.run(EventQueue.java:638)
   at java.awt.EventQueue$1.run(EventQueue.java:636)
   at java.security.AccessController.doPrivileged(Native Method)
   at 
java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
   at 
java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:98)
   at java.awt.EventQueue$2.run(EventQueue.java:652)
   at java.awt.EventQueue$2.run(EventQueue.java:650)
   at java.security.AccessController.doPrivileged(Native Method)
   at 
java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
   at java.awt.EventQueue.dispatchEvent(EventQueue.java:649)
   at 
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296)
   at 
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211)
   at 
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201)
   at jav

  a.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196)
   at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188)
   at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
  Exception in thread AWT-EventQueue-0 
java.util.regex.PatternSyntaxException: Unclosed group near index 8
  example(
   ^
   at java.util.regex.Pattern.error(Pattern.java:1713)
   at java.util.regex.Pattern.accept(Pattern.java:1571)
   at java.util.regex.Pattern.group0(Pattern.java:2533)
   at java.util.regex.Pattern.sequence(Pattern.java:1806)
   at 

[Sikuli-driver] [Bug 939482] Re: Changing screen setup is not recognized by Sikuli

2013-02-21 Thread RaiMan
** Changed in: sikuli
   Status: In Progress = Fix Committed

** Changed in: sikuli
Milestone: None = x1.0

** Description changed:

+ X-1.0 solution: use 
+ Script: getScreen().resetMonitors() 
+ Java: Screen.resetMonitors()
+ 
+ to reevaluate the monitor configuration on the fly.
+ Existing Region objects might be invalid then.
+ 
+ -
+ 
  i have a tilt funktion in my screens, and can change the resolution from
  1680 x 1050 to 1050 x 1680.
  
  Then the matching preview is not able to detect any thing below 1050 x
  700?
  
  work around is offcourse to turn screen back to 1680 x 1050.

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

Title:
  Changing screen setup is not recognized by Sikuli

Status in Sikuli:
  Fix Committed

Bug description:
  X-1.0 solution: use 
  Script: getScreen().resetMonitors() 
  Java: Screen.resetMonitors()

  to reevaluate the monitor configuration on the fly.
  Existing Region objects might be invalid then.

  -

  i have a tilt funktion in my screens, and can change the resolution
  from 1680 x 1050 to 1050 x 1680.

  Then the matching preview is not able to detect any thing below 1050 x
  700?

  work around is offcourse to turn screen back to 1680 x 1050.

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/939482/+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 #171313]: Status of bug #851622 changed to 'Fix Committed' in Sikuli

2013-02-21 Thread RaiMan
Bug #851622 status changed in Sikuli:

In Progress = Fix Committed

https://bugs.launchpad.net/sikuli/+bug/851622
X-1.0rc3: IDE: extension server not available --- workaround for rc2 upgrader

This bug is linked to #171313.
X-1.0rc3: IDE: Extensions server not available --- How to load extension Guide?
https://answers.launchpad.net/sikuli/+question/171313

-- 
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 #167514]: Status of bug #826769 changed to 'Won't Fix' in Sikuli

2013-02-21 Thread RaiMan
Bug #826769 status changed in Sikuli:

In Progress = Won't Fix

https://bugs.launchpad.net/sikuli/+bug/826769
X-1.0rc2: Windows: Unittests not working with some scriptnames when called via 
command line with -t --- possible workaround

This bug is linked to #167514.
script not working when executed via command line with option -t
https://answers.launchpad.net/sikuli/+question/167514

-- 
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 923603] Re: X-1.0rc3 - IDE - View - CommandList: Sub menus should be expanded startup

2013-02-21 Thread RaiMan
** Changed in: sikuli
   Status: In Progress = Won't Fix

** Changed in: sikuli
Milestone: x1.0 = None

** Description changed:

+ X-1.0 solution: the expansion depends on IDE's window size at startup
+ 
+ -
+ 
  -- might be an additional Prefrences option
  
  Original bug text:
  OPTIONS – Closing and opening Button of all the Sub Menu Bar should get 
expand when the page opens and it should get contract or shrink when the page 
get closed.OPTIONS

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

Title:
  X-1.0rc3 - IDE - View - CommandList: Sub menus should be expanded
  startup

Status in Sikuli:
  Won't Fix

Bug description:
  X-1.0 solution: the expansion depends on IDE's window size at startup

  -

  -- might be an additional Prefrences option

  Original bug text:
  OPTIONS – Closing and opening Button of all the Sub Menu Bar should get 
expand when the page opens and it should get contract or shrink when the page 
get closed.OPTIONS

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/923603/+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 914806] Re: X-1.0rc3: IDE: command list fully expanded: 'settings' menu not visible

2013-02-21 Thread RaiMan
** Changed in: sikuli
   Status: In Progress = Fix Committed

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

Title:
  X-1.0rc3: IDE: command list fully expanded: 'settings' menu not
  visible

Status in Sikuli:
  Fix Committed

Bug description:
  * workaround: close one or more submenus.

  -

  In this case the Sikuli Window must have a height of more than 900
  pixels, which might not be possible on small screens (low resolution).

  Sikuli X- 1.0rc3 (r905)
  Windows XP  32-bit
  Steps
  1. just open the app and expand all the menus in the left
  2. Verify that the options of the last menu Settings are not visible
  (please see the screenshot)

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/914806/+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 905048] Re: [request] want option to highlight matches on every find

2013-02-21 Thread RaiMan
** Changed in: sikuli
   Status: In Progress = Fix Committed

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

Title:
  [request] want option to highlight matches on every find

Status in Sikuli:
  Fix Committed

Bug description:
  In order to aide in the debugging of scripts, it would be helpful to
  have an option for every find/exists and similar operations execute
  the highlight operation.  Additionally, highlighting the region in a
  separate color would improve debug as well.  This would allow users to
  see what Sikuli is seeing sees during testing.

  Testing with Sikuli 1.0-RC2 on 32-bit windows.

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/905048/+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 862484] Re: SikuliHudson: Windows build: the folder name should be Sikuli X

2013-02-21 Thread RaiMan
** Changed in: sikuli
   Status: In Progress = Fix Committed

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

Title:
  SikuliHudson: Windows build: the folder name should be Sikuli X

Status in Sikuli:
  Fix Committed

Bug description:
  currently it is Sikuli-IDE.

  If it was Sikuli X, you could just drag and drop the folder from the
  unzipped to the program folder to overwrite the current version.

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/862484/+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 885975] Re: Exit() closes IDE --- be sure to save before run

2013-02-21 Thread RaiMan
** Changed in: sikuli
   Status: In Progress = Fix Committed

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

Title:
  Exit() closes IDE --- be sure to save before run

Status in Sikuli:
  Fix Committed

Bug description:
  Whenever I run a script that uses Exit() to stop the script, the
  Sikuli IDE shuts down as well.

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/885975/+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 #170534]: Status of bug #707383 changed to 'Fix Committed' in Sikuli

2013-02-21 Thread RaiMan
Bug #707383 status changed in Sikuli:

In Progress = Fix Committed

https://bugs.launchpad.net/sikuli/+bug/707383
[Java] X 1.0rc3: WebDriver/Firefox: Hang in app.focus() if used before new 
Screen() - workaround

This bug is linked to #170534.
[Java] Not able to get App window as Region object on MAC 
https://answers.launchpad.net/sikuli/+question/170534

-- 
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 851622] Re: X-1.0rc3: IDE: extension server not available --- workaround for rc2 upgrader

2013-02-21 Thread RaiMan
** Changed in: sikuli
   Status: In Progress = Fix Committed

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

Title:
  X-1.0rc3: IDE: extension server not available --- workaround for rc2
  upgrader

Status in Sikuli:
  Fix Committed

Bug description:
  * workaround

  If you are coming from rc2 and had the extension Guide before:

  It is still on your system, so saying:

  load(guide)
  from guide import *

  should make it available in your script in rc3 too.

  ---

  when trying to connect to the extension server you get a popup:

  Unable to load extensions from the server: Connection refused

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/851622/+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 #142707]: Status of bug #707383 changed to 'Fix Committed' in Sikuli

2013-02-21 Thread RaiMan
Bug #707383 status changed in Sikuli:

In Progress = Fix Committed

https://bugs.launchpad.net/sikuli/+bug/707383
[Java] X 1.0rc3: WebDriver/Firefox: Hang in app.focus() if used before new 
Screen() - workaround

This bug is linked to #142707.
[Java] Sikuli X: WebDriver/Firefox: Hang in app.focus() if used before new 
Screen() - workaround
https://answers.launchpad.net/sikuli/+question/142707

-- 
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 #158928]: Status of bug #704981 changed to 'Won't Fix' in Sikuli

2013-02-21 Thread RaiMan
Bug #704981 status changed in Sikuli:

In Progress = Won't Fix

https://bugs.launchpad.net/sikuli/+bug/704981
[request] IDE: want a reset feature to get import repeated

This bug is linked to #158928.
Had to restart Sikuli IDE to make code changes work
https://answers.launchpad.net/sikuli/+question/158928

-- 
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 826769] Re: X-1.0rc2: Windows: Unittests not working with some scriptnames when called via command line with -t --- possible workaround

2013-02-21 Thread RaiMan
** Changed in: sikuli
   Status: In Progress = Won't Fix

** Changed in: sikuli
Milestone: x1.0 = None

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

Title:
  X-1.0rc2: Windows: Unittests not working with some scriptnames when
  called via command line with -t --- possible workaround

Status in Sikuli:
  Won't Fix

Bug description:
  --- possible workaround

  script names starting with the letters c or m seem to work.

  ---

  *** comment on Mac:

  This does not happen on Mac Lion using rc3 containing Jython 2.5.2

  Did not test on Linux.

  So it might be a problem of the internal usage of JUnit on Windows.

  I did not find any code in the Sikuli source, that depends on the
  filename, with the only exception, that the internally generated test
  class is named using the name of the Sikuli script folder.

  --

  This Bug was reproducable with the combinations WinXP  rc2 as well as
  with Win7  rc3.

  When executing a Sikuli-test via commandline like

  sikuli-ide.bat -t test.sikuli

  sikuli has some odd behavior: The script does in some cases not load
  at all but only prints [error] null, and in other cases refuses to
  find any kind of image on the screen, resolving in FindFailed-
  Exceptions.

  A quick test revealed the following correlation between name of the 
sikuli-script and the mentioned behavior:
  All scripts where executed as

  Filenames a.sikuli as well as b.sikuli resolved in a Find Failed Exception 
for every find() in the script.
  Filenames c.sikuli, d.sikuli, e.sikuli and m.sikuli worked normal.
  Filenames f.sikuli and x.sikuli did nothing but printing [error] null

  I did not test more filenames yet.

  Look here for all the detail
  https://answers.launchpad.net/sikuli/+question/167514 (last posts)

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/826769/+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 707383] Re: [Java] X 1.0rc3: WebDriver/Firefox: Hang in app.focus() if used before new Screen() - workaround

2013-02-21 Thread RaiMan
** Changed in: sikuli
   Status: In Progress = Fix Committed

** Changed in: sikuli
Milestone: None = x1.0

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

Title:
  [Java] X 1.0rc3: WebDriver/Firefox: Hang in app.focus() if used before
  new Screen() - workaround

Status in Sikuli:
  Fix Committed

Bug description:
  
  ** workaround
  use Screen scr = new Screen() before touching any other Sikuli features
  

  in Java code: It seems, that the class App makes problems together
  with class Screen, when used in the sequence App - Screen.

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/707383/+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 704981] Re: [request] IDE: want a reset feature to get import repeated

2013-02-21 Thread RaiMan
** Changed in: sikuli
Milestone: x1.0 = None

** Changed in: sikuli
   Status: In Progress = Won't Fix

** Description changed:

+ workaround: use reload() (see docs)
+ --
+ 
  With the new feature import other .sikuli, you always have to restart
  the IDE, if something is changed in an imported script. This might be
  inconvenient, if some tabs are open.
  
  A button like the run-button would be helpful, that internally resets
  the IDE, so that imports are done again.

** Summary changed:

- [request] IDE: want a reset feature to get import repeated
+ [request] IDE: want a reset feature to get import repeated --- workaround

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

Title:
  [request] IDE: want a reset feature to get import repeated ---
  workaround

Status in Sikuli:
  Won't Fix

Bug description:
  workaround: use reload() (see docs)
  --

  With the new feature import other .sikuli, you always have to
  restart the IDE, if something is changed in an imported script. This
  might be inconvenient, if some tabs are open.

  A button like the run-button would be helpful, that internally resets
  the IDE, so that imports are done again.

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/704981/+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 1100401] Re: Temporary files are not deleted after test runs

2013-02-21 Thread RaiMan
** Changed in: sikuli
Milestone: None = x1.0

** Tags added: deleteonexit

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

Title:
  Temporary files are not deleted after test runs

Status in Sikuli:
  In Progress

Bug description:
  using sikuli (1.0-rc3) on windows xp, i find a lot of temporary files
  in the windows temporary folder.

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1100401/+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 1046251] Re: deleteOnExit() method not working after *.skl file execution

2013-02-21 Thread RaiMan
** Tags added: deleteonexit

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

Title:
  deleteOnExit() method not working after *.skl file execution

Status in Sikuli:
  In Progress

Bug description:
  *.sikuli folder extracted to tmp -- * folder in java tmp path , from
  *.skl file during execution, is not removed at the end of the JVM
  termination . Accumulation of these tmp -- * folders may create
  space issue.

  1. The version of Sikuli you were using.
   = sikuli X-1.0rc3 ( r905 )
  2. Your operating system, 32-bit or 64-bit, and its version.
   = Windows XP SP3 - ( 32 bit OS )
  3. The procedure to reproduce the bug.
   = run any sikuli executable ( *.skl ) file using Sikuli-IDE.bat
  4. Any information that might help us to locate the bug.
   = tempDir.deleteOnExit() method is not working as expected. [  method 
createTempDir() in org.sikuli.ide.Utils.java file ]
There are lot of discussion about why deleteOnExit() not working. 
Bug reported and never arrived solution . Please refer  
http://bugs.sun.com/view_bug.do?bug_id=4171239 

 I would suggest to use tmpDir.delete() in runSkl method in
  org.sikuli.ide.SikuliIDE.java ,

 public static int runSkl(String filename, String[] args) throws 
IOException{
_runningSkl = true;
File file = new File(filename);
if(!file.exists())
   throw new IOException(filename + : No such file);
String name = file.getName();
name = name.substring(0, name.lastIndexOf('.'));
File tmpDir = Utils.createTempDir();
File sikuliDir = new File(tmpDir + File.separator + name + 
.sikuli);
sikuliDir.mkdir();
Utils.unzip(filename, sikuliDir.getAbsolutePath());
int returnCode  = runSikuli(sikuliDir.getAbsolutePath(), args);
tmpDir.delete();
return returnCode ;
 }

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1046251/+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 1096540] Re: ide strips Pattern() from images

2013-02-21 Thread RaiMan
** Tags added: ide

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

Title:
  ide strips Pattern() from images

Status in Sikuli:
  Fix Committed

Bug description:
  at the start of one of my scripts stick some image patterns i use in
  several places in global variables:

  var = Pattern(image.png)

  
  I need the Pattern(), because I throw in .similar() in the find calls to get 
different tolerances.

  When this is saved in the IDE, Pattern() is stripped and the code only
  has:

  var = image.png

  which causes exceptions next time I open sikuli and try to run (str
  does not have .similar())

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1096540/+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 1096528] Re: highlight doesn't work in linux

2013-02-21 Thread RaiMan
** Tags added: fkt-highlight linux

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

Title:
  highlight doesn't work in linux

Status in Sikuli:
  In Progress

Bug description:
  The messages say as much so it's clearly a known issue, but I was
  surprised there was no bug report for it.

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1096528/+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 1111217] Re: [request] Text recognition on image file after capture() and processing

2013-02-21 Thread RaiMan
** Tags added: fkt-text

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

Title:
  [request] Text recognition on image file after capture() and
  processing

Status in Sikuli:
  In Progress

Bug description:
  want something like
  image.text()

  where image is either an image file or an image in memory (Java
  buffered image).

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/217/+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 1123371] Re: [request] allow setting to change darkness level during screenshot capture

2013-02-21 Thread RaiMan
** Tags added: options

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

Title:
  [request] allow setting to change darkness level during screenshot
  capture

Status in Sikuli:
  In Progress

Bug description:
  When capturing a screenshot, the darkness of the screen that the IDE
  sets now makes it hard to see the crosshairs in our app. It would be
  nice if the darkness factor in the OverlayCapturePrompt class could be
  modified via a setting, rather than hardcoded.

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1123371/+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 1092017] Re: ScreenHighlighter might produce OutOfMemory crash

2013-02-21 Thread RaiMan
** Tags added: fkt-highlight

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

Title:
  ScreenHighlighter might produce OutOfMemory crash

Status in Sikuli:
  In Progress

Bug description:
  details see related question

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1092017/+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 1091993] Re: [request] ignore invisible app windows (App.window())

2013-02-21 Thread RaiMan
** Tags added: fkt-app

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

Title:
  [request] ignore invisible app windows (App.window())

Status in Sikuli:
  In Progress

Bug description:
  I have found when trying to find and focus by pid that determining the
  window number is not always straight forward.. After opening Chrome
  the find / focus by pid methods match 11 windows of which the ids
  change through usage..
  http://img341.imageshack.us/img341/6279/chromec.png

  As a workaround I have added in some checks to ignore invisible
  windows @
  
https://github.com/johnou/sikuli/commit/e3caefd4e3eb0119610ea6d0b42984d5ed8f08f3

  Are there any use cases for finding invisible windows, or would you
  consider pulling in a patch?

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1091993/+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 1088897] Re: Help in Sikuli doesnt link to the right page

2013-02-21 Thread RaiMan
** Tags added: general

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

Title:
  Help in Sikuli doesnt link to the right page

Status in Sikuli:
  Fix Committed

Bug description:
  I have swedish language for Sikuli. When I choose the Help-menu (Hjälp in 
swedish), the alternatives all link to the wrong page Page not found
  Sikuli r930
  64 bit

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1088897/+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 1087315] Re: Region.highlight() fade out might influence directly following find ops

2013-02-21 Thread RaiMan
** Tags added: fkt-highlight

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

Title:
  Region.highlight() fade out might influence directly following find
  ops

Status in Sikuli:
  Fix Committed

Bug description:
   summary and workaround
  in the given case this was the test code in principal:

  exists(image)
  getLastMatch().highlight(2)
  find(image)

  The find() did not match the same or even failed compared to the
  previous exists().

  The reason is the asynchronous fade out of the highlight frame, that
  is still present on the search screenshot of the following find.

  -- workaround:
  exists(image)
  getLastMatch().highlight(2); wait(1)
  find(image)

  the additional wait() pauses the script until the highlight frame has
  vanished.

  This is accepted as a bug.

  -

  I have the following situation: I'm trying to see if one variant of an
  image exists, and if it doesn't, then I continue to the next variant.

  I'm using the IDE to determine the match parameters; the threshold for
  my value to appear in the matches is 0.58; below that, it will give me
  false positives. As the color does not need to match perfectly, I'm
  currently matching at 0.75. However, when I use the exists() method,
  it will return me a _false positive_, but the match is high; 0.77.
  This is incorrect and inconsistent with the find() method, which would
  have ignored this piece.

  The image i'm trying to match is an orange button, with white text; on
  the page, it will match a piece of a band of solid gray, the same
  size, but it has none of the details that the source image exhibits.

  Is this a known issue? And if so, apart from different pattern match
  criteria, can I do to avoid having this discrepancy?

  BTW: still on W7/64 with r930. Vision algorithm is at its default
  settings, haven't changed anything there. Can send the images by email
  on request, but I'd rather not share on a public place.

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1087315/+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 1087041] Re: Support if image in region: construct

2013-02-21 Thread RaiMan
** Tags added: scriptlanguage

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

Title:
  Support if image in region: construct

Status in Sikuli:
  In Progress

Bug description:
  if image in region:
# do something
# is more intuitive than
if region.find(image):
  pass

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1087041/+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 #214242]: Status of bug #1079614 changed to 'Triaged' in Sikuli

2013-02-21 Thread RaiMan
Bug #1079614 status changed in Sikuli:

In Progress = Triaged

https://bugs.launchpad.net/sikuli/+bug/1079614
Sikuli IDE prevents Windows 7 from hibernate

This bug is linked to #214242.
Does Sikuli IDE prevent Windows 7 from hibernate?
https://answers.launchpad.net/sikuli/+question/214242

-- 
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 1115597] Re: [request] should be possible to change monitor setup during script run

2013-02-21 Thread RaiMan
*** This bug is a duplicate of bug 939482 ***
https://bugs.launchpad.net/bugs/939482

** This bug has been marked a duplicate of bug 939482
   Changing screen setup is not recognized by Sikuli

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

Title:
  [request] should be possible to change monitor setup during script run

Status in Sikuli:
  In Progress

Bug description:
  Sikuli version: Sikuli 1.0rc3-r950 for windows 32bit
  OS: Windows 7 64bit

  I'm using Sikuli for a multiple monitors test.
  First, I created a screen object for each monitor and then store them in a 
list
  Then I loop through the list, for each object, I need to detect some image 
and also I need to detect if there is a black spot on any of the monitors. 
However, if I do a screen rotation on any of the monitor (primary or 
secondary), then take a screen shot, I found half of the second monitor was 
covered by black region.

  I tested this using Sikuli directly by running jython, and it
  certainly works. But when I'm using Pyro to remotely load Sikuli
  libraries (because I'm using python here), the black screen appears on
  the second monitor and fails my test :(

  I'm not sure if I state it clearly enough..

  Using jython to test the python module itself(import Sikuli in the
  python module), it works!

  Using Pyro to remotely load Sikuli libraries with a screen rotation
  doesn't work, but it works without rotation.

  
  Can anyone help me with this please?

  Thanks!

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1115597/+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 1083085] Re: Unable to take snapshot with Java 7 works ok with java 6

2013-02-21 Thread RaiMan
** Tags added: general

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

Title:
  Unable to take snapshot with Java 7 works ok with java 6

Status in Sikuli:
  Fix Committed

Bug description:
  I am unable to take snapshot from sikuli when java 7 is installed the program 
closes .
  I have installed java 6 and it works fine 
   I need java 7 for some of my applets 
  plz fix this

  Steps 
  1  Just press take snapshot button aad program closes 

  
  Sikuili  version Sikuli-X-1.0rc3 (r905)-win32
  OS 32 bit Windows 7

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1083085/+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 1096528] Re: highlight doesn't work in linux

2013-02-21 Thread RaiMan
** Tags removed: linux
** Tags added: ubuntu

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

Title:
  highlight doesn't work in linux

Status in Sikuli:
  In Progress

Bug description:
  The messages say as much so it's clearly a known issue, but I was
  surprised there was no bug report for it.

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1096528/+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 1078321] Re: Sikuli IDE: Help Menu: Links not valid anymore temporarily

2013-02-21 Thread RaiMan
** Tags added: general

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

Title:
  Sikuli IDE: Help Menu: Links not valid anymore temporarily

Status in Sikuli:
  Fix Committed

Bug description:
  Sikuli r930,  Windows7, 64-Bit
  Open in menu Help second and third point
  -- 404 - Page Not Found 

  In german the menus are: 
  Hilfe - Der umfassende Leitfaden zu Sikuli Script -- 
http://www.sikuli.org/guide-x
  Hilfe - Tutorials, Beispiele, How-To's -- 
http://www.sikuli.org/documentation.shtml

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1078321/+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 1080761] Re: [request] IDE: want to have alternate color for comments

2013-02-21 Thread RaiMan
** Tags added: options

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

Title:
  [request] IDE: want to have alternate color for comments

Status in Sikuli:
  In Progress

Bug description:
  I've taken to using comments in my scripts because there are so many
  lines, and this allows me to show which projects and steps each line
  is for.

  However, the comment text (ex: #TEXT GOES HERE) is gray and doesn't
  stand out at all against the commands and screenshots. Would it be
  possible to choose a color for this text? I'm thinking red would be a
  helpful way to easily read the commented lines as the user scrolls
  through the commands.

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1080761/+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 1076372] Re: [request] improvement for run command

2013-02-21 Thread RaiMan
** Changed in: sikuli
Milestone: x1.0 = None

** Tags added: fit-run

** Tags removed: fit-run
** Tags added: fkt-run

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

Title:
  [request] improvement for run command

Status in Sikuli:
  In Progress

Bug description:
  In GUI mode the run(command) should show the console window.

  In CLI mode the run(command) could optionally show the console window.

  Either way, it should check the exit code and either return it or
  fail.

  Without such improvement, it's just like submodule.call()

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1076372/+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 #222395]: POST https Sikuli

2013-02-21 Thread RaiMan
Question #222395 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/222395

Status: Open = Answered

RaiMan proposed the following answer:
you need the Python module requests from
https://pypi.python.org/pypi/requests

It might work in Sikuli, since it is Python only code. But you have to
give it a try, since Sikuli currently only supports Python language
level 2.5

download (but do not install!) and put the contained folder requests (this 
contains the Python module) into a folder, that is contained in sys.path:
e.g. on Windows this is 
%ProgramFiles%\Sikuli X\Lib (where you have installed Sikuli)

You have to create this folder if it does not exist yet.

But you might choose any other folder, but then you have to add it to
sys.path before the import

requestsLib = path-to-folder-containing-requests
if not requestsLib in sys.path: sys.path.append(requestsLib)

-- 
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 1079614] Re: Sikuli IDE prevents Windows 7 from hibernate

2013-02-21 Thread RaiMan
** Changed in: sikuli
   Status: In Progress = Triaged

** Changed in: sikuli
Milestone: x1.0 = None

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

Title:
  Sikuli IDE prevents Windows 7 from hibernate

Status in Sikuli:
  Triaged

Bug description:
  Windows 7 (x64) does not hibernate correctly if Sikuli IDE (r930) is
  opened.

  Symptom: if you try to hybernate, System seems to shut down.
  The screen gets black but Computer does not shut-off completly. Power light 
is still on and you can't do anything.

  If I boot up next time last session is lost, Windows complains it was not 
shut down properly and starts from scratch.
  I could isolate that the issues aries if Sikuli IDE is opened when I try to 
hibernate the system.

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1079614/+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 1087027] Re: Port Sikuli to OpenCV 2.2

2013-02-21 Thread RaiMan
** Tags added: general

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

Title:
  Port Sikuli to OpenCV 2.2

Status in Sikuli:
  Fix Committed

Bug description:
  http://code.opencv.org/projects/opencv/wiki/ChangeLog#22

  ... Over 300 issues have been resolved. ...

  And also OpenCV 2.1 is not  available on Ubuntu and friends anymore.

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1087027/+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 #222395]: HowTo use Python module requests in Sikuli (POST https )

2013-02-21 Thread RaiMan
Question #222395 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/222395

Summary changed to:
HowTo use Python module requests in Sikuli (POST https )

-- 
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 878317] Re: [Request] Ability to override image default save path

2013-02-21 Thread RaiMan
** Tags removed: ideoptions
** Tags added: options

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

Title:
  [Request] Ability to override image default save path

Status in Sikuli:
  Fix Committed

Bug description:
  Request to implement an option in the IDE to set a directory to save
  all images saved through the IDE to.

  This would make using Image repositories for large testing projects
  easier.

  Current workaround is to copy all images to one directory by hand
  and use the following likes at the top of each script:

  imagePath = rPath\to\image\repository
  if not imagePath in getImagePath(): addImagePath(imagePath)

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/878317/+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 1100401] Re: Temporary files are not deleted after test runs

2013-02-21 Thread RaiMan
** Tags removed: general

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

Title:
  Temporary files are not deleted after test runs

Status in Sikuli:
  In Progress

Bug description:
  using sikuli (1.0-rc3) on windows xp, i find a lot of temporary files
  in the windows temporary folder.

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1100401/+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 1087074] Re: All links are broken

2013-02-21 Thread RaiMan
** Tags removed: docs
** Tags added: general

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

Title:
  All links are broken

Status in Sikuli:
  In Progress

Bug description:
  All links from StackOverflow and other sites are broken. It's a
  disaster.

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1087074/+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 1046251] Re: deleteOnExit() method not working after *.skl file execution

2013-02-21 Thread RaiMan
** Tags removed: general

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

Title:
  deleteOnExit() method not working after *.skl file execution

Status in Sikuli:
  In Progress

Bug description:
  *.sikuli folder extracted to tmp -- * folder in java tmp path , from
  *.skl file during execution, is not removed at the end of the JVM
  termination . Accumulation of these tmp -- * folders may create
  space issue.

  1. The version of Sikuli you were using.
   = sikuli X-1.0rc3 ( r905 )
  2. Your operating system, 32-bit or 64-bit, and its version.
   = Windows XP SP3 - ( 32 bit OS )
  3. The procedure to reproduce the bug.
   = run any sikuli executable ( *.skl ) file using Sikuli-IDE.bat
  4. Any information that might help us to locate the bug.
   = tempDir.deleteOnExit() method is not working as expected. [  method 
createTempDir() in org.sikuli.ide.Utils.java file ]
There are lot of discussion about why deleteOnExit() not working. 
Bug reported and never arrived solution . Please refer  
http://bugs.sun.com/view_bug.do?bug_id=4171239 

 I would suggest to use tmpDir.delete() in runSkl method in
  org.sikuli.ide.SikuliIDE.java ,

 public static int runSkl(String filename, String[] args) throws 
IOException{
_runningSkl = true;
File file = new File(filename);
if(!file.exists())
   throw new IOException(filename + : No such file);
String name = file.getName();
name = name.substring(0, name.lastIndexOf('.'));
File tmpDir = Utils.createTempDir();
File sikuliDir = new File(tmpDir + File.separator + name + 
.sikuli);
sikuliDir.mkdir();
Utils.unzip(filename, sikuliDir.getAbsolutePath());
int returnCode  = runSikuli(sikuliDir.getAbsolutePath(), args);
tmpDir.delete();
return returnCode ;
 }

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1046251/+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 1010288] Re: Threading and using Region.text crashes JVM

2013-02-21 Thread RaiMan
** Tags removed: ocr
** Tags added: fkt-text

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

Title:
  Threading and using Region.text crashes JVM

Status in Sikuli:
  In Progress

Bug description:
  DESCRIPTION:
  
  1. Sikuli v1.0rc3
  2. 32-bit, WinXP professional, SP3
  3. Region.text (OCR) in threaded mode, java v6.0_22-b04

  Using , doing something like String aP = this.regionAP.text(); in
  java unthreaded works fine.  threading it however (using a singleton
  pattern) results in a crash.

  Specifically, VisionProxy.dll the dump calls out.

  DUMP:
  -

  run:
  [info] Windows utilities loaded.
  [info] Sikuli vision engine loaded.
  [info] VDictProxy loaded.
  [info] Text Recognizer inited.
  #
  # A fatal error has been detected by the Java Runtime Environment:
  #
  #  EXCEPTION_ACCESS_VIOLATION (0xc005) at pc=0x03acdab6, pid=5616, 
tid=4280
  #
  # JRE version: 6.0_22-b04
  # Java VM: Java HotSpot(TM) Client VM (17.1-b03 mixed mode, sharing 
windows-x86 )
  # Problematic frame:
  # [thread 4176 also had an error]
  C  [VisionProxy.dll+0x8dab6]
  #
  [thread 4412 also had an error]
  [thread 4152 also had an error]
  # An error report file with more information is saved as:
  # [thread 4152 also had an error]
  [thread 5524 also had an error]
  #
  # If you would like to submit a bug report, please visit:
  #   http://java.sun.com/webapps/bugreport/crash.jsp
  # The crash happened outside the Java Virtual Machine in native code.
  # See problematic frame for where to report the bug.
  #
  Java Result: 1
  BUILD SUCCESSFUL (total time: 5 seconds)

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1010288/+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 1013318] Re: X-1.0rc3: Script/Jython: Region.create(x, y, w, h) Null pointer exception --- should not be used

2013-02-21 Thread RaiMan
** Tags removed: fkt-create
** Tags added: fkt-region

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

Title:
  X-1.0rc3: Script/Jython: Region.create(x,y,w,h) Null pointer exception
  --- should not be used

Status in Sikuli:
  Fix Committed

Bug description:
  Hi I get this exception when using Region.create(x,y,w,h) instead of
  new Region() which has been deprecated.

  java.lang.NullPointerException: null
at org.python.util.PythonInterpreter.init(PythonInterpreter.java:110) 
~[sikuli-mac-1.0-rc-3.jar:na]
at org.python.util.PythonInterpreter.init(PythonInterpreter.java:92) 
~[sikuli-mac-1.0-rc-3.jar:na]
at org.python.util.PythonInterpreter.init(PythonInterpreter.java:64) 
~[sikuli-mac-1.0-rc-3.jar:na]
at org.sikuli.script.Region.toJythonRegion(Region.java:987) 
~[sikuli-mac-1.0-rc-3.jar:na]
at org.sikuli.script.Region.create(Region.java:129) 
~[sikuli-mac-1.0-rc-3.jar:na]
at org.sikuli.script.Region.create(Region.java:115) 
~[sikuli-mac-1.0-rc-3.jar:na]
  ..

  Sorry to not send patch, I am not that into Python yet.

  Thanks.

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1013318/+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 950611] Re: [request] Region.highlight() should have a color option

2013-02-21 Thread RaiMan
** Tags added: options

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

Title:
  [request] Region.highlight() should have a color option

Status in Sikuli:
  In Progress

Bug description:
  Upon successful highlight, the perimeter box color is red.
  Is there any available implementation that allows the coder to change the 
highlight perimeter to another color (i.e. green)?
  If not, will you be implementing it?
  Thanks,

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/950611/+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 905048] Re: [request] want option to highlight matches on every find

2013-02-21 Thread RaiMan
** Tags added: options

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

Title:
  [request] want option to highlight matches on every find

Status in Sikuli:
  Fix Committed

Bug description:
  In order to aide in the debugging of scripts, it would be helpful to
  have an option for every find/exists and similar operations execute
  the highlight operation.  Additionally, highlighting the region in a
  separate color would improve debug as well.  This would allow users to
  see what Sikuli is seeing sees during testing.

  Testing with Sikuli 1.0-RC2 on 32-bit windows.

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/905048/+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 710586] Re: X 1.0rc3: Region.text() -- known problems and needed improvements

2013-02-21 Thread RaiMan
** Tags removed: ocr
** Tags added: fkt-text

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

Title:
  X 1.0rc3: Region.text() -- known problems and needed improvements

Status in Sikuli:
  In Progress

Bug description:
  *** this report is a summary of known problems and feature
  requests

  *** recent status information after release of rc3 see comment #6

  The text recognition feature (OCR - Region.text()) together with the
  possibility to find text in an image is still experimental and under
  developement.

  This are currently reported bugs:
  bug 777660: text recognition errors with some fonts
  bug 783082: [request] want font parameters for text recognition
  bug 735434: Text extraction from Images fails in some cases on colored 
backgrounds
  bug 695616: Inconsistency in text recognition and matching, especially with 
integers-as-text!
  bug 695650: find(text).text() does not return same text
  bug 701005: text() always returns text with trailing x'200A20'
  bug 701012: text() does not return all intervening blanks, add's others
  bug 795391: [request] OCR/tesseract: allow new training sets for other 
languages and more tesseract features

  Other experienced oddities
  -- there are problems with text, that is not in english language
  -- very small and very large fonts may not work
  -- multiline text makes problems
  -- intervening/preceding/trailing grafics and symbols are tried to be 
interpreted as text

  Tip when using Region.text():
  Currently you get the best results, when the region represents only one line 
of text and only contains text (no graphics/symbols) in english language. If 
you can influence it: make the text as large as possible.

  -- additional information:
  Internally the tesseract OCR engine (http://code.google.com/p/tesseract-ocr/) 
is used.
  So their restrictions apply (e.g. minimum size of font, ...).
  Information can be found on their Wiki.

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/710586/+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 935946] Re: [request] want support for Region.text(from image file)

2013-02-21 Thread RaiMan
** Tags removed: ocr
** Tags added: fkt-text

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

Title:
  [request] want support for Region.text(from image file)

Status in Sikuli:
  In Progress

Bug description:
  Creating a request bug as a follow up of the following discussions

  1. https://answers.launchpad.net/sikuli/+question/188070.
  2. https://answers.launchpad.net/sikuli/+question/188121.

  It seems like, Region(http://sikuli.org/docx/region.html) and
  Match(http://sikuli.org/docx/match.html) always consider SCREEN to
  extract the text.

  In many scenarios (as outlined in
  https://answers.launchpad.net/sikuli/+question/188121) it would be
  required to extract text from image on file system instead of SCREEN.
  Hence creating a request-bug for Virtual Screen.

  (I've attached the examples in above questions)
  I tried this on Mac OS X Lion and Sikuli IDE Version X-1.0rc3

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/935946/+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 1028612] Re: Sikuli for Java 7 throws exception when launched in Java 7 on OS X

2013-02-21 Thread RaiMan
** Tags removed: java7
** Tags added: general

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

Title:
  Sikuli for Java 7 throws exception when launched in Java 7 on OS X

Status in Sikuli:
  Fix Committed

Bug description:
  When run with Java 6, sikuli-script.jar executes without issue. When
  same jar is executed with Java 7, exception similar to stacktrace
  below is emitted. Note that this is replicable with the jar found in
  sikuli-script-java7.zip posted to drop box, with the caveat that the
  latter does not work under Java 6 (as expected).

  OS X 10.7.4 (Build 11E53)

  java version 1.7.0_04
  Java(TM) SE Runtime Environment (build 1.7.0_04-b21)
  Java HotSpot(TM) 64-Bit Server VM (build 23.0-b21, mixed mode)

  
  java -jar ~/Downloads/sikuli-script-java7/sikuli-script.jar -i
  java.io.IOException: Unable to find library META-INF/lib/libVisionProxy.dylib 
on classpath
at 
com.wapmx.nativeutils.jniloader.DefaultJniExtractor.extractResource(DefaultJniExtractor.java:127)
at 
com.wapmx.nativeutils.jniloader.DefaultJniExtractor.extractJni(DefaultJniExtractor.java:110)
at 
com.wapmx.nativeutils.jniloader.NativeLoader.loadLibrary(NativeLoader.java:43)
at org.sikuli.script.Finder.clinit(Finder.java:33)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:264)
at org.python.core.Py.loadAndInitClass(Py.java:895)
at org.python.core.Py.findClassInternal(Py.java:830)
at org.python.core.Py.findClassEx(Py.java:881)
at 
org.python.core.packagecache.SysPackageManager.findClass(SysPackageManager.java:133)
at 
org.python.core.packagecache.PackageManager.findClass(PackageManager.java:28)
at 
org.python.core.packagecache.SysPackageManager.findClass(SysPackageManager.java:122)
at org.python.core.PyJavaPackage.__findattr_ex__(PyJavaPackage.java:137)
at org.python.core.PyObject.__findattr__(PyObject.java:863)
at org.python.core.imp.import_name(imp.java:849)
at org.python.core.imp.importName(imp.java:884)
at org.python.core.ImportFunction.__call__(__builtin__.java:1220)
at org.python.core.PyObject.__call__(PyObject.java:357)
at org.python.core.__builtin__.__import__(__builtin__.java:1173)
at org.python.core.imp.importFromAs(imp.java:978)
at org.python.core.imp.importFrom(imp.java:954)
  [...]

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1028612/+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 707383] Re: [Java] X 1.0rc3: WebDriver/Firefox: Hang in app.focus() if used before new Screen() - workaround

2013-02-21 Thread RaiMan
** Tags removed: sikuliinit
** Tags added: fkt-app

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

Title:
  [Java] X 1.0rc3: WebDriver/Firefox: Hang in app.focus() if used before
  new Screen() - workaround

Status in Sikuli:
  Fix Committed

Bug description:
  
  ** workaround
  use Screen scr = new Screen() before touching any other Sikuli features
  

  in Java code: It seems, that the class App makes problems together
  with class Screen, when used in the sequence App - Screen.

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/707383/+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 988253] Re: Mac: Error while building sikuli from source --- TIFF_LIBS not found

2013-02-21 Thread RaiMan
** Changed in: sikuli
 Assignee: RaiMan (raimund-hocke) = (unassigned)

** Changed in: sikuli
Milestone: x1.0 = None

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

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

Title:
  Mac: Error while building sikuli from source --- TIFF_LIBS not found

Status in Sikuli:
  New

Bug description:
  Hi,

  I'm trying to build from sikuli source code in Mac. I have installed
  all the pre installed softwares which were mentioned in build_mac.txt

  while running the below commands in terminal, for the command 5 mentioned 
below , CMake error is getting throned.
  ---
  -- Found Tesseract 
  NATIVE_LIBS: VisionProxy;VDictProxy;MacUtil;MacHotkeyManager
  CMake Error: The following variables are used in this project, but they are 
set to NOTFOUND.
  Please set them or make sure they are set and tested correctly in the CMake 
files:
  TIFF_LIBS
  linked by target MacHotkeyManager in directory 
/Users/admin/skl_source_code/sikuli/sikuli-script/src/main/native
  linked by target MacUtil in directory 
/Users/admin/skl_source_code/sikuli/sikuli-script/src/main/native
  linked by target VDictProxy in directory 
/Users/admin/skl_source_code/sikuli/sikuli-script/src/main/native
  linked by target VDictProxy in directory 
/Users/admin/skl_source_code/sikuli/sikuli-script/src/main/native
  linked by target VisionProxy in directory 
/Users/admin/skl_source_code/sikuli/sikuli-script/src/main/native

  -- Configuring incomplete, errors occurred!
  --

  
  1. make a build directory in sikuli-script/
mkdir sikuli-script/build

  2. generate makefiles with CMake
cd sikuli-script/build
cmake ..

  3. build sikuli-script
make

  4. make a build directory in sikuli-ide/
cd ../.. # go back to the top directory
mkdir sikuli-ide/build

  5. generate makefiles of Sikuli-IDE with CMake
cd sikuli-ide/build
cmake ..

  
  Could some one can help on how to resolve the error? and how to proceed 
further...

  
  Thanks,
  Kumar

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/988253/+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 1101171] Re: X-1.0rc3: Windows: Java_org_sikuli_script_Win32Util_openApp should use SecureZeroMemory

2013-02-21 Thread RaiMan
** Tags removed: windows-native
** Tags added: fkt-app

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

Title:
  X-1.0rc3: Windows:  Java_org_sikuli_script_Win32Util_openApp should
  use SecureZeroMemory

Status in Sikuli:
  Fix Committed

Bug description:
  In function Java_org_sikuli_script_Win32Util_openApp in file sikuli-
  script\src\main\native\Win32Util.cc, the usage of ZeroMemory  in
  conjunction with using compiler optimization, can lead to unwanted
  effects.

  For example, I experienced that the function intermittently opened an
  app in a minimized state. This started to happen on Windows 8, but not
  on other platforms.

  Now, the reason for that, can be that the struct STARTUPINFO is
  actually not all zeros. Please see article on:
  
https://www.securecoding.cert.org/confluence/display/cplusplus/MSC06-CPP.+Be+aware+of+compiler+optimization+when+dealing+with+sensitive+data

  Instead of using ZeroMemory, SecureZeroMemory should be used.

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1101171/+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 1046272] Re: App.close() fails when window title contains scandinavian characters

2013-02-21 Thread RaiMan
** Tags removed: unicode
** Tags added: fkt-app

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

Title:
  App.close() fails when window title contains scandinavian characters

Status in Sikuli:
  In Progress

Bug description:
  App.close() method fails when app instance contains scandinavian
  characters.

  Examples:
  Käyttö -- App.close(frmApp) does nothing (ie. app window stays opened). 
  Testi-- App.close(frmApp) works ok. 

  Application is opened with App.open(app_name)

  Sikuli version: Sikuli 1.0rc3 r930
  Operating system: Windows 7 64bit + SP1

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1046272/+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 907726] Re: X-1.0: Region.text(): Null pointer exception with testing frameworks --- fix proposed

2013-02-21 Thread RaiMan
** Tags removed: sikuliinit
** Tags added: fkt-text

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

Title:
  X-1.0: Region.text(): Null pointer exception with testing frameworks
  --- fix proposed

Status in Sikuli:
  In Progress

Bug description:
  In all versions of 1.0 of Sikuli on Windows and Mac a Null pointer
  exception is thrown when used within testing frameworks that implement
  their own classloader.

  Fix: Update 
https://github.com/sikuli/sikuli/blob/develop/sikuli-script/src/main/java/org/sikuli/script/ResourceExtractor.java,
 Line 17 from:
  ClassLoader cl = ClassLoader.getSystemClassLoader();
  to
  ClassLoader cl = ResourceExtractor.class.getClassLoader();

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/907726/+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 893909] Re: [error] Can't create OS Util: org.sikuli.script.Win32Util- exception is thrown whil eusing Sikuli through java

2013-02-21 Thread RaiMan
** Tags removed: sikuliinit
** Tags added: idestartup

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

Title:
  [error] Can't create OS Util: org.sikuli.script.Win32Util- exception
  is thrown whil eusing Sikuli through java

Status in Sikuli:
  Fix Committed

Bug description:
  I am running Sikuli through java, by using Sikuli-script.jar, while running 
the script i get the below exception 
  [error] Can't create OS Util: org.sikuli.script.Win32Util
  Environment: Windowd 7 (32 bit)
  Installed JDK 1.6.0.29,jre6
  JDK path, JRE path and Sikuli path are given in the system path variable.

  Issue is observed on Windows7 only and its consistent

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/893909/+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 979524] Re: Ubuntu 12: sikuli-ide crashes with Tesseract 3.0 --- language files missing ???

2013-02-21 Thread RaiMan
** Tags added: fkt-text ubuntu

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

Title:
  Ubuntu 12: sikuli-ide crashes with Tesseract 3.0 --- language files
  missing ???

Status in Sikuli:
  In Progress

Bug description:
  ** fixed in the Debian world

  *** Ubuntu 12.04 *
  --- from comment #9 (thanks Robert Campbell)
  Very happy that sikuli is working now on my Ubuntu 12.04.
  In summary, after doing the:
  sudo apt-get install sikuli-ide
  to get sikuli installed, 
  you must also do (again, Florian points this out earlier):
  sudo apt-get install tesseract-ocr-eng
  sudo apt-get install libswing-layout-java
  and wrap up with what I stated at the beginning of this:
  if there is a /tmp/sikuli directory, do: sudo rm -r /tmp/sikuli
  and wrap up with:
  sudo mkdir -p /tmp/sikuli
  sudu ln -s /usr/share/tesseract-ocr/tessdata/ /tmp/sikuli

  That's how I got sikuli to run as expected on Ubuntu 12.04.

  --

  I have default precise pangolin ubuntu install with sikuli on top of
  it. When I run sikuli-ide and try to create an script via gui, as sson
  as I am done with taking a screenshot and selecting the area to
  Click on sikluli-ide crashes. Please see log below.

  $ sikuli-ide
  [info] locale: en_US
  Error opening data file /tmp/sikuli/tessdata/eng.traineddata
  Please make sure the TESSDATA_PREFIX environment variable is set to the 
parent directory of your tessdata directory.
  Failed loading language 'eng'
  Tesseract couldn't load any languages!
  vlog 1 Input
  vlog 1 Canny
  vlog 1 AdaptiveThresholded
  vlog 1 LongLinesFound
  vlog 1 LongLinesRemoved
  vlog 1 NonEdgeRemoved
  vlog 1 blobs-extracted
  vlog 1 blobs-filtered
  vlog 1 lineblobs
  vlog 1 lineblobs-filtered
  vlog 1 lineblobs-merged
  vlog 1 paragblobs
  #
  # A fatal error has been detected by the Java Runtime Environment:
  #
  #  SIGSEGV (0xb) at pc=0x022bfb6d, pid=23685, tid=3030788928
  #
  # JRE version: 7.0_03-b147
  # Java VM: OpenJDK Client VM (22.0-b10 mixed mode, sharing linux-x86 )
  # Derivative: IcedTea7 2.1.1pre
  # Distribution: Ubuntu precise (development branch), package 
7~u3-2.1.1~pre1-1ubuntu1
  # Problematic frame:
  # C  [libtesseract.so.3+0x226b6d]  
tesseract::Classify::CharNormClassifier(TBLOB*, DENORM const, 
INT_TEMPLATES_STRUCT*, ADAPT_RESULTS*)+0x61
  #
  # Core dump written. Default location: /home/code/core or core.23685
  #
  # An error report file with more information is saved as:
  # /home/code/hs_err_pid23685.log
  #
  # If you would like to submit a bug report, please include
  # instructions on how to reproduce the bug and visit:
  #   https://bugs.launchpad.net/ubuntu/+source/openjdk-7/
  # The crash happened outside the Java Virtual Machine in native code.
  # See problematic frame for where to report the bug.
  #
  Aborted (core dumped)

  Installed packages are

  $ dpkg --list | grep sikuli
  ii  libsikuli-script-java  1.0~x~rc3.tesseract3-dfsg1-1   
Visual scripting API for jython
  ii  libsikuli-script-jni   1.0~x~rc3.tesseract3-dfsg1-1   
Native libs for libsikuli-java
  ii  sikuli-ide 1.0~x~rc3.tesseract3-dfsg1-1   
IDE to develop sikuli scripts

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/979524/+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 810754] Re: X-1.0rc3: IDE: crashes on rerun when using logging module

2013-02-21 Thread RaiMan
** Tags added: idererun

** Tags added: jython

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

Title:
  X-1.0rc3: IDE: crashes on rerun when using logging module

Status in Sikuli:
  In Progress

Bug description:
  *** Windows and Mac
  (even for rc3 and Jython 2.5.2)

  When rerunning a script in the IDE that uses the Python logging
  feature, the script terminates with ...sikuli-
  script.jar\Lib\logging\__init__.py, line 750, in emit ValueError: I/O
  operation on closed file

  Running the script from command line works, since at rerun we have a
  clean startup.

  

  I am developing a test infrastructure and want a library to setup logging to 
a file.
  In Sikuli, I created a script with the code below.  Every time I test my 
module within the IDE, the specified log file
  gets updated, but the Sikuli IDE goes away, and I have one more javaw.exe 
running on the system

  - use code below to create TestLogging.sikuli in the IDE
  - Change pathname to be valid on your host
  - Run in the IDE

  # Module to set up logging and reporting
  import os
  import logging

  TestLog = 0

  def setupLogging(path, debug = 0):
   global TestLog

   if debug:
    levelLog = logging.DEBUG
   else:
    levelLog = logging.INFO
   logging.basicConfig(filename=path,level=levelLog)
   TestLog = logging.getLogger()

  if __name__ == __main__:
   setupLogging(C:\\Users\\bgriffin.AMD\\TestLog, debug=1)

   TestLog.error(Test Error Log)
   TestLog.warning(Test Warning Log)
   TestLog.info(Test Info Log)
   TestLog.debug(Test Debug Log)

  When I import my module into a different script, I see different
  behavior in the IDE between runs.  The first run appears to work fine,
  with messages going to the IDE Message window until I configure the
  log file.  The logfile only contains my explicit messages.  After
  editing the script below to configure a different log level, I get
  error messages in the IDE message window unrelated to my script (which
  runs fine).  I have the script first, then the Message window text.

  - Create VisualStudioIDE.sikuli from the code below
  - you may need to modify sys.path depending on where you created 
TestLogging.sikuli
  - change pathnames to be valid on your host
  - Run in IDE
  - Edit script, adding , debug=1 to the setupLogging() call.
  - Run
  - DO NOT EXIT IDE IN BETWEEN RUNS

  # Start Visual Studio using command line or a solution
  import os
  from sikuli.Sikuli import *
  import subprocess
  myPath = os.path.dirname(getBundlePath())
  myParent = os.path.dirname(myPath)
  if not myPath in sys.path: sys.path.append(myPath)
  if not myParent in sys.path: sys.path.append(myParent)
  import TestLogging # name for module with above code

  VISUAL_STUDIO_IDE = C:\\Program Files (x86)\\Microsoft Visual Studio 
10.0\\Common7\\IDE\\devenv.exe
  VSApp = 0

  def startVisualStudio(solution = 0):
   global VSApp
   VSApp = App(VISUAL_STUDIO_IDE)
   VSApp.open()
   wait(10) # wait for the process to start up

   if not VSApp:
    # add logging of failure
    TestLogging.TestLog.error(Unable to start Microsoft Visual Studio)
    TestLogging.TestLog.error(Executable:  + VISUAL_STUDIO_IDE)
    return 0
   VSApp.focus( Start Page - Microsoft Visual Studio )

   if solution:
    type(o, KEY_CTRL)
    wait(2)
    type(solution)
    type(\n)

   return 1

  def closeVisualStudio():
   global VSApp
   if VSApp:
    VSApp.close()
    VSApp = 0
   else:
    TestLogging.TestLog.warning(Visual Studio not running.)

  def captureVisualStudio():
   global VSApp
   vsImage = 0
   if VSApp:
    vs = VSApp.focusedWindow()
    vsImage = capture(vs)
   else:
    TestLogging.TestLog.debug(Visual Studio not running?)
   return vsImage

  if __name__ == __main__:
   TestLogging.setupLogging(C:\\Users\\bgriffin.AMD\\TestLogVSIDE)
   status = startVisualStudio()
   wait(5)
   if status:
    TestLogging.TestLog.info(Started Visual Studio)

   myVS = captureVisualStudio()
   if myVS:
    TestLogging.TestLog.info(Image location:  + myVS)
   else:
    TestLogging.TestLog.error(No Image Captured)
   closeVisualStudio()

  [log] App.open C:\Program Files (x86)\Microsoft Visual Studio 
10.0\Common7\IDE\devenv.exe(6120)
  [log] App.focus Start Page - Microsoft Visual Studio(0) #0
  [log] App.close C:\Program Files (x86)\Microsoft Visual Studio 
10.0\Common7\IDE\devenv.exe(6120) [log] App.open C:\Program Files 
(x86)\Microsoft Visual Studio 10.0\Common7\IDE\devenv.exe(5184)
  [log] App.focus Start Page - Microsoft Visual Studio(0) #0 [log] Ctrl+TYPE o
  [log] TYPE C:\Users\bgriffin.AMD\Desktop\DataTypesVS10\DataTypesVS10.sln
  [log] TYPE  
  [log] App.close C:\Program Files (x86)\Microsoft Visual Studio 
10.0\Common7\IDE\devenv.exe(5184) [log] App.open C:\Program Files 
(x86)\Microsoft Visual Studio 10.0\Common7\IDE\devenv.exe(1696)
  [log] App.focus 

[Sikuli-driver] [Bug 803146] Re: [Request] Regular expression support of window titles

2013-02-21 Thread RaiMan
** Tags added: fkt-app

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

Title:
  [Request] Regular expression support of window titles

Status in Sikuli:
  In Progress

Bug description:
  Say I have a window title with a dynamic title that can be deduced to
  a regular expression. Is there any way to use regular expressions with
  the window title syntax. (switchApp and closeApp functions)

  ex.)  switchApp([a-z]9[0-1]a?)  or whatever.

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/803146/+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 778925] Re: [request] find/findAll to accept list of patterns

2013-02-21 Thread RaiMan
** Tags added: fkt-pattern

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

Title:
  [request] find/findAll to accept list of patterns

Status in Sikuli:
  In Progress

Bug description:
  I wonder if it is possible to create effective algorithm to search for
  multiple patterns during single scan. I know this is possible for sure
  if similarity is 1.0. Anyway, it would be nice to have this ability
  for findAll function, where you need to find a lot of different images
  in one pass. Using `for image in list_of_patterns: stack +=
  findAll(image)` is very slow.

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/778925/+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 610804] Re: Num lock turned on: KEY_SHIFT and function keys will not work

2013-02-21 Thread RaiMan
** Tags added: fkt-type

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

Title:
  Num lock turned on: KEY_SHIFT and function keys will not work

Status in Sikuli:
  In Progress

Bug description:
  Machine: Windows Xp/Windows 7
  Sikuli 0.10.1

  When Num lock is turned on, KEY_SHIFT is not working with function
  keys.

  This:
  type(Key.END, KEY_SHIFT)
  will not work.
  keyDown/keyUp neither.

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/610804/+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 682281] Re: Windows: switchApp has problems with (multiple) minimized application windows

2013-02-21 Thread RaiMan
** Tags added: fkt-app

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

Title:
  Windows: switchApp has problems with (multiple) minimized application
  windows

Status in Sikuli:
  In Progress

Bug description:
  switchApp() does not open a window when multiple instances of an
  application are minimized in Windows. Tested in Windows XP, Windows 7,
  and Server 2008 32 and 64bit.  Specifically tested with IE, Firefox,
  and Chrome.

  - It does work using Internet Explorer in Windows 7 but no other OS.  
  - It does work if the window is already expanded

  Steps to reproduce:
  - open two tabs in Internet Explorer and then minimize it
  - run something like switchApp(Internet Explorer)
  - The application will be highlighted in the task bar but no window will 
appear.  

  Performed tests in the following scenarios:
  Windows 7, Internet Explorer - PASS
  Windows 7, Firefox - FAIL
  Windows XP, Internet Explorer - FAIL
  Windows XP, Firefox - FAIL
  Windows XP, Chrome - FAIL
  Windows Server 2008 R2, Internet Explorer - FAIL
  Windows Server 2008 R2, Firefox - FAIL
  Windows Server 2008 R2, Chrome - FAIL

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/682281/+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 #120162]: Status of bug #614456 changed to 'In Progress' in Sikuli

2013-02-21 Thread RaiMan
Bug #614456 status changed in Sikuli:

Triaged = In Progress

https://bugs.launchpad.net/sikuli/+bug/614456
[request] option to lock mouse movement+click to prevent user from 
interrupting

This bug is linked to #120162.
lock up mouse(movement+click)
https://answers.launchpad.net/sikuli/+question/120162

-- 
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 512476] Re: the path to sikuli scripts can't contain non-roman characters

2013-02-21 Thread RaiMan
** Changed in: sikuli
   Importance: High = Medium

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

** Changed in: sikuli
Milestone: None = x1.0

** Tags added: filenames

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

Title:
  the path to sikuli scripts can't contain non-roman characters

Status in Sikuli:
  In Progress

Bug description:
  confirmed on Windows, Mac.
  It seems Jython doesn't treat unicode characters correctly.

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/512476/+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 832216] Re: Mac - crash in non-english enviroment

2013-02-21 Thread RaiMan
** Changed in: sikuli
   Status: Fix Committed = Fix Released

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

Title:
  Mac - crash in non-english enviroment

Status in Sikuli:
  Fix Released

Bug description:
  I'm using Mac OS X Lion in polish language. Sikuli 1.0r2 crashes at
  start with this warning:

  main: java.lang.IllegalArgumentException: can't parse argument number
  0.number

  The problem only disappears when I switch account language to english.

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/832216/+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 513312] Re: Invalid key code when : included in a string with type()

2013-02-21 Thread RaiMan
** Tags added: fkt-type

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

Title:
  Invalid key code when : included in a string with type()

Status in Sikuli:
  In Progress

Bug description:
  Trying the following code:
  type(cd C:\\temp\\\r);
  The result is:
  [sikuli] type: 'cd C:\temp\
  ' +0
  [sikuli] [Error] source lineNo: 2
  [sikuli] [Error] Traceback (innermost last):
File C:\DOCUME~1\ADMINI~1\CONFIG~1\Temp\sikuli-tmp3784144668038766078.py, 
line 2, in ?
File C:\Archivos de 
programa\Sikuli\sikuli-ide-full.jar\Lib/python/edu/mit/csail/uid/Sikuli.py, 
line 403, in type
at sun.awt.windows.WRobotPeer.keyPress(Native Method)

  at java.awt.Robot.keyPress(Unknown Source)

  at
  edu.mit.csail.uid.SikuliScript.doType(SikuliScript.java:409)

  at
  edu.mit.csail.uid.SikuliScript.doType(SikuliScript.java:410)

  at
  edu.mit.csail.uid.SikuliScript.doType(SikuliScript.java:401)

  at
  edu.mit.csail.uid.SikuliScript.type_ch(SikuliScript.java:504)

  at edu.mit.csail.uid.SikuliScript.type(SikuliScript.java:542)

  at edu.mit.csail.uid.SikuliScript.type(SikuliScript.java:390)

  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

  at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

  at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
  Source)

  at java.lang.reflect.Method.invoke(Unknown Source)

  
  java.lang.IllegalArgumentException: java.lang.IllegalArgumentException: 
Invalid key code

  I am using Windows XP (Spanish) and Sikuli latest version.

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/513312/+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 695720] Re: X-1.0rc2: with Region: and Region.click() with App().window() --- workaround

2013-02-21 Thread RaiMan
** Changed in: sikuli
 Assignee: (unassigned) = RaiMan (raimund-hocke)

** Changed in: sikuli
Milestone: x1.0-rc3 = x1.0

** Tags added: fkt-app

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

Title:
  X-1.0rc2: with Region: and Region.click() with App().window() ---
  workaround

Status in Sikuli:
  Fix Committed

Bug description:
   workaround 
  type cast to Region:
  r = Region(App(application).window())
  

  # I use Sikuli X on windows XP.
  # The Grouping Method Calls (with Region:) works when using Region()
  def Region_with():
   reg = Region(468,212, 344, 570)
   reg.highlight(2)
   with reg:
    sleep(1)

  # But fails when using App().window()
  def window_with():
   reg= App(SOMEAPP).window(0)
   reg.highlight(2)
   with reg:
    sleep(1)

  # Error Message: AttributeError: 'org.sikuli.script.Region' object has
  no attribute '__exit__'

  # Simalar problem happend on reg.click(), works for Region()
  def Region_click():
   reg = Region(468,212, 344, 570)
   reg.highlight(2)
   reg.click(image1)

  # But fails on App().window()
  def window_click():
   reg= App(SOMEAPP).window(0)
   reg.highlight(2)
   reg.click( image1)

  # Error Message: TypeError: click(): expected 2 args; got 1

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/695720/+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 #110114]: Status of bug #577610 changed to 'Fix Released' in Sikuli

2013-02-21 Thread RaiMan
Bug #577610 status changed in Sikuli:

Fix Committed = Fix Released

https://bugs.launchpad.net/sikuli/+bug/577610
capture(region) gives (partly) black images

This bug is linked to #110114.
Problem with multi monitor setup
https://answers.launchpad.net/sikuli/+question/110114

-- 
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 #125322]: Status of bug #583096 changed to 'Fix Released' in Sikuli

2013-02-21 Thread RaiMan
Bug #583096 status changed in Sikuli:

Fix Committed = Fix Released

https://bugs.launchpad.net/sikuli/+bug/583096
Data loss when running Sikuli in Windows

This bug is linked to #125322.
Consistent findfailed from IDE windows
https://answers.launchpad.net/sikuli/+question/125322

-- 
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 #182650]: Status of bug #581712 changed to 'Fix Released' in Sikuli

2013-02-21 Thread RaiMan
Bug #581712 status changed in Sikuli:

Fix Committed = Fix Released

https://bugs.launchpad.net/sikuli/+bug/581712
Unit testing in Sikuli 0.10 doesn't work

This bug is linked to #182650.
How do i get Unit tests to work properly? clicking run closes sikuli and opens 
a test window that does nothing, have to re-launch sikuli...
https://answers.launchpad.net/sikuli/+question/182650

-- 
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 #111316]: Status of bug #581712 changed to 'Fix Released' in Sikuli

2013-02-21 Thread RaiMan
Bug #581712 status changed in Sikuli:

Fix Committed = Fix Released

https://bugs.launchpad.net/sikuli/+bug/581712
Unit testing in Sikuli 0.10 doesn't work

This bug is linked to #111316.
sikuli unit test can not run
https://answers.launchpad.net/sikuli/+question/111316

-- 
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 585342] Re: [request] IDE shortcut: comment/uncomment a whole block

2013-02-21 Thread RaiMan
** Changed in: sikuli
   Status: Triaged = In Progress

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

Title:
  [request] IDE shortcut: comment/uncomment a whole block

Status in Sikuli:
  In Progress

Bug description:
  If you want to test some code actions, you often have to comment out some 
lines in your code.
  It would be very nice if there was a key kombination for commenting out a 
whole selected code block.

  I also use the Eclipse editor for programming in Java, an there is a
  feature like that.

  Maybe this feature would increase the usability of SIKULI much.

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/585342/+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 515592] Re: [request] Turn on font aliasing in Windows version

2013-02-21 Thread RaiMan
** Changed in: sikuli
   Importance: Wishlist = Low

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

** Changed in: sikuli
Milestone: None = x1.0

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

Title:
  [request] Turn on font aliasing in Windows version

Status in Sikuli:
  Fix Committed

Bug description:
  The large font of the main IDE window looks pretty nasty where
  compared to the nicely rendered fonts on your Mac samples.

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/515592/+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 711129] Re: X 1.0rc1: [Java] using setROI() a match's region is reported relative to ROI top left, not screen's top left

2013-02-21 Thread RaiMan
** Changed in: sikuli
 Assignee: (unassigned) = RaiMan (raimund-hocke)

** Changed in: sikuli
Milestone: x1.0-rc3 = x1.0

** Tags added: fkt-region

** Changed in: sikuli
   Importance: Medium = Critical

** Changed in: sikuli
   Importance: Critical = Low

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

Title:
  X 1.0rc1: [Java] using setROI() a match's region is reported relative
  to ROI top left, not screen's top left

Status in Sikuli:
  Fix Committed

Bug description:
  based on the related question (thanks topagae
  (https://launchpad.net/~topagae)), confirmed on Mac.

  To confirm, I set the ROI to the app window.
  The m.highlight only shows the expected match region, when the Safaris window 
top left is at the screens top left. In all other cases it is offset with the 
offset of the window relative to the screen.

  --- Java snippet
  Screen scr = new Screen();
  App aS = new App(Safari);
  ImageLocator.addImagePath(/Users/rhocke/Desktop);
  aS.focus();
  scr.setRect(aS.window());
  aS.window().highlight(2);
  Match m = scr.exists(wiki.png, 0);
  m.highlight(2);

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/711129/+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 511740] Re: [request] type() should work with different keymap (e.g. dvorak)

2013-02-21 Thread RaiMan
** Changed in: sikuli
 Assignee: (unassigned) = RaiMan (raimund-hocke)

** Tags added: fkt-type

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

Title:
  [request] type() should work with different keymap (e.g. dvorak)

Status in Sikuli:
  In Progress

Bug description:
  reported by gugod, Matthew Schinckel.

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/511740/+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 #140801]: Status of bug #701062 changed to 'Fix Released' in Sikuli

2013-02-21 Thread RaiMan
Bug #701062 status changed in Sikuli:

Fix Committed = Fix Released

https://bugs.launchpad.net/sikuli/+bug/701062
X 1.0rc1 Ubuntu 10.10: runs only with locale en_US

This bug is linked to #140801.
Sikuli crashes on Ubuntu 10.10 when doing a screenshot 
https://answers.launchpad.net/sikuli/+question/140801

-- 
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 #143652]: Status of bug #702797 changed to 'Fix Released' in Sikuli

2013-02-21 Thread RaiMan
Bug #702797 status changed in Sikuli:

Fix Committed = Fix Released

https://bugs.launchpad.net/sikuli/+bug/702797
X 1.0rc1: Windows 7 64 bit: Sikuli does not work - Vision engine 32Bit cannot 
be loaded

This bug is linked to #143652.
Windows 7 64 Bit: Sikuli Eclipse java.lang.UnsatisfiedLinkError with 32-Bit 
Win32Util.dll
https://answers.launchpad.net/sikuli/+question/143652

-- 
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 #143652]: Status of bug #702797 changed to 'Fix Committed' in Sikuli

2013-02-21 Thread RaiMan
Bug #702797 status changed in Sikuli:

In Progress = Fix Committed

https://bugs.launchpad.net/sikuli/+bug/702797
X 1.0rc1: Windows 7 64 bit: Sikuli does not work - Vision engine 32Bit cannot 
be loaded

This bug is linked to #143652.
Windows 7 64 Bit: Sikuli Eclipse java.lang.UnsatisfiedLinkError with 32-Bit 
Win32Util.dll
https://answers.launchpad.net/sikuli/+question/143652

-- 
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 697604] Re: [request] message concept for stdout/sterr

2013-02-21 Thread RaiMan
** Changed in: sikuli
   Importance: Wishlist = Low

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

** Changed in: sikuli
Milestone: x1.0-rc3 = x1.0

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

Title:
  [request] message concept for stdout/sterr

Status in Sikuli:
  Fix Committed

Bug description:
  Sikuli X all platforms

  Especially when running Sikuli scripts in a way, that you have access
  to stdout/stderr (e.g. using sikuli-script.jar standalone) you find
  differently styled messages.

  This is an example:
  Sikuli vision engine loaded.
  Text Recgonizer inited.
  Mac OS X utilities loaded.
  VDictProxy loaded.
  EventManager loaded.
  [safarihelpers log] imported
  PyramidTemplateMatcher: source is smaller than the target
  [log] highlight Match[4,26 61x13] score=0,72, target=center for 2.0 secs
  2011-01-05 09:34:48.682 java[35565:d07] bringWindowToFront: CocoaAppWindow: 
0x10018c230
  PyramidTemplateMatcher: source is smaller than the target
  [log] highlight Match[4,26 61x13] score=0,72, target=center for 2.0 secs
  2011-01-05 09:34:50.873 java[35565:d07] bringWindowToFront: CocoaAppWindow: 
0x1006718b0
  [debug] close all ScreenHighlighter

  The only user generated message is [safarihelpers log] imported

  proposal:
  every Sikuli generated message look like
  [sikuli type] time-stamp generating-source message

  where type signals the severity (log, debug, info, warning, error, ...) 
  time-stamp and generating-source only when needed for whatever purpose

  advantages:
  - sikuli messages could be filtered out (find messages not starting with 
[sikuli)
  - a user could adopt the systematic and have e.g. a filter for errors (e.g. 
find error messages with regex ^.*?error\])
  - even in the IDE message area it would be easier to identify simple user 
generated print output

  BTW:
  the stderr message
  PyramidTemplateMatcher: source is smaller than the target
  does not really talk to a user ;-)
  see https://answers.launchpad.net/sikuli/+question/140198

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/697604/+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 718941] Re: [request] [Java] Improved javadoc

2013-02-21 Thread RaiMan
** Changed in: sikuli
Milestone: x1.0-rc3 = x1.0

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

Title:
  [request] [Java] Improved javadoc

Status in Sikuli:
  Fix Committed

Bug description:
  *Just for the record, 
  the new Javadoc for Sikuli X has been moved to http://sikuli.org/doc/java-x/

  --

  Since I am using the Java API and I found the Javadoc a bit empty
  (http://sikuli.org/doc/java/), I wrote some javadoc comments.

  If you are interested, I will write more patches in order to improve
  the Javadoc documentation.

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/718941/+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 614456] Re: [request] option to lock mouse movement+click to prevent user from interrupting

2013-02-21 Thread RaiMan
** Changed in: sikuli
   Status: Triaged = In Progress

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

** Tags added: fkt-region

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

Title:
  [request] option to lock mouse movement+click to prevent user from
  interrupting

Status in Sikuli:
  In Progress

Bug description:
  Hallo. Sikuli is a great project and it is fun working with it but
  there is something that bothers me and I wonder why noone else ever
  asked this question bevore (at least I couldnt find something similar
  over the search function).

  Sikuli works pretty good but there is a big disadvantage making it
  pretty unstable for proper scripts: The mouse doesnt lock up when a
  script is running - so it is possible that the user will move the
  mouse during a critical period causing the whole script to crash. So
  my question is - is there a way to lock up the mouse/keyboard during
  the execution of a script so the user cannot cause trouble by moving
  the mouse or other input?

  If there is no standart for it in Sikuli - any suggestions to solve
  this matter?

  +@developers It there is no general option for that - would it be
  possible to implement one?

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/614456/+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 574951] Re: I got JNI Exception: failed to create the Java VM

2013-02-21 Thread RaiMan
** Changed in: sikuli
   Status: Fix Committed = New

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

Title:
  I got JNI Exception: failed to create the Java VM

Status in Sikuli:
  New

Bug description:
  I just upgraded to 0.10 and now Sikuli doesn't want to start.
  I got and error:

  JNI Exception: failed to create the Java VM
  Reason: not enough memory.

  I have enough memory (almost 2Go free).

  I have other application running java, like Java PS3 Media Server and it 
works perfectly ..
  I'm on Windows XP

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/574951/+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 577610] Re: capture(region) gives (partly) black images

2013-02-21 Thread RaiMan
** Changed in: sikuli
   Status: Fix Committed = Fix Released

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

Title:
  capture(region) gives (partly) black images

Status in Sikuli:
  Fix Released

Bug description:
  All of my temporary screen captures in the c:\...\temp folder are
  black rectangles. Every capture that is manually done is saved
  correctly in the project folder, but find() functions performed on
  dynamic capture() calls all fail because the temp captures are all
  just blank, black screens.

  I've been using print capture([region]) to get file names and when I
  check them, they turn up as black rectangles unless the region
  contains all or most of the region containing the sikuli IDE. If the
  region contains less than about half of the sikuli IDE, it is a black
  rectangle. If it contains only a portion of the sikuli IDE, then it is
  partially black and sometimes partially populated with a screenspace
  other than the intended region. if the region contains the entire
  sikuli IDE the screenshot is captured correctly and contains no areas
  of blackness.

  Setup info:
  -most recent sikuli release (downloaded a few days ago)
  -Win 7 ultimate 64-bit. 
  -Sikuli has full permissions and is being run in admin mode. 
  -tried running in compatibility for XP and Vista (most recent service packs). 
  -using an nVidia 8600GTS and have the most recent drivers. 
  -resolution is set to 1680x1050.

  The issue here seems to be similar to what was reported in
  https://answers.launchpad.net/sikuli/+question/105160

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/577610/+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 581712] Re: Unit testing in Sikuli 0.10 doesn't work

2013-02-21 Thread RaiMan
** Changed in: sikuli
   Status: Fix Committed = Fix Released

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

Title:
  Unit testing in Sikuli 0.10 doesn't work

Status in Sikuli:
  Fix Released

Bug description:
  Hello,
  I couldn't run any unit tests either in the window xp?
  The IDE is functional. I write the simple example unit test script in the 
editor, as follow:

  def testHelloWorld(self):
 print(Hello World!)

  but no test shows up in the unit test window. When clicking the Run
  button of the Unit test pane, nothing happens, and the IDE window
  dissappears, there is no way to get back to it other than restarting
  the IDE.

  It had stucked me for several days, that would be preciate if anyone
  can help me solve this problem!

  Thank you very much.
   
  Janet

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/581712/+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 574249] Re: Sikuli IDE 0.10 doesn't start on Win XP (fr)

2013-02-21 Thread RaiMan
** Changed in: sikuli
   Status: Fix Committed = New

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

Title:
  Sikuli IDE 0.10 doesn't start on Win XP (fr)

Status in Sikuli:
  New

Bug description:
  Hi all,

   When i try to start Sikuli IDE 0.10 preview on Windows XP 32 bit
  (fr), i obtain the error message below. If I try with the batch script
  I have the same error :

  java.lang.ExceptionInInitializerError
at edu.mit.csail.uid.SikuliIDE._I(SikuliIDE.java:52)
at edu.mit.csail.uid.SikuliIDE.init(SikuliIDE.java:38)
at edu.mit.csail.uid.SikuliIDE.getInstance(SikuliIDE.java:85)
at edu.mit.csail.uid.SikuliIDE.main(SikuliIDE.java:601)
  Caused by: java.util.MissingResourceException: Can't find bundle for base 
name i18n/IDE, locale fr_FR
at 
java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:1521)
at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:1260)
at java.util.ResourceBundle.getBundle(ResourceBundle.java:787)
at edu.mit.csail.uid.I18N.clinit(I18N.java:15)
... 4 more

  I suppose that the program can't find french resources, however It
  should get English resources instead of french resources in this case.

  Best regards
  Stephane

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/574249/+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 570248] Re: Screenshots in the script are no longer found after saving with save as...

2013-02-21 Thread RaiMan
** Changed in: sikuli
   Importance: Undecided = Low

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

** Changed in: sikuli
Milestone: None = x1.0

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

Title:
  Screenshots in the script are no longer found after saving with save
  as...

Status in Sikuli:
  Fix Committed

Bug description:
  Sikuli Version 0.9.9
  Windows XP 32-bit
  Java 1.6.0_20

  This is the script I used:
  openApp(calc)
  # For the Windows calculator
  type(12)
  click() 
  # click on the screenshot of + with 82% similarity
  type(13)
  click()
  # click on the picture of = with 82% similarity

  That's the whole script.
  It works well until I want to save it with save as...
  After saving it with save as... the screenshots i have taken are no longer 
recognized from SIKULI. I have tried to take new ones, but they are not 
recognized too. i turned the sinilarity down to 1% but nothing was found.

  After that i tried to proceed the same script in an unsaved File, and
  it works. After saving this new one with save as... the same
  happened as I described above.

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/570248/+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 516255] Re: changing bundle name shows no data in ide

2013-02-21 Thread RaiMan
** Changed in: sikuli
   Importance: Undecided = Low

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

** Changed in: sikuli
Milestone: x1.0-rc3 = x1.0

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

Title:
  changing bundle name shows no data in ide

Status in Sikuli:
  Fix Committed

Bug description:
  Sikuli-IDE 0.9.8
  Mac OS 10.6.x or 10.5.x 32-bit

  ISSUE:

  After saving the sikuli source if the bundle name is changed it opens
  in the IDE with no contents.

  REPLICATION:

  1. save a Sikuli source file as foo.sikuli
  2. rename foo.sikuli to bar.sikuli
  3. open bar.sikuli in Sikuli-IDE
  4. quit Sikuli-IDE
  5. rename bar.sikuli to foo.sikuli
  6. open foo.sikuli

  WORKAROUND:

  Performing a Show Package Contents on the *.sikuli bundle and
  setting the name to match the *.py and *.html files within the bundle
  rectifies the issue

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/516255/+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 516233] Re: openApp appears to do nothing in OS X 10.5

2013-02-21 Thread RaiMan
** Changed in: sikuli
   Status: Fix Committed = New

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

Title:
  openApp appears to do nothing in OS X 10.5

Status in Sikuli:
  New

Bug description:
  Sikuli 0.9.8.

  Neither of these simple scripts appears to actually open the
  Calculator app:

  openApp(Calculator.app)
  openApp(/Applications/Calculator.app)

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/516233/+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 701423] Re: X 1.0rc1 Windows: similar(1.00) in Pattern Setting dialog: match not shown

2013-02-21 Thread RaiMan
** Changed in: sikuli
   Importance: Undecided = Low

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

** Changed in: sikuli
Milestone: x1.0-rc3 = x1.0

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

Title:
  X 1.0rc1 Windows: similar(1.00) in Pattern Setting dialog: match not
  shown

Status in Sikuli:
  Fix Committed

Bug description:
  description in related question

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/701423/+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 701062] Re: X 1.0rc1 Ubuntu 10.10: runs only with locale en_US

2013-02-21 Thread RaiMan
** Changed in: sikuli
   Status: Fix Committed = Fix Released

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

Title:
  X 1.0rc1 Ubuntu 10.10: runs only with locale en_US

Status in Sikuli:
  Fix Released

Bug description:
  using locale de_DE crashes:

  Error: Illegal min or max specification!
  Fatal error: No error trap defined!
  Signal_termination_handler called with signal 5002

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/701062/+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 694181] Re: X 1.0rc1 text() is not included in the IDE reserve word

2013-02-21 Thread RaiMan
** Changed in: sikuli
   Importance: Undecided = Medium

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

** Changed in: sikuli
Milestone: x1.0-rc2 = x1.0

** Tags added: editor

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

Title:
  X 1.0rc1 text() is not included in the IDE reserve word

Status in Sikuli:
  Fix Committed

Bug description:
  1. The version of Sikuli you were using.
  X 1.0rc1

  text is not included in the IDE reserve word thus it's not highlighted by the 
IDE.
  General consistency

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/694181/+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 697355] Re: X 1.0rc1 Windows: second import corrupts image search path - workaround

2013-02-21 Thread RaiMan
** Changed in: sikuli
 Assignee: (unassigned) = RaiMan (raimund-hocke)

** Changed in: sikuli
Milestone: x1.0-rc2 = x1.0

** Changed in: sikuli
   Importance: Undecided = Low

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

Title:
  X 1.0rc1 Windows: second import corrupts image search path -
  workaround

Status in Sikuli:
  Fix Committed

Bug description:
  ** this happens
  --- only one import works fine
  --- after adding another import, things contained in first import make 
problems now and things from second import do not function at all

   see workaround below

  Hi,

  Sikuli-X provides the way to import another Sikuli script and image library 
into the main sikuli script. It only works on 1 image library importing.
  What if I want to import multiple  image libraries into the same sikuli 
script?

  I've tried to do that, it won't work on the 2nd import, even it didn't
  complain anything. It just couldn't find the image and will time out.

  I've tried to print out the image search path by getImagePath(), it
  looks like this, does it look right to you?

  array(java.lang.String,
  
[u'C:\\GUITest\\GUITest.sikuli\\objectData/imgs.sikuli:C:\\GUITest\\GUITest.sikuli\\projects\\DesktopDirector\\objectData/imgs_desktopDirector.sikuli\\'])

  the 2nd imported images will not be recognized by Sikuli. But if I
  removed the 1st import, the 2nd import will work fine.

  I'm using these codes to import the images from 2 libraries

  projectImgsLabPath1=C:\\GUITest\\GUITest.sikuli\\objectData
  if not projectImgsLabPath1 in sys.path: sys.path.append(projectImgsLabPath1)
  from imgs import *

  
projectImgsLabPath2=C:\\GUITest\\GUITest.sikuli\\projects\\DesktopDirector\\objectData
  if not projectImgsLabPath2 in sys.path: sys.path.append(projectImgsLabPath2)
  from imgs_desktopDirector import *

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/697355/+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 599528] Re: delay before capture setting not honored by auto capture

2013-02-21 Thread RaiMan
** Changed in: sikuli
   Status: Fix Committed = Fix Released

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

Title:
  delay before capture setting not honored by auto capture

Status in Sikuli:
  Fix Released

Bug description:
  Preferences - Screen Capturing offers a Delay before capture setting, but 
this number is apparently not used by auto capturing and when using the capture 
hotkey.
  --
  Sikuli 0.10.1
  32-bit Ubuntu 10.04 
  Mac 10.6
  Win7-32

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/599528/+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


  1   2   3   4   >