← Back to team overview

sikuli-driver team mailing list archive

[Bug 1251155] [NEW] [1.0.1] type(Key.MINUS) return an error

 

Public bug reported:

Hello.

-- System -------------------------------
 - Windows7 - 32 bits
 - Sikuli : 1.0.1
- Java : 1.7.40

-- Problem ------------------------------
type(Key.MINUS) doesn't work and return a java.lang.IllegalArgumentException
type(" - ") is doing the same.

-- Code ---------------------------------
# -*-coding:Utf-8 -*
print "Hello"
type("abc" + Key.MINUS)
print "Goodbye"

-- display ------------------------------
Hello
[log] TYPE "abc#NSUB."
[error] script [ test_key_min ] stopped with error in line 3
[error] java.lang.IllegalArgumentException ( java.lang.IllegalArgumentException: Invalid key code )

Regards.

** Affects: sikuli
     Importance: Undecided
         Status: New

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

Title:
  [1.0.1] type(Key.MINUS) return an error

Status in Sikuli:
  New

Bug description:
  Hello.

  -- System -------------------------------
   - Windows7 - 32 bits
   - Sikuli : 1.0.1
  - Java : 1.7.40

  -- Problem ------------------------------
  type(Key.MINUS) doesn't work and return a java.lang.IllegalArgumentException
  type(" - ") is doing the same.

  -- Code ---------------------------------
  # -*-coding:Utf-8 -*
  print "Hello"
  type("abc" + Key.MINUS)
  print "Goodbye"

  -- display ------------------------------
  Hello
  [log] TYPE "abc#NSUB."
  [error] script [ test_key_min ] stopped with error in line 3
  [error] java.lang.IllegalArgumentException ( java.lang.IllegalArgumentException: Invalid key code )

  Regards.

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


Follow ups

References