← Back to team overview

sikuli-driver team mailing list archive

[Bug 949808] Re: [request] Ubuntu 12.04: Sikuli should work with OpenCV 2.3

 

Though this solution works, sikuli will abort the program some times when trying to find a string from screen or invoke text() method for the screen:
------------------------------------------------------------------------------
[log] RIGHT CLICK on (1120,835)
Using substitute bounding box at (31,0)->(71,16)
java: unicharset.cpp:76: const UNICHAR_ID UNICHARSET::unichar_to_id(const char*, int) const: Assertion `ids.contains(unichar_repr, length)' failed.
/home/tiddy/bin/jython: line 263: 11795 Aborted                 (core dumped) "${JAVA_CMD[@]}" $JAVA_OPTS "${java_args[@]}" -Dpython.home="$JYTHON_HOME" -Dpython.executable="$PRG" org.python.util.jython $JYTHON_OPTS "$@"

------------------------------------------------------------------------------

BTW, after the error, I cannot type via keyboard in the Terminal, and
also failed to paste text in the Terminal. I have to close the current
Terminal to restart.

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

Title:
  [request] Ubuntu 12.04: Sikuli should work with OpenCV 2.3

Status in Sikuli:
  New

Bug description:
  Failed to import the module sikuli.Sikuli in jython in Ubuntu 12.04,
  it seems that it depends on opencv2.1 however opencv2.3 is installed
  in Ubuntu 12.04.

  Error:
   File "/home/administrator/Linux/lib/clientgui.py", line 4, in <module>
      from sikuli_utils import *
    File "/home/administrator/Linux/lib/sikuli_utils.py", line 6, in <module>
      from sikuli.Sikuli import *
    File "/home/administrator/Linux/lib/sikuli_utils.py", line 6, in <module>
      from sikuli.Sikuli import *
    File "/home/administrator/Linux/lib/libsikuli/sikuli/__init__.py", line 1, in <module>
      from Sikuli import *
    File "/home/administrator/Linux/lib/libsikuli/sikuli/Sikuli.py", line 20, in <module>
      from org.sikuli.script import Finder
  java.lang.UnsatisfiedLinkError: /tmp/tmplib/libVisionProxy.so: libml.so.2.1: cannot open shared object file: No such file or directory
   at java.lang.ClassLoader$NativeLibrary.load(Native Method)
   at java.lang.ClassLoader.loadLibrary0(Unknown Source)
   at java.lang.ClassLoader.loadLibrary(Unknown Source)
   at java.lang.Runtime.load0(Unknown Source)
   at java.lang.System.load(Unknown Source)
   at com.wapmx.nativeutils.jniloader.NativeLoader.loadLibrary(NativeLoader.java:44)
   at org.sikuli.script.Finder.<clinit>(Finder.java:28)

  ........ and more stuff

  java.lang.UnsatisfiedLinkError: java.lang.UnsatisfiedLinkError:
  /tmp/tmplib/libVisionProxy.so: libml.so.2.1: cannot open shared object
  file: No such file or directory File

  Installed Packages can be found in the attachment "packages.txt".

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


References