← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #693105]: 'Region' is not defined when attempting to import

 

Question #693105 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/693105

Ethan Perry gave more information on the question:
After putting "from sikuli.Sikuli import *" at the beginning of my
definedregions script, it doesn't have any issues importing but later
when it gets to using a region (called REGtaskbar) it says:

[error] script [ Testing ] stopped with error in line 10
[error] NameError ( name 'REGtaskbar' is not defined )
[error] --- Traceback --- error source first
line: module ( function ) statement 
10: main (  <module> )     REGtaskbar.find(taskbaricon)
[error] --- Traceback --- end --------------

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.