← Back to team overview

sikuli-driver team mailing list archive

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

 

thanks.

-- 
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


References