@RaiMan

Can you provide more details about how this was resolved, e.g. code
change, jython flag, etc.? I'm not getting this error when using the
Sikuli gui, but I still have this error when I try to run the python
script from the command line or from Eclipse using the pydev plugin.
Thanks

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

Title:
  0.10.1 parser error: 'with' will become a reserved keyword in Python
  2.6

Status in Sikuli:
  Fix Released

Bug description:
  The workaround i posted in
  https://bugs.launchpad.net/sikuli/+bug/583085/comments/4 only works as
  long as it is located in the main .py.

  When put into a user module i import using the strategy RaiMan posted
  on 2010-05-19 in
  https://answers.launchpad.net/sikuli/+question/110877:

  <path>\bugged.sikuli\bugged.py:
  =====================================
  import sys
  sys.path.append(getBundlePath())
  import bug
  =====================================

  it aborts with:

  SyntaxError: ("'with' will become a reserved keyword in Python 2.6",
  ('C:\\bugged.sikuli\\bug.py', 13, 1, ''))

  Because of the error i am unable to save it as .skl, so i had to
  attach bug.py on it's own (save as <path>\bugged.sikuli\bug.py to
  follow example).

  This is with 0.10.1-RC2 from
  https://bugs.launchpad.net/sikuli/+bug/580000/comments/9 on 32Bit XP
  Pro SP3

_______________________________________________
Mailing list: https://launchpad.net/~sikuli-driver
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp

Reply via email to