[1.1.0 Beta4] addImagePath() doesn't work correctly --- fixed in 1.1.0

Bug #1361687 reported by ggra
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
SikuliX
Fix Committed
Critical
RaiMan

Bug Description

Windows 7 32-bit, Sikuli 1.1.0 Beta4, java version 1.7.0_67

Step to repo:
1. Create script with image e.g: C:\TEST\call_fun.sikuli
from sikuli import *

def one(name):
    try:
        find(1.png)
        #do something
    except:
        #do something

2. Create other script e.g: C:\TEST\FUN\fun_1.sikuli :
ScriPath = "C:\\TEST\\call_fun.sikuli"
AddImagePath("C:\\TEST\\call_fun.sikuli")

import call_fun
import unittest

class TestSikulix(unittest.TestCase):
    def setUp(self):
        print("setUp")
    def tearDown(self):
        print("tearDowm")

    def test_one(self):
        self.assertEqual(1,(call_fun.one('test_one')))

if __name__=='__main__':
    try: unittest.main()
    except SystemExit: pass

3.Run script from console

Expected result:
-script runs correctly

Got:
[error] ImagePath: addImagePath: not valid:

Open the same file in 1.0.1. Its works.

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

thanks, I will check and fix.

Changed in sikuli:
status: New → In Progress
importance: Undecided → High
assignee: nobody → RaiMan (raimund-hocke)
milestone: none → 1.1.0
RaiMan (raimund-hocke)
summary: - [1.1.0 Beta4] addImagePatch() dont works correctly
+ [1.1.0 Beta4] addImagePath() dont works correctly
RaiMan (raimund-hocke)
Changed in sikuli:
status: In Progress → Fix Committed
importance: High → Critical
summary: - [1.1.0 Beta4] addImagePath() dont works correctly
+ [1.1.0 Beta4] addImagePath() doesn't work correctly --- fixed in 1.1.0
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.