[2.0.5] IDE: bundlePath having blanks in pathname do not work --- fixed
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
SikuliX |
Fix Committed
|
Critical
|
RaiMan |
Bug Description
print("
exit(2)
using the above code
in 2.0.4
output
('Parent', u'C:\\Perf\
[info] Exit code: 2
in 2.0.5
('Parent', u'/C:/Perf/
notice the path seperator "/" are incorrect as a result any imports fail
OS windows
this makes build 2.0.5 unusable 64 bit java 14- please suggest workaround
similar issue is seen with getImagePath() on windows
print(getImageP
2.0.4
[u'C:\\
2.0.5
[u'/C:/
description: | updated |
summary: |
- getParentFolder() breaks in 2.0.5 but was working on 2.0.4 + getParentFolder(), getImagePath() breaks in 2.0.5 but was working on + 2.0.4 |
description: | updated |
Ok, sorry for that.
The slash/backslash mix does not matter in the Java world.
The reason for the change is, that I started to revise internally (nearly :-(( everything to the use of URL's, to make a mix of different sources (files, jars, zip-files, webpage folders, ...) possible for example on the image path.
The problem here is the blank in the file name: ...\\Unified Share\\... 20Share/ ...
which gets as URL to: .../Unified%
Generally I have taken care, that at places, where correct filenames are needed, the URL path is decoded. Seems that I have missed something :-((
Generally the recommendation is, to create file/folder names, that only consist of letters, numbers, the hyphen, the underscore and the dot.
But I understand, that this probably does not really help her.
I will retract the 2.0.5 and relaunch asap.