← Back to team overview

sikuli-driver team mailing list archive

[Bug 1872924] Re: py file from Lib folder parallel to sikuli.jar does not get auto imported in Sikuli 2.0.x

 

Your are right, auto imported means putting additional folder on sys.path. My solution does that only.
Following is folder structure that works with 1.1.1

- Tools
     -Lib
          +mypaths.sikuli
     +runsikulix.cmd
     +sikuli.jar


following is code in any test.sikuli
-------------
import mypaths
.
.
.


Above code works with sikuli 1.1.1, bot not with sikuli 2.0.x

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

Title:
  py file from Lib folder parallel to sikuli.jar does not get auto
  imported in Sikuli 2.0.x

Status in Sikuli:
  New

Bug description:
  In SikuliX 1.1.1 -  all the py files, .sikuli file from Lib folder
  parallel to sikuli.jar gets auto imported when we launch sikuli IDE.

  In SikuliX 2.0.x version this behavior is no more present, causing
  regression. .sikuli and .py files are no more get auto imported.

  This change is causing errors in migration of script from SikuliX
  1.1.1 to SikuliX 2.0.x.

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


References