sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #41149
[Bug 1654410] [NEW] runIDE script crashed on Ubuntu-16.04 due to LibVisionProxy error
Public bug reported:
Hi,
I was trying to run a test script from runIDE where it clicked to find the image on the screen, the script crashed all the time due to the following error:
"
ng SikuliX-IDE: -Xmx512M -Dapple.laf.useScreenMenuBar -Dfile.encoding=UTF-8 -Dsikuli.FromCommandLine
-jar ./sikuli-ide.jar -d 3 -c
[debug] Running on Java 7 (1.7.0_75-b13)
[debug] --- Sikuli parameters ---
[debug] 1: -d
[debug] 2: 3
[debug] 3: -c
[debug] init user preferences
[debug] locale: en_US
[debug] ResourceLoaderBasic: SikuliX Package Build: 1.0.1 12SEP2013160242
[debug] ResourceLoaderBasic: check: we are running on arch: amd64
[debug] ResourceLoaderBasic: check: using Java at: /usr/local/java/jdk1.7.0_75/jre/
[debug] ResourceLoaderBasic: check: Exists libs folder at location of jar? NO: /home/sikulix/
[debug] ResourceLoaderBasic: check: Exists libs folder in user home folder? NO: /home/wyse/SikuliX/libs
[debug] ResourceLoaderBasic: check: Exists libs folder in working folder or its parent? NO: /home/sikulix
[error] ResourceLoaderBasic: check: No valid libs path available until now!
[action] ResourceLoaderBasic: check: Please wait! Trying to extract libs to jar parent folder: /home/sikulix/
[debug] ResourceLoaderBasic: extractLibs: Accessing jar: file:/home/sikulix/sikuli-ide.jar
[debug] ResourceLoaderBasic: extractLibs: Found 3 Files in META-INF/libs/linux/libs64/
[debug] ResourceLoaderBasic: export: Trying to access package
[debug] ResourceLoaderBasic: export: Accessing jar: file:/home/sikulix/sikuli-ide.jar
[debug] ResourceLoaderBasic: export: Found 0 Files in META-INF/libs/tessdata
[debug] ResourceLoaderBasic: checkLibsDir: /home/sikulix/libs
[debug] ResourceLoaderBasic: loadLib: JXGrabKey
[debug] ResourceLoaderBasic: loadLib: Found: JXGrabKey
[debug] ResourceLoaderBasic: loadLib: Now loaded: JXGrabKey
[debug] ResourceLoaderBasic: checkLibsDir: Using libs at: /home/sikulix/libs
[debug] Screen: initScreens: basic initialization (1 Screen(s) found)
[debug] *** monitor configuration (primary: 0) ***
[debug] Screen 0: S(0)[0,0 1920x1200]
[debug] *** end monitor configuration ***
[debug] [I18N] menuShowThumbs
[debug] ResourceLoaderBasic: loadLib: Is already loaded: JXGrabKey
[debug] Sikuli-IDE startup: 3583
[debug] QuickCapture
[debug] Screen.capture: java.awt.Rectangle[x=0,y=0,width=1920,height=1200]
[debug] RobotDesktop: captureScreen: on 0 using java.awt.Rectangle[x=0,y=0,width=1920,height=1200]
[debug] CapturePrompt: Select an image
[debug] ScreenUnion: getIdFromPoint: (77, 558) as (77, 558) in (0, 0, 1920, 1200) on 0
[debug] CapturePrompt: started at (77,558) as L(77,558) on 0
[debug] CapturePrompt: finished at (194,596) as L(194,596) on 0
[debug] FileManager: tempdir create: /tmp/wyse/tmp--160207938.sikuli
[debug] CapturePrompt.close: freeing resources
[debug] captureCompleted: /tmp/wyse/tmp--160207938.sikuli/1483638171322.png
[debug] FileManager: tempfile create: /tmp/sikuli-7318462422268168553.png
[debug] open Pattern Settings
[debug] ScreenUnion: capture: java.awt.Rectangle[x=0,y=0,width=1920,height=1200]
[debug] Screen.capture: java.awt.Rectangle[x=0,y=0,width=1920,height=1200]
[debug] RobotDesktop: captureScreen: on 0 using java.awt.Rectangle[x=0,y=0,width=1920,height=1200]
[debug] ImageButton.getFilename: /tmp/wyse/tmp--160207938.sikuli /tmp/wyse/tmp--160207938.sikuli/
[debug] FileManager: tempfile create: /tmp/sikuli-6602320221856344658.png
[debug] ImageButton.getFilename: /tmp/wyse/tmp--160207938.sikuli /tmp/wyse/tmp--160207938.sikuli/
[debug] FileManager: tempfile create: /tmp/sikuli-2634489379259794761.png
[debug] ImageButton.getFilename: /tmp/wyse/tmp--160207938.sikuli /tmp/wyse/tmp--160207938.sikuli/
[debug] FileManager: tempfile create: /tmp/sikuli-3315582410123496241.png
[debug] PatternPaneTargetOffset: new target: 0,0
[debug] ResourceLoaderBasic: loadLib: VisionProxy
[debug] ResourceLoaderBasic: loadLib: Found: VisionProxy
[debug] ResourceLoaderBasic: loadLib: Now loaded: VisionProxy
/usr/local/java/jdk1.7.0_75/bin/java: symbol lookup error: /home/sikulix/libs/libVisionProxy.so: undefined symbol: _ZN2cv6imreadERKSsi
wyse@ubuntu16:/home/sikulix$
"
I deleted the "Libs" folder in SikuliX home folder and restarted runIDE, but it didn't help. This runIDE script and the same Sikuli test environment below works fine on Ubutu-14.04. Please let me know how to resolve this LibVisionProxy issue on my Ubutu-16.04.
My Sikuli Env:
===========
-Sikuli IDE: 1.01.
-Ubuntu: 16.04.1 LTS x64
-Java: 1.7.0-75
-Python: 2.7.12
-LibOpenCV: 2.4.9
Thanks,
ph
** 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/1654410
Title:
runIDE script crashed on Ubuntu-16.04 due to LibVisionProxy error
Status in Sikuli:
New
Bug description:
Hi,
I was trying to run a test script from runIDE where it clicked to find the image on the screen, the script crashed all the time due to the following error:
"
ng SikuliX-IDE: -Xmx512M -Dapple.laf.useScreenMenuBar -Dfile.encoding=UTF-8 -Dsikuli.FromCommandLine
-jar ./sikuli-ide.jar -d 3 -c
[debug] Running on Java 7 (1.7.0_75-b13)
[debug] --- Sikuli parameters ---
[debug] 1: -d
[debug] 2: 3
[debug] 3: -c
[debug] init user preferences
[debug] locale: en_US
[debug] ResourceLoaderBasic: SikuliX Package Build: 1.0.1 12SEP2013160242
[debug] ResourceLoaderBasic: check: we are running on arch: amd64
[debug] ResourceLoaderBasic: check: using Java at: /usr/local/java/jdk1.7.0_75/jre/
[debug] ResourceLoaderBasic: check: Exists libs folder at location of jar? NO: /home/sikulix/
[debug] ResourceLoaderBasic: check: Exists libs folder in user home folder? NO: /home/wyse/SikuliX/libs
[debug] ResourceLoaderBasic: check: Exists libs folder in working folder or its parent? NO: /home/sikulix
[error] ResourceLoaderBasic: check: No valid libs path available until now!
[action] ResourceLoaderBasic: check: Please wait! Trying to extract libs to jar parent folder: /home/sikulix/
[debug] ResourceLoaderBasic: extractLibs: Accessing jar: file:/home/sikulix/sikuli-ide.jar
[debug] ResourceLoaderBasic: extractLibs: Found 3 Files in META-INF/libs/linux/libs64/
[debug] ResourceLoaderBasic: export: Trying to access package
[debug] ResourceLoaderBasic: export: Accessing jar: file:/home/sikulix/sikuli-ide.jar
[debug] ResourceLoaderBasic: export: Found 0 Files in META-INF/libs/tessdata
[debug] ResourceLoaderBasic: checkLibsDir: /home/sikulix/libs
[debug] ResourceLoaderBasic: loadLib: JXGrabKey
[debug] ResourceLoaderBasic: loadLib: Found: JXGrabKey
[debug] ResourceLoaderBasic: loadLib: Now loaded: JXGrabKey
[debug] ResourceLoaderBasic: checkLibsDir: Using libs at: /home/sikulix/libs
[debug] Screen: initScreens: basic initialization (1 Screen(s) found)
[debug] *** monitor configuration (primary: 0) ***
[debug] Screen 0: S(0)[0,0 1920x1200]
[debug] *** end monitor configuration ***
[debug] [I18N] menuShowThumbs
[debug] ResourceLoaderBasic: loadLib: Is already loaded: JXGrabKey
[debug] Sikuli-IDE startup: 3583
[debug] QuickCapture
[debug] Screen.capture: java.awt.Rectangle[x=0,y=0,width=1920,height=1200]
[debug] RobotDesktop: captureScreen: on 0 using java.awt.Rectangle[x=0,y=0,width=1920,height=1200]
[debug] CapturePrompt: Select an image
[debug] ScreenUnion: getIdFromPoint: (77, 558) as (77, 558) in (0, 0, 1920, 1200) on 0
[debug] CapturePrompt: started at (77,558) as L(77,558) on 0
[debug] CapturePrompt: finished at (194,596) as L(194,596) on 0
[debug] FileManager: tempdir create: /tmp/wyse/tmp--160207938.sikuli
[debug] CapturePrompt.close: freeing resources
[debug] captureCompleted: /tmp/wyse/tmp--160207938.sikuli/1483638171322.png
[debug] FileManager: tempfile create: /tmp/sikuli-7318462422268168553.png
[debug] open Pattern Settings
[debug] ScreenUnion: capture: java.awt.Rectangle[x=0,y=0,width=1920,height=1200]
[debug] Screen.capture: java.awt.Rectangle[x=0,y=0,width=1920,height=1200]
[debug] RobotDesktop: captureScreen: on 0 using java.awt.Rectangle[x=0,y=0,width=1920,height=1200]
[debug] ImageButton.getFilename: /tmp/wyse/tmp--160207938.sikuli /tmp/wyse/tmp--160207938.sikuli/
[debug] FileManager: tempfile create: /tmp/sikuli-6602320221856344658.png
[debug] ImageButton.getFilename: /tmp/wyse/tmp--160207938.sikuli /tmp/wyse/tmp--160207938.sikuli/
[debug] FileManager: tempfile create: /tmp/sikuli-2634489379259794761.png
[debug] ImageButton.getFilename: /tmp/wyse/tmp--160207938.sikuli /tmp/wyse/tmp--160207938.sikuli/
[debug] FileManager: tempfile create: /tmp/sikuli-3315582410123496241.png
[debug] PatternPaneTargetOffset: new target: 0,0
[debug] ResourceLoaderBasic: loadLib: VisionProxy
[debug] ResourceLoaderBasic: loadLib: Found: VisionProxy
[debug] ResourceLoaderBasic: loadLib: Now loaded: VisionProxy
/usr/local/java/jdk1.7.0_75/bin/java: symbol lookup error: /home/sikulix/libs/libVisionProxy.so: undefined symbol: _ZN2cv6imreadERKSsi
wyse@ubuntu16:/home/sikulix$
"
I deleted the "Libs" folder in SikuliX home folder and restarted runIDE, but it didn't help. This runIDE script and the same Sikuli test environment below works fine on Ubutu-14.04. Please let me know how to resolve this LibVisionProxy issue on my Ubutu-16.04.
My Sikuli Env:
===========
-Sikuli IDE: 1.01.
-Ubuntu: 16.04.1 LTS x64
-Java: 1.7.0-75
-Python: 2.7.12
-LibOpenCV: 2.4.9
Thanks,
ph
To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1654410/+subscriptions
Follow ups