[1.1.0] Jython: Windows: getBundlePath: Leading slash in paths not accepted --- fixed 2015-05-21+
Bug #1457104 reported by
Eugene Maslov
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
SikuliX |
Fix Committed
|
Critical
|
RaiMan |
Bug Description
Windows 7-64, Java SE RTE 1.7.0_45, SikuliX 1.1.0 (2015-05-20)
testbundle=
print testbundle
print os.path.
dirn=os.
print dirn
print os.path.isdir(dirn)
Printed result:
/D:/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 post a comment you must log in.
This works inside Java completely.
Did not realise the problem with Jython.
Fixed with tomorrows build.