I confirm that the issue is fixed in SikuliX 1.1.0 (2015-05-21)

Printing:
D:/Sikuli/CP2D.N/trytest.sikuli
True
D:/Sikuli/CP2D.N
True

Thank you, Raimund!

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

Title:
  [1.1.0] Jython: Windows: getBundlePath: Leading slash in paths not
  accepted --- fixed 2015-05-21+

Status in Sikuli:
  Fix Committed

Bug description:
  Windows 7-64, Java SE RTE 1.7.0_45, SikuliX 1.1.0 (2015-05-20)

  testbundle=getBundlePath()
  print testbundle
  print os.path.isdir(testbundle)

  dirn=os.path.dirname(testbundle)
  print dirn
  print os.path.isdir(dirn)

  Printed result:
  /D:/Sikuli/CP2D.N/trytest.sikuli
  False
  /D:/Sikuli/CP2D.N
  False

  There are leading slashes, which seem to prevent finding the paths in
  the file system.

  In version SikuliX 1.1.0 2014_09_18, the paths were printed without
  the leading slashes and were recognized well as directories.

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

_______________________________________________
Mailing list: https://launchpad.net/~sikuli-driver
Post to     : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp

Reply via email to