← Back to team overview

sikuli-driver team mailing list archive

[Bug 912477] Re: X-1.0rc3: Windows: IDE: Getting unicode decode error if script path contains \x

 

This issue seems to be occurring again in Sikuli 1.1

Running sikuli from an Atlassian Bamboo agent (so I can't change the path), I get the following:
+++ using: -Xms64M -Xmx512M -Dfile.encoding=UTF-8 -Dsikuli.FromCommandLine -jar C:\sikuli-1.1\sikulix.jar -r pwl.test\pwl\test\client\sikuli\sikuli_scripts\winscribe\login.sikuli
[error] script [ C:\bamboo-agent\home\xml-data\build-dir\PWL-ROU-JOB1\pwl.test\pwl\test\client\sikuli\sikuli_scripts\winscribe\login.sikuli ]] stopped with error at line --unknown--
[error] Could not evaluate error source nor reason. Analyze StackTrace!
[error] UnicodeDecodeError: 'unicodeescape' codec can't decode bytes in position 20-22: truncated \xXX

Sikuli seems to be converting the script name to absolute, then can't
decode the \x in \xml-data

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

Title:
  X-1.0rc3: Windows: IDE: Getting unicode decode error if script path
  contains \x

Status in Sikuli:
  Fix Released

Bug description:
  ****** workaround

  do not have \x in script path ;-)

  --------------------------------------------

  I have installed Sikuli X-1.0rc3 on Windows XP and trying to run my
  first test script. I have set the JAVA_HOME to jre installed path(java
  version 6.0.110.03).

  script contains the following:

  click("jstarr.png")

  Getting the following error while runing the script:

  [info] Sikuli vision engine loaded.
  [info] Windows utilities loaded.

  [info] VDictProxy loaded.

  [error] Stopped
  [error] Error message: UnicodeDecodeError: 'unicodeescape' codec can't decode bytes in position 11-13: truncated \xXX

  Please help in resolving this.

  Thanks,

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


References