[Sikuli-driver] [Question #675818]: [error] FileManager: Script project mgl_efis_navdata_vfr_europe.sikuli has no script file mgl_efis_navdata_vfr_europe.xxx
New question #675818 on Sikuli: https://answers.launchpad.net/sikuli/+question/675818 When I try to run one of my Sikuli tests I get this error ? What does it mean? [error] FileManager: Script project mgl_efis_navdata_vfr_europe.sikuli has no script file mgl_efis_navdata_vfr_europe.xxx -- You received this question notification because your team Sikuli Drivers is an answer contact for Sikuli. ___ Mailing list: https://launchpad.net/~sikuli-driver Post to : sikuli-driver@lists.launchpad.net Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp
Re: [Sikuli-driver] [Question #675818]: [error] FileManager: Script project mgl_efis_navdata_vfr_europe.sikuli has no script file mgl_efis_navdata_vfr_europe.xxx
Question #675818 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/675818 Status: Open => Needs information RaiMan requested more information: Did you rename project mgl_efis_navdata_vfr_europe.sikuli to this new name from a different name outside the IDE? If yes, the next time use either Save-As or also rename the contained .py file the same as the .sikuli. If not: what is the name of the contained .py file? -- You received this question notification because your team Sikuli Drivers is an answer contact for Sikuli. ___ Mailing list: https://launchpad.net/~sikuli-driver Post to : sikuli-driver@lists.launchpad.net Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp
Re: [Sikuli-driver] [Question #675818]: [error] FileManager: Script project mgl_efis_navdata_vfr_europe.sikuli has no script file mgl_efis_navdata_vfr_europe.xxx
Question #675818 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/675818 Marc Summers gave more information on the question: Also I have over 100 other tests, and they all work just fine, why just this one is failing? -- You received this question notification because your team Sikuli Drivers is an answer contact for Sikuli. ___ Mailing list: https://launchpad.net/~sikuli-driver Post to : sikuli-driver@lists.launchpad.net Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp
Re: [Sikuli-driver] [Question #675818]: [error] FileManager: Script project mgl_efis_navdata_vfr_europe.sikuli has no script file mgl_efis_navdata_vfr_europe.xxx
Question #675818 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/675818 Status: Needs information => Solved Marc Summers confirmed that the question is solved: Oh! OK, Got it! :) mgl_efis_navdata_vfr_europe.sikuli mgl_efis_navdata_europe.py -- You received this question notification because your team Sikuli Drivers is an answer contact for Sikuli. ___ Mailing list: https://launchpad.net/~sikuli-driver Post to : sikuli-driver@lists.launchpad.net Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp
[Sikuli-driver] [Question #675666]: Status of bug #1800512 changed to 'Fix Committed' in Sikuli
Bug #1800512 status changed in Sikuli: In Progress => Fix Committed https://bugs.launchpad.net/sikuli/+bug/1800512 "[1.1.4] Windows: App using window title only finds one app, should find all using focus(index) --- partly fixed 2018-10-31" This bug is linked to #675666. [1.1.4]How to get all apps with the same name on windows https://answers.launchpad.net/sikuli/+question/675666 -- You received this question notification because your team Sikuli Drivers is an answer contact for Sikuli. ___ Mailing list: https://launchpad.net/~sikuli-driver Post to : sikuli-driver@lists.launchpad.net Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp
[Sikuli-driver] [Bug 1800512] Re: [1.1.4] Windows: App using window title only finds one app, should find all using focus(index) --- partly fixed 2018-10-31
** Changed in: sikuli Status: In Progress => Fix Committed ** Description changed: + - partly fixed --- see docs! + - only on Windows, Linux still problematic + - window titles only useable with app = App.focus(title [, index]) + - a matching app is running or nothing happens + - usage: + app = App.focus(title) # first matching app + or + app = App.focus(title, 3) # 4th matching app + - app.isValid() can be used to check for success + - if app is valid, the window should have come to front + -- the problem Beginning with 1.1.3 an App object is defined only by the executable. Hence the side effect of specifying (part of) the window title (Windows only) to define an App object is no longer available. And with that the possibility to focus an app by its window title is gone too. I will fix it, but it will work slightly different than in 1.1.2 -- workaround using executable In case you have some instances of the same executable running, you can currently switch/focus using: app = App("executable") # instead of window title app.focus(0) # first instance found app1 = app.focus(1) app2 = app.focus(2) ... the returned app object's pid is <0 if not valid you might also check with appN.isValid() -- workaround using window title import org.sikuli.natives.WinUtil as WinUtil App() # once at the beginning to load the native lib pid = WinUtil().switchApp(title, index) which brings the window to foreground (if exists) and returns the pid (0 if a window with the index is not found) In this case you will not have an app object for the window. --- system: windows 10 situation: There are 5 applications with the same name running on the system. (With different PIDs) problem: In version 1.1.2, I can use App("some-text-of-window-title") to get all the windows of the 5 app. But in version 1.1.4, it failed. If I use APP("app-name-show-in-taskmanager"), it only returns the first app-object. So , I want to know how can I get All the windows that contains the same keyword in their window titles. My scripts are as follow(It runs well in 1.1.2, but failed to find any windows in 1.1.4): def getApp(sKeyWord): allClient = App("+%s" % sKeyWord) clientList = [] windowList = [] if not allClient: error_message("No client found with title %s" % sKeyWord) return clientList, 0, windowList iMainWindowIndex = getMainWindowIndex(sKeyWord) for i in range(10): oneClient = allClient.focus(i) #oneClient = allClient pid = oneClient.getPID() if pid <= 0: break info_message("Client:%d pid=%s=" % (i, pid)) w = oneClient.window(iMainWindowIndex) if not w.isValid(): continue clientList.append(oneClient) windowList.append(w) info_message("title = %s, client found:%d" % (sKeyWord, len(clientList))) return clientList, len(windowList), windowList getApp("Revision") result: in 1.1.2: [22:37:33][4299:4885] Client:0 pid=2932= [22:37:33][4299:4885] Client:1 pid=1992= [22:37:33][4316:4885] title = Revision, client found:2 in 1.1.4: [error] App.focus failed: not running: [-1:+Revision (???)] +Revision [22:38:45][4316:4885] title = Revision, client found:0 -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/1800512 Title: [1.1.4] Windows: App using window title only finds one app, should find all using focus(index) --- partly fixed 2018-10-31 Status in Sikuli: Fix Committed Bug description: - partly fixed --- see docs! - only on Windows, Linux still problematic - window titles only useable with app = App.focus(title [, index]) - a matching app is running or nothing happens - usage: app = App.focus(title) # first matching app or app = App.focus(title, 3) # 4th matching app - app.isValid() can be used to check for success - if app is valid, the window should have come to front -- the problem Beginning with 1.1.3 an App object is defined only by the executable. Hence the side effect of specifying (part of) the window title (Windows only) to define an App object is no longer available. And with that the possibility to focus an app by its window title is gone too. I will fix it, but it will work slightly different than in 1.1.2 -- workaround using executable In case you have some instances of the same executable running, you can currently switch/focus using: app = App("executable") # instead of window title app.focus(0) # first instance found app1 = app.focus(1) app2 =
[Sikuli-driver] [Bug 1800512] Re: [1.1.4] Windows: App using window title only finds one app, should find all using focus(index) --- partly fixed 2018-10-31
** Summary changed: - [1.1.4] Windows: App using window title only finds one app, should find all using focus(index) + [1.1.4] Windows: App using window title only finds one app, should find all using focus(index) --- partly fixed 2018-10-31 -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/1800512 Title: [1.1.4] Windows: App using window title only finds one app, should find all using focus(index) --- partly fixed 2018-10-31 Status in Sikuli: In Progress Bug description: -- the problem Beginning with 1.1.3 an App object is defined only by the executable. Hence the side effect of specifying (part of) the window title (Windows only) to define an App object is no longer available. And with that the possibility to focus an app by its window title is gone too. I will fix it, but it will work slightly different than in 1.1.2 -- workaround using executable In case you have some instances of the same executable running, you can currently switch/focus using: app = App("executable") # instead of window title app.focus(0) # first instance found app1 = app.focus(1) app2 = app.focus(2) ... the returned app object's pid is <0 if not valid you might also check with appN.isValid() -- workaround using window title import org.sikuli.natives.WinUtil as WinUtil App() # once at the beginning to load the native lib pid = WinUtil().switchApp(title, index) which brings the window to foreground (if exists) and returns the pid (0 if a window with the index is not found) In this case you will not have an app object for the window. --- system: windows 10 situation: There are 5 applications with the same name running on the system. (With different PIDs) problem: In version 1.1.2, I can use App("some-text-of-window-title") to get all the windows of the 5 app. But in version 1.1.4, it failed. If I use APP("app-name-show-in-taskmanager"), it only returns the first app-object. So , I want to know how can I get All the windows that contains the same keyword in their window titles. My scripts are as follow(It runs well in 1.1.2, but failed to find any windows in 1.1.4): def getApp(sKeyWord): allClient = App("+%s" % sKeyWord) clientList = [] windowList = [] if not allClient: error_message("No client found with title %s" % sKeyWord) return clientList, 0, windowList iMainWindowIndex = getMainWindowIndex(sKeyWord) for i in range(10): oneClient = allClient.focus(i) #oneClient = allClient pid = oneClient.getPID() if pid <= 0: break info_message("Client:%d pid=%s=" % (i, pid)) w = oneClient.window(iMainWindowIndex) if not w.isValid(): continue clientList.append(oneClient) windowList.append(w) info_message("title = %s, client found:%d" % (sKeyWord, len(clientList))) return clientList, len(windowList), windowList getApp("Revision") result: in 1.1.2: [22:37:33][4299:4885] Client:0 pid=2932= [22:37:33][4299:4885] Client:1 pid=1992= [22:37:33][4316:4885] title = Revision, client found:2 in 1.1.4: [error] App.focus failed: not running: [-1:+Revision (???)] +Revision [22:38:45][4316:4885] title = Revision, client found:0 To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/1800512/+subscriptions ___ Mailing list: https://launchpad.net/~sikuli-driver Post to : sikuli-driver@lists.launchpad.net Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp
Re: [Sikuli-driver] [Question #675805]: [1.1.2] Maven: sikulixapi dependencies sikulix2tigervnc and jadb problematic
Question #675805 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/675805 Status: Answered => Solved nandhini confirmed that the question is solved: Thanks RaiMan. -- You received this question notification because your team Sikuli Drivers is an answer contact for Sikuli. ___ Mailing list: https://launchpad.net/~sikuli-driver Post to : sikuli-driver@lists.launchpad.net Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp
[Sikuli-driver] [Question #675805]: Regarding dependencies jars of sikulix 1.1.2 for Maven integration
New question #675805 on Sikuli: https://answers.launchpad.net/sikuli/+question/675805 Hi, We are trying to integrate java class with Maven project.While adding Sikulix(1.1.2) to pom.xml it throws error for asking subsequent dependencies such as jadb and sikulix2tigervnc. But this 2 dependency jars were not available in central maven repositry(repo.maven.apache.org/maven2/). Can you help me to solve this issue. -- You received this question notification because your team Sikuli Drivers is an answer contact for Sikuli. ___ Mailing list: https://launchpad.net/~sikuli-driver Post to : sikuli-driver@lists.launchpad.net Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp
Re: [Sikuli-driver] [Question #675805]: Regarding dependencies jars of sikulix 1.1.2 for Maven integration
Question #675805 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/675805 Status: Open => Answered RaiMan proposed the following answer: --- this are the offending dependencies com.github.vidstige jadb -v1.0-g94ebf38-23 com.sikulix sikulix2tigervnc 2.0.0-SNAPSHOT --- the sikulixapi pom has these repository pointers sonatype-ossrh https://oss.sonatype.org/content/repositories/snapshots/ jitpack.io https://jitpack.io --- sikulix2tigervnc is a SNAPSHOT and taken from OSSRH ... so the download from there might be blocked in your environment --- jadb is needed for Android support it is taken from the jitpack repository, but seems to be no longer available there. So if you do not need Android support, exclude the dependency from the sikulixapi dependency. If possible (SNAPSHOT only, final beginning next year), I recommend, to use the version 1.1.4 (read the docs!) -- You received this question notification because your team Sikuli Drivers is an answer contact for Sikuli. ___ Mailing list: https://launchpad.net/~sikuli-driver Post to : sikuli-driver@lists.launchpad.net Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp
Re: [Sikuli-driver] [Question #675510]: Text method in region recognizing number "6" as 5 always.How to resolve it?
Question #675510 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/675510 Status: Needs information => Answered RaiMan proposed the following answer: The chances with 1.1.3 are very bad, to get this solved. Try version 1.1.4 and carefully read the docs about the revised text feature. If it is worth the effort, you can use the Tesseract training feature and add the relevant files to the tessdata folder. -- You received this question notification because your team Sikuli Drivers is an answer contact for Sikuli. ___ Mailing list: https://launchpad.net/~sikuli-driver Post to : sikuli-driver@lists.launchpad.net Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp
Re: [Sikuli-driver] [Question #675801]: Window 10: Change the size of text, apps, and other items - zoom issue
Question #675801 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/675801 Status: Open => Answered RaiMan proposed the following answer: see bug 1730645 -- You received this question notification because your team Sikuli Drivers is an answer contact for Sikuli. ___ Mailing list: https://launchpad.net/~sikuli-driver Post to : sikuli-driver@lists.launchpad.net Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp
Re: [Sikuli-driver] [Question #675805]: [1.1.2] Maven: sikulixapi dependencies sikulix2tigervnc and jadb problematic
Question #675805 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/675805 Summary changed to: [1.1.2] Maven: sikulixapi dependencies sikulix2tigervnc and jadb problematic -- You received this question notification because your team Sikuli Drivers is an answer contact for Sikuli. ___ Mailing list: https://launchpad.net/~sikuli-driver Post to : sikuli-driver@lists.launchpad.net Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp