[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
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
SikuliX
Fix Committed
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.

Revision history for this message
RaiMan (raimund-hocke) wrote :

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

RaiMan (raimund-hocke)
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)
Changed in sikuli:
status: New → In Progress
importance: Undecided → Medium
assignee: nobody → RaiMan (raimund-hocke)
milestone: none → 1.1.0
RaiMan (raimund-hocke)
Changed in sikuli:
status: In Progress → Fix Committed
importance: Medium → High
description: updated
RaiMan (raimund-hocke)
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  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.