← Back to team overview

sikuli-driver team mailing list archive

[Bug 1196081] Re: [1.0] Windows 64: Illegal character in file '' for encoding 'utf-8' when running script

 

Hallo,
Ubuntu 16.4/Sikulix 1.1.2

#reproduction of error: formerly running script moved to non-ascii path, reproduces the error
cp -r scriptpathi/ scriptpathö/
runsikulix -r scriptpathö/neun22.sikuli/ 

[error] script [ /home/k/scriptpathö/neun22.sikuli/ ] stopped with error at line --unknown--
[error] Error caused by: SyntaxError: Illegal character in file '<string>' for encoding 'utf-8'

#note1: sikulix -s works with non-ascii pathes
#note2: I am still looking for a work around, got this ugly one:
s="neun2.sikuli/"; rm -r /tmp/"$s"; cp -r ü/"$s" /tmp/; DISPLAY=:115 runsikulix -r /tmp/"$s"

# but note3: ln -s /home/k/ü/neun2.sikuli/ /tmp/ #gives same Error

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

Title:
  [1.0] Windows 64: Illegal character in file '' for encoding 'utf-8'
  when running script

Status in Sikuli:
  Opinion

Bug description:
  I'm running sikuli 1.0.0 64-bit on a freshly installed Win7 64-bit PC,
  and i can't see where the error should occure.

  When i try to run a script, i'll get this error

  [error] script [ Untitled] stopped with error at line --unknown--
  [error] Could not evaluate error source nor reason. Analyze StackTrace!
  [error] SyntaxError: Illegal character in file '' for encoding 'utf-8'

  It occures even if the script is empty.

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


References