← Back to team overview

sikuli-driver team mailing list archive

[Bug 851040] Re: Can't run Sikuli from a directory with a space in the name

 

** Tags added: filenames

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

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

Status in Sikuli:
  Fix Committed

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.

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


References