[1.0.1] org.sikuli.script.natives.Vision --- is now: org.sikuli.basics.proxies.Vision

Asked by rob

i just upgraded to the new version 1.0.1 and I'm getting errors in some of my old scripts.
here is the code, up to the line that fails:

from sikuli import *
import re
from java.awt import Toolkit
from java.awt.datatransfer import DataFlavor
from org.sikuli.script.natives import Vision

and the error message:

[error] script [ Ascript ] stopped with error in line 5
[error] ImportError ( No module named natives )

any help would be appreciated.

Question information

Language:
English Edit question
Status:
Solved
For:
SikuliX Edit question
Assignee:
RaiMan Edit question
Solved by:
rob
Solved:
Last query:
Last reply:
Revision history for this message
rob (reg82) said :
#1

it works, thanks for your help!
also, i propose a title change --> [1.0.1] org.sikuli.script.natives.Vision --- is now: org.sikuli.basics.proxies.Vision

Revision history for this message
RaiMan (raimund-hocke) said :
#2

Thanks for feedback - renamed ;-)

Revision history for this message
andrew plummer (andrewplummer) said :
#3

Hi Raiman,

would you please be able to update the page here:

http://doc.sikuli.org/globals.html#min-target-size

I think it's meant to be as per this question:
org.sikuli.script.natives.Vision --- is now: org.sikuli.basics.proxies.Vision

Thanks