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

Bug #1452605 reported by RaiMan
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
SikuliX
Opinion
Undecided
RaiMan

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

Revision history for this message
RaiMan (raimund-hocke) wrote :

@Nick
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
Revision history for this message
RaiMan (raimund-hocke) wrote :

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

see the test log:
https://dl.dropboxusercontent.com/u/42895525/xml-data_log.txt

Changed in sikuli:
status: Fix Committed → Opinion
importance: High → Undecided
Revision history for this message
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  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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