Sikuli 2.0 is not finding images previously found by 1.1.3
Sikuli 1.1.3 works like a champ when using the MasterPath folder to specify the folders which Sikuli can see and pull scripts to images from:
from sikuli import *
admPath = "C:\\Sikulix\
if not admPath in sys.path: sys.path.
APMPath = "C:\\Sikulix\
if not APMPath in sys.path: sys.path.
prtPath = "C:\\Sikulix\
if not prtPath in sys.path: sys.path.
path19 = "C:\\Sikulix\
addImagePath(
-------
Path is used by the tests as an alias to MasterPath:
# Open the Master_Path.sikuli file and create the new entires to support the folder creation
from sikuli import *
masterPath = "C:\\Sikulix\
if not masterPath in sys.path: sys.path.
import Master_Path
-------
Tests: uses Import Paths
#======
from sikuli import *
import Paths
import FUNC_Log as Log
import NotificationsLib as Noti
import PORTAL_FunctionLib as Port
In Sikuli 2.0, how do I get Sikuli to recognize the images within the folder path:
Folder structure is below -- images are stored in subfolders within the Images folder
C:\SikuliX\
When opening 2.0, Sikuli throws the following errors -- images are found within the image directories
[error] ImagePath: find: not there: 1569933177020.png
[error] ImagePath: find: not there: 1569933177020.png
[error] ImagePath: find: not there: 1572965898802.png
[error] ImagePath: find: not there: 1572965898802.png
[error] ImagePath: find: not there: 1570460512259.png
[error] ImagePath: find: not there: 1570460512259.png
[error] ImagePath: find: not there: 1570460512259.png
[error] ImagePath: find: not there: 1570460512259.png
Feb 28 2020, Good Morning Rainman, you can close this issue with my path issue. Version 2.0.3 has somewhat resolved the issue. I moved all images to the specific function library vs having individual image libraries. I am continuing to verify the differences between 1.1.3 and 2....
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- SikuliX Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply: