← Back to team overview

sikuli-driver team mailing list archive

[Bug 1183286] Re: [1.0 tempfix] Windows: possible problems when using a folder name with blanks as Sikuli home

 

** Changed in: sikuli
       Status: Confirmed => Fix Committed

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

Title:
  [1.0 tempfix] Windows: possible problems when using a folder name with
  blanks as Sikuli home

Status in Sikuli:
  Fix Committed

Bug description:
  *** the problem

  - there is an existing and working RC3 installation on Windows in C:\Program Files\Sikuli X
  - the content of this folder is replaced with the stuff from Sikuli 1.0.0
  - the standard usage works fine, but using Jython scripting in Eclipse
     (which works with the RC3 setup) produces the error:
     ... Native library could not be extracted ...

  *** the workaround

  Just add in Eclipse -> Run -> Run Configurations -> Arguments the VM
  argument

  -Dsikuli.Home="C:\Program Files\Sikuli X"

  more information: 
  https://github.com/RaiMan/SikuliX-API/wiki/Usage-in-Java-programming

  *** temporary fix: see Sikuli-1.0.0-SupplementalStuff on download page

  -----------------------------------------------------------------------------
  **** I am using Eclipse IDE with Jython interpretor ****

  I downloaded the libraries for the new IDE version Windows 32 bit this
  morning.

  1) I renamed all the previous version of Sikuli installation to Sikuli Y.
  2) Copied the new libraries to program files and named Sikuli X.
  3) Copied the new libraries to C:/Jython v/Lib/Site packages/Sikuli X

  When I try running the tests I am getting the below error

  *sys-package-mgr*: processing modified jar, 'C:\Program Files\Sikuli X\sikuli-script.jar'
  [error] org.sikuli.script.FileManager.loadLibrary: Native library could not be extracted nor found: VisionProxy

  I can see the VisionProxy.dll inside the lib folder. The folder structure seems to be same as previous version.
  I also tried the same steps using API version Windows 32 bit and get the same error. I have made no changes to environment variables as it is not required I guess.

  Apart from above, I would like to know why we copy Sikuli X into site
  packages folder in Jython lib.

  I checked the readme.txt and this issue is mentioned :-) but libs and
  sikuli and scripts are in the same directory

  C:/Program files/Sikuli X/Sikuli-script.jar
  C:/Program files/Sikuli X/libs/

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


References