Public bug reported:

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.

** Affects: sikuli
     Importance: Undecided
         Status: New

-- 
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:
  Leading slash in paths

Status in Sikuli:
  New

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