[1.0.1] Sikuli IDE Crash on Ubuntu for any run -- wmctrl available not checked

Bug #1262751 reported by Brian Brown
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
SikuliX
In Progress
Low
RaiMan

Bug Description

I did the following:
Start the IDE
Create a new script
Add one line:
      App("Google Chrome").focus()

Hit Run.

Result is a crash. I have scripts I have previously developed, and anytime I hit Run, I get a crash.

Linux isig 3.11.0-15-generic #23-Ubuntu SMP Mon Dec 9 18:16:27 UTC 2013 i686 i686 i686 GNU/Linux

Distributor ID: Ubuntu
Description: Ubuntu 13.10
Release: 13.10
Codename: saucy

This is actually the XUbuntu distribution running xfce 4.10

Revision history for this message
Brian Brown (brizn) wrote :
Revision history for this message
Brian Brown (brizn) wrote :

I was able to get the new libVisionProxy.so compiled and installed, now the error has changed in the log, but it still crashes.

Revision history for this message
Brian Brown (brizn) wrote :

If I run ./runIDE from the directory Sikuli is installed in then everything works - Scripts are working (once I installed wmctrl on the machine). So this may just be a documentation error, and I can close if you like.

Revision history for this message
RaiMan (raimund-hocke) wrote :

-- Did you use the supplemental Linux package to build libVisionProxy.so? If yes, did it work without modifications (after having setup OpenCV and Tesseract)?

generally the Sikuli stuff should stay in the setup folder and then using
<path-to-sikuli-setup-folder>/runIDE
should work too.

-- So this may just be a documentation error,
Do you mean the missing hint "make sure that wmctrl is installed on your system"?

Or what other doc changes do you think are necessary?

Changed in sikuli:
status: New → In Progress
importance: Undecided → Low
assignee: nobody → RaiMan (raimund-hocke)
Revision history for this message
Brian Brown (brizn) wrote :

Yes, I used the the supplemental libVisionProxy package and followed the steps in the README, It failed to compile the first time I tried it, but after I reinstalled the OpenCV and Tesseract packages via apt, it compiled.

The problem seems related to a pathing issue - I don't have the runIDE script in my path, so if I run it from my home directory like:
 ~> Apps/SikuliX/runIDE

The UI comes up and I can edit scripts, but Sikuli crashes anytime I try to run anything. If I cd into the Apps/SikuliX directory and invoke runIDE, then everything works fine.

If I invoke runIDE with an absolute path from outside the SikuliX directory, it also crashes on run.

So the documentation I was talking about was related to invoking the runIDE script.

 I don't know if there is a hint about wmctrl or not, but I didn't see one. If that is missing, it would be a good thing to add as well.

RaiMan (raimund-hocke)
summary: - Sikuli IDE Crash on Ubuntu for any run
+ [1.0.1] Sikuli IDE Crash on Ubuntu for any run -- wmctrl available not
+ checked
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.