Can't run Sikuli from a directory with a space in the name

Bug #851040 reported by Ben Lau
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
SikuliX
Fix Released
Critical
RaiMan

Bug Description

I ran across this while setting up a cluster for running Sikuli scripts. I'm using Jenkins as a build queue for running automated tests against my application in a cluster of Mac minis. Instead of trying to keep all of the machines up to date I've opted to have them download the various software components they need from a server. Since the job that I've created had a space in the name I was getting the following error when trying to run Sikuli:

/jenkins/workspace/textPlus iOS testing/Sikuli-IDE.app/sikuli-ide.sh: line 4: ./Contents/MacOS/JavaApplicationStub: No such file or directory

I had this problem with rc3 (and also encountered it with the version from SVN about 2 days ago). The fix was pretty simple... the references to $0 in the sikuli-ide.sh needed to be quoted instead of bare. I've attached a patch with a fix. I've tested the fix on Mac OS X... I haven't tested it on Linux... but the fix would be the same and I suspect the bug would exist in the same form.

Tags: filenames
Revision history for this message
Ben Lau (benjamin-a-lau) wrote :
RaiMan (raimund-hocke)
Changed in sikuli:
status: New → Fix Committed
assignee: nobody → RaiMan (raimund-hocke)
milestone: none → x1.0
RaiMan (raimund-hocke)
tags: added: filenames
RaiMan (raimund-hocke)
Changed in sikuli:
importance: Undecided → High
RaiMan (raimund-hocke)
Changed in sikuli:
importance: High → Critical
RaiMan (raimund-hocke)
Changed in sikuli:
status: Fix Committed → Fix Released
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.