← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #254687]: Image Dictionary Help

 

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

Garsk posted a new comment:
I am going the route of a image dictionary because later on I am going
to have various scripts referencing the dictionary, so I figured it
would be easier to have one location for the images and the rest of the
scripts referencing it.

As for the changes that you suggested, when running the script for the
first time, it failed on the first line with the error message;

[error] Stopped
[error] An error occurs at line 1
[error] Error message: Traceback (most recent call last):
 File "C:\Users\carrier\AppData\Local\Temp\sikuli-tmp1365089574905954334.py", line 1, in 
 import PuttyDictionary
 File "C:\Program Files (x86)\Sikuli X\sikuli-script.jar\Lib\sikuli\SikuliImporter.py", line 45, in load_module
 File "C:\Program Files (x86)\Sikuli X\sikuli-script.jar\Lib\sikuli\SikuliImporter.py", line 29, in _load_module
ImportError: Errors in loading sikuli module: PuttyDictionary
name 'Pattern' is not defined
 - HOW TO FIX? Try adding "from sikuli import *" in the module.

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.