Errors in parent folder path that IDE adds to sys.path

Bug #1070929 reported by Brian Redmond
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
SikuliX
Fix Released
Critical
RaiMan

Bug Description

Sikuli-X-1.0rc3 (r905)-win32
Java 6 Update 37, 32-bit
Win 7 64bit

1. Create a folder that starts with the letter a or b, ex: 'C:\Users\Public\automation'
2. Open sikuli IDE, and create the following one line script:

print(str(sys.path))

3 .Save this script with any name inside the folder created in step one
4. Run the script and check the output in the IDE message window

The last entry in the list should be the path of the script's parent folder, but will look like this:
'C:\\Users\\Public\x07utomation'
where the \a has been translated to x07
folders starting with b become x08

When trying to import modules from the parent folder, this causes the modules to not be found.

Tags: filenames
RaiMan (raimund-hocke)
Changed in sikuli:
status: New → In Progress
milestone: none → x1.0
RaiMan (raimund-hocke)
Changed in sikuli:
assignee: nobody → RaiMan (raimund-hocke)
RaiMan (raimund-hocke)
tags: added: filenames
RaiMan (raimund-hocke)
Changed in sikuli:
importance: Undecided → High
RaiMan (raimund-hocke)
Changed in sikuli:
importance: High → Critical
RaiMan (raimund-hocke)
Changed in sikuli:
status: In Progress → Fix Committed
RaiMan (raimund-hocke)
Changed in sikuli:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.