← Back to team overview

sikuli-driver team mailing list archive

[Bug 1070929] Re: Errors in parent folder path that IDE adds to sys.path

 

** Changed in: sikuli
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/1070929

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

Status in Sikuli:
  Fix Released

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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1070929/+subscriptions


References