[1.1.0] crash with script path containing \x --- taken as unicode escape

Bug #1452605 reported by RaiMan on 2015-05-07
This bug affects 1 person
Affects Status Importance Assigned to Milestone

Bug Description

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

RaiMan (raimund-hocke) wrote :

thanks. will try to fix it as soon as possible.

Changed in sikuli:
status: New → Fix Committed
importance: Undecided → High
assignee: nobody → RaiMan (raimund-hocke)
milestone: none → 1.1.0
RaiMan (raimund-hocke) wrote :

could not reproduce this with the latest build (contains Jython 2.7.0 on Java 7+).

see the test log:

Changed in sikuli:
status: Fix Committed → Opinion
importance: High → Undecided
RaiMan (raimund-hocke) wrote :

... and using runsikulix.cmd yields the same result: working

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers