← Back to team overview

sikuli-driver team mailing list archive

[Bug 1917408] Re: getParentFolder() breaks in 2.0.5 but was working on 2.0.4

 

** Description changed:

  print("Parent",getParentFolder())
  exit(2)
  
  using the above code
- in 2.0.4 
+ in 2.0.4
  output
  ('Parent', u'C:\\Perf\\Work\\Groups\\AntiPirates\\PDFNext\\Automations\\FeatTests\\FEAT\\Unified Share\\UI_Automation\\TestFiles\\')
  [info] Exit code: 2
  
- 
  in 2.0.5
  ('Parent', u'/C:/Perf/Work/Groups/AntiPirates/PDFNext/Automations/FeatTests/FEAT/Unified%20Share/UI_Automation/TestFiles/DragDrop.sikuli\\')
  
- notice the / are incorrect as a resumt any import fail
- 
+ 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(getImagePath())
+ 2.0.4
+ [u'C:\\Perf\\Work\\Groups\\AntiPirates\\PDFNext\\Automations\\FeatTests\\FEAT\\Unified Share\\UI_Automation\\image.sikuli']
+ 
+ 
+ 2.0.5
+ [u'/C:/Perf/Work/Groups/AntiPirates/PDFNext/Automations/FeatTests/FEAT/Unified%20Share/UI_Automation/image.sikuli/']

** Summary changed:

- 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

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

Title:
  getParentFolder(), getImagePath() breaks in 2.0.5 but was working on
  2.0.4

Status in Sikuli:
  New

Bug description:
  print("Parent",getParentFolder())
  exit(2)

  using the above code
  in 2.0.4
  output
  ('Parent', u'C:\\Perf\\Work\\Groups\\AntiPirates\\PDFNext\\Automations\\FeatTests\\FEAT\\Unified Share\\UI_Automation\\TestFiles\\')
  [info] Exit code: 2

  in 2.0.5
  ('Parent', u'/C:/Perf/Work/Groups/AntiPirates/PDFNext/Automations/FeatTests/FEAT/Unified%20Share/UI_Automation/TestFiles/DragDrop.sikuli\\')

  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(getImagePath())
  2.0.4
  [u'C:\\Perf\\Work\\Groups\\AntiPirates\\PDFNext\\Automations\\FeatTests\\FEAT\\Unified Share\\UI_Automation\\image.sikuli']

  
  2.0.5
  [u'/C:/Perf/Work/Groups/AntiPirates/PDFNext/Automations/FeatTests/FEAT/Unified%20Share/UI_Automation/image.sikuli/']

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


References