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

Bug #1223204 reported by RaiMan on 2013-09-10
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Sikuli
Critical
RaiMan

Bug Description

[1.1.0] the successor feature will now be:
Settings.setVisionParameter(param, val)
val = Settings.getVisionParameter(param)

getting independent from the native layer.

To support Backward compatibility but deprecated both
org.sikuli.script.natives.Vision
org.sikuli.basics.proxies.Vision

are back again with only the above features.

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

RaiMan (raimund-hocke) wrote :

All settings and user preferences should be manageable at one central place with different interfaces.

RaiMan (raimund-hocke) on 2013-09-10
summary: - [1.0.1] Import Vision error --- is now: org.sikuli.basics.proxies.Vision
+ [1.0.1] org.sikuli.script.natives.Vision --- is now:
+ org.sikuli.basics.proxies.Vision
RaiMan (raimund-hocke) on 2013-09-13
Changed in sikuli:
status: New → In Progress
importance: Undecided → Medium
assignee: nobody → RaiMan (raimund-hocke)
milestone: none → 1.1.0
RaiMan (raimund-hocke) on 2013-11-05
Changed in sikuli:
status: In Progress → Fix Committed
importance: Medium → High
description: updated
RaiMan (raimund-hocke) on 2015-09-17
summary: [1.0.1] org.sikuli.script.natives.Vision --- is now:
- org.sikuli.basics.proxies.Vision
+ org.sikuli.basics.proxies.Vision --- fixed in 1.1.0
Changed in sikuli:
importance: High → Critical
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers