Running a sikuli script fails with error 'future feature with_statement is not defined'

Bug #829757 reported by Christian Schürer-Waldheim
32
This bug affects 7 people
Affects Status Importance Assigned to Milestone
sikuli (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Running a simple sikuli script (just click on an area) fails with:

[error] Stopped [error] Error message: Traceback (innermost last): (no code object) at line 0 SyntaxError: ('future feature with_statement is not defined', (' ', 1, 6, ''))

ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: sikuli-ide 1.0~x~rc2-dfsg1-2ubuntu1
ProcVersionSignature: Ubuntu 3.0.0-8.11-generic 3.0.1
Uname: Linux 3.0.0-8-generic x86_64
Architecture: amd64
Date: Fri Aug 19 22:19:09 2011
InstallationMedia: Kubuntu 10.10 "Maverick Meerkat" - Release amd64 (20101007)
PackageArchitecture: all
ProcEnviron:
 LANGUAGE=
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: sikuli
UpgradeStatus: Upgraded to oneiric on 2011-07-24 (26 days ago)

Revision history for this message
Christian Schürer-Waldheim (quincunx) wrote :
Changed in sikuli (Ubuntu):
status: New → Confirmed
Revision history for this message
Alvin (alvin) wrote :

This is due to Ubuntu still having a VERY old version of Jython in the universal repository

Works fine if you manually install

Revision history for this message
AlohaCC (alohachen) wrote :

Hey I have same problem ~

But I key command #jython

I got these message

Jython 2.5.2 (Release_2_5_2:7206, Mar 2 2011, 23:12:06)
[OpenJDK Client VM (Sun Microsystems Inc.)] on java1.6.0_23

it's newest version of Jython

Any suggestions ?

Sikuli use old version of Jython ? or ??

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.