[Sikuli-driver] [Bug 584471] Re: 0.10.1 parser error: 'with' will become a reserved keyword in Python 2.6

2011-03-21 Thread RaiMan
--1. I suppose we are talking about Sikuli X-1.0rc2

--2. when running your scripts outside the IDE, I guess you are not using the 
Sikuli methods (Eclipse/pydev e.g. uses a seperately installed Jython)
so at least for running the scripts from commandline: use the Sikuli supported 
run methods: http://sikuli.org/docx/faq/010-command-line.html

--3. how to solve this in Eclipse: I do not know - sorry

-- 
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/58/comments/9 on 32Bit XP
  Pro SP3

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


[Sikuli-driver] [Bug 584471] Re: 0.10.1 parser error: 'with' will become a reserved keyword in Python 2.6

2011-03-20 Thread Jack
@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/58/comments/9 on 32Bit XP
  Pro SP3

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


[Sikuli-driver] [Bug 584471] Re: 0.10.1 parser error: 'with' will become a reserved keyword in Python 2.6

2011-01-19 Thread RaiMan
fixed in Sikuli X

** Changed in: sikuli
   Status: Fix Committed = Fix Released

-- 
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/58/comments/9 on 32Bit XP
  Pro SP3



___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


[Sikuli-driver] [Bug 584471] Re: 0.10.1 parser error: 'with' will become a reserved keyword in Python 2.6

2011-01-12 Thread RaiMan
** Summary changed:

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

-- 
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 Committed

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/58/comments/9 on 32Bit XP
  Pro SP3



___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp