← Back to team overview

sikuli-driver team mailing list archive

[Bug 1539132] Re: Sikuli-IDE gives Python error on script execution

 

** Also affects: ubuntu
   Importance: Undecided
       Status: New

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

Title:
  Sikuli-IDE gives Python error on script execution

Status in Sikuli:
  New
Status in Ubuntu:
  Confirmed

Bug description:
  I am using sikuli-ide on Debian testing 64 bits. Both the default jre
  from Debian and Oracle 8 java (with JNIs in LD_LIBRARY_PATH):

  ii  libsikuli-script-java                 1.0~x~rc3.tesseract3-dfsg1-12          all          Visual scripting API for jython
  ii  libsikuli-script-jni:amd64            1.0~x~rc3.tesseract3-dfsg1-12+b1       amd64        Native libs for libsikuli-java
  ii  sikuli-ide                            1.0~x~rc3.tesseract3-dfsg1-12          all          IDE to develop sikuli scripts and use them as junit test cases

  
  When I try to execute any script created with it, I get this error:

  [info] Sikuli vision engine loaded. 
  [error] Abgebrochen 
  [error] Ein Fehler in Zeile 1 
  [error] Fehlermeldung: Traceback (most recent call last): 
  File " ", line 1, in  
  File "/usr/share/sikuli/Lib/sikuli/__init__.py", line 3, in   
  from Sikuli import * 
  File "/usr/share/sikuli/Lib/sikuli/Sikuli.py", line 34, in   
  from Region import *
  SyntaxError: ("mismatched input ' ' expecting DEDENT", ('/usr/share/sikuli/Lib/sikuli/Region.py', 287, 43, ' return JRegion.observe(self, time)\n'))

  Checking the file, I cannot identify any syntax error, and CPython
  cannot. I also tried "jython /usr/share/sikuli/Lib/sikuli/Region.py"
  and that too works fine.

  Any ideas, what to check next?

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


References