sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #27786
[Bug 1361687] [NEW] [1.1.0 Beta4] addImagePatch() dont works correctly
Public bug reported:
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.
** Affects: sikuli
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/1361687
Title:
[1.1.0 Beta4] addImagePatch() dont works correctly
Status in Sikuli:
New
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.
To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1361687/+subscriptions
Follow ups
References