Comment 0 for bug 1223204

Revision history for this message
RaiMan (raimund-hocke) wrote : [1.0.1] Import Vision error --- is now: org.sikuli.basics.proxies.Vision

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.