Question #266528 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/266528
Geoff Bache posted a new comment:
Hi again. Are you working with Sikuli again now? Would still appreciate a link
to the test script promised above, or the API call used to focus windows, or
some kind
Question #266528 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/266528
Geoff Bache posted a new comment:
OK, no problem at all of course.
I'd still like to get a local build working, I think it might greatly
speed up discovering what my problem actually is. I guess I'll ask
New question #267930 on Sikuli:
https://answers.launchpad.net/sikuli/+question/267930
I've been trying to build Sikuli locally and am running into problems. I've
installed the latest Maven 3.3.3 and checked out the code from Github. I'm then
trying to follow instructions here:
Question #266528 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/266528
Geoff Bache posted a new comment:
As this seems to have stopped, I wonder if you could send me the actual
command/API call you use to focus a given window? That might allow me to
debug why it's not working
Question #266528 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/266528
Geoff Bache gave more information on the question:
I'm afraid it still doesn't work for me. This with yesterday's nightjob
(0601_2300). Tried both with App.open(...) and App.focus(startup
title).
--
You
Question #266528 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/266528
Geoff Bache posted a new comment:
Unfortunately this setup, after starting via App.focus(part of window
title), app.focus() doesn't work there either :(
If you don't have any more ideas as to what the cause
Question #266528 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/266528
Geoff Bache posted a new comment:
No, that's what I did. And it doesn't work for me.
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact
Question #266528 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/266528
Geoff Bache posted a new comment:
Here's my log. Hope you can make sense of what is what.
10:54:59.793999 : [10840:ros.exe (WEADDT ROS : (1936x1176))] WEADDT ROS
10:55:00.%f : Searching
Question #266528 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/266528
Geoff Bache posted a new comment:
The good news: the Chrome based test script now works for me.
The bad news: my app still doesn't. Same symptoms as before. print app does
not help.
I wondered about
Question #266528 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/266528
Status: Answered = Open
Geoff Bache is still having a problem:
I think you misunderstood. That doesn't mean there wasn't a problem. It
just means it was easier to get it to complete by helping it along
Question #266528 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/266528
Geoff Bache posted a new comment:
OK, I see. Launchpad told me you proposed this answer, which led me to
believe you thought I'd retracted the problem.
Thanks for your efforts and a nice weekend to you too
Question #266528 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/266528
Status: Answered = Open
Geoff Bache is still having a problem:
Just installed the nightly build, but I still get the same problem (with
your script above, modified to use App.open as suggested, I get 3
Question #266528 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/266528
Status: Needs information = Open
Geoff Bache gave more information on the question:
My app doesn't work either (subsequent focus does not bring it to the
front or activate it).
--
You received
Question #266528 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/266528
Geoff Bache posted a new comment:
Hmm, I have a printout like that too, although it says
print About to focus on, myApp
which presumably has the same effect? It doesn't seem to help me.
--
You received
Question #266528 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/266528
Geoff Bache posted a new comment:
Another thing to note is that if I change your script above to use
App.open(...) instead of App(...).open(), I get several instances of
Chrome started, the subsequent
Question #266528 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/266528
Geoff Bache posted a new comment:
On closer examination, the reason 0524 is not finding the images in
question seems to be because App.focusedWindow() is returning the wrong
thing (and hence we're searching
Question #266528 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/266528
Geoff Bache posted a new comment:
OK, the App.open(...) tip seems to work to avoid the startup time
penalty (and needs documenting...). That's really the only performance
problem, that the other takes 0.1
Question #266528 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/266528
Geoff Bache posted a new comment:
And on even closer examination, it seems to be my fault. The timing is
changed, and I'm caching the focused window when I shouldn't be. Sorry
about that.
Remaining problem
Question #266528 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/266528
Geoff Bache posted a new comment:
I just installed last night's nightjob. Did the changes get pushed? The
subsequent app.focus() still doesn't work (it doesn't bring the window
to the front or activate
Question #266528 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/266528
Geoff Bache posted a new comment:
OK, I can't find a button to attach a file, so I'll just paste the log
here...
[9176:ros.exe (WEADDT ROS : (1936x1176))]
C:/work/ros-client/ros/build/cbxe2/bin/debug
Question #266528 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/266528
Geoff Bache posted a new comment:
--- subsequent app.focus() doesn't work
This sounds like it's caused by The obvious problem in your message above.
It's necessary to activate the window as well as to bring
Question #266528 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/266528
Geoff Bache posted a new comment:
--- startup time regression
First observation: the penalty with the same setup seems to be reliably about 4
seconds again compared to 0420, i.e. as reported from 0507
Question #266528 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/266528
Geoff Bache posted a new comment:
Afraid it's just the same as yesterday. It would be useful if I could
somehow get some more info out myself. At the moment nothing is written
and the app just doesn't come
Question #266528 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/266528
Geoff Bache posted a new comment:
Thanks!
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli
Question #266528 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/266528
Status: Answered = Open
Geoff Bache is still having a problem:
More info. You seem to be losing the first letter of the first argument!
Here's the code
print cmd
app = App(cmd)
app.open()
app.focus
Question #266528 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/266528
Geoff Bache posted a new comment:
It's still not working for me.
I'm wondering if it's something to do with special characters in the arguments.
Are you using the shell to start the process?
My actual
Question #266528 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/266528
Geoff Bache posted a new comment:
first parameter character missing
I can confirm that the first parameter character missing problem is now fixed.
So the setup with providing the whole command line
Question #266528 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/266528
Geoff Bache posted a new comment:
I reported the startup time regression in comment #10 above, and you
promised to look into it in comment #13 :) I'm still using the build
from 0420 in practice because
Question #266528 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/266528
Geoff Bache posted a new comment:
Hmm, the app does not come up at all. It still works fine in the old
way. No errors are written, and the exact command is the same.
Is Sikuli redirecting stdout and stderr
Question #266528 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/266528
Geoff Bache posted a new comment:
No it doesn't, that's what I'm reporting.
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli
Question #266528 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/266528
Geoff Bache posted a new comment:
Thanks. I'll take a look at this on Monday then.
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact
Question #266528 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/266528
Geoff Bache posted a new comment:
I've just downloaded and installed last night's build (0512) and
unfortunately the regression issues here seem to be worse/unchanged
since 0507.
Neither a subsequent
Question #266528 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/266528
Status: Answered = Open
Geoff Bache is still having a problem:
OK, I just discovered that testing setups (1) or (2) isn't possible,
because I have to provide command line arguments in order to start my
Question #266528 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/266528
Geoff Bache posted a new comment:
--parameters
There's nothing unusual about my app, it just needs some parameters on the
command line to start properly. i.e.
c:\some\path\app.exe -server server -config
Question #266528 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/266528
Geoff Bache posted a new comment:
Case sensitivity was not the problem.
What comes up initially in the application is a main window with a login
screen in front of it. I had previously used the title
Question #266528 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/266528
Status: Solved = Open
Geoff Bache is still having a problem:
Unfortunately I think there is some regression problem here.
App.focus(window title) does not work initially for me either now with
last
Question #266528 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/266528
Status: Answered = Solved
Geoff Bache confirmed that the question is solved:
Yes, thanks, that gives some ideas, even if it's not all that beautiful
a solution in that it requires dropping out of Python
Question #266528 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/266528
Geoff Bache posted a new comment:
Great, thanks. Will try it out tomorrow.
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli
New question #266528 on Sikuli:
https://answers.launchpad.net/sikuli/+question/266528
I'm focussing on an application via its window title, but finding that further
calls to focus() don't work after the app has changed window title. Basically
what I want to do is return focus to the application
Question #264950 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/264950
Status: Answered = Solved
Geoff Bache confirmed that the question is solved:
Jython 2.7-rc3 also has the problem.
But Jython 2.5.3 seems to work without issues. Thanks for the answers!
--
You
Question #264950 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/264950
Status: Solved = Open
Geoff Bache is still having a problem:
It should also be said that I'm running a pure Python script from the
command line, using the setup described at
http://doc.sikuli.org/faq
Question #264950 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/264950
Geoff Bache posted a new comment:
OK, thanks. I changed to the suggestion setup (with sikulixapi.jar on my
CLASSPATH) and am now running my own Jython. Unfortunately, I still get
the same problem, i.e
Question #264950 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/264950
Geoff Bache posted a new comment:
Setting -d 3 doesn't help: it's a Sikuli option and in this case Jython
crashes before it gets as far as doing anything with Sikuli.
But I've printed the environment before
Question #264950 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/264950
Geoff Bache posted a new comment:
Unfortunately, I still get this problem occasionally, so it seems my
previous guess isn't correct. It doesn't seem to be as frequent but it
still happens sometimes.
--
You
Question #265586 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/265586
Status: Answered = Solved
Geoff Bache confirmed that the question is solved:
Thanks again for your prompt answers and engagement here. Look forward
to a fix for the request you created.
--
You
New question #265586 on Sikuli:
https://answers.launchpad.net/sikuli/+question/265586
I've been using the OCR features with a certain amount of success, but
inevitably it doesn't work all of the time. In particular the OCR seems to be
much worse as soon as it encounters white text on a dark
Question #264950 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/264950
Geoff Bache posted a new comment:
Thanks for the answers. I'm not aware of any strangeness with the paths,
and it works 80% of the time...
I'm fairly sure I have Java 7 with both 64-bit and 32-bit.
If it's
Question #264829 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/264829
Status: Answered = Open
Geoff Bache is still having a problem:
Yes, setup worked fine, and all three popups were produced fine. But it
did not work when I came to use it, see errors above.
--
You
Question #264829 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/264829
Geoff Bache gave more information on the question:
This is how I examined the files in SikulixLibs. According to
dumpbin.exe, from Visual Studio, some appear to be x86 while others
are x64.
c:\program
Question #264829 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/264829
Status: Answered = Solved
Geoff Bache confirmed that the question is solved:
Thanks for this. I think you're on the right lines. I do indeed have
both 32-bit Java and 64-bit Java installed.
I
New question #264829 on Sikuli:
https://answers.launchpad.net/sikuli/+question/264829
I've just downloaded and installed the nightly build of Sikuli with the OCR
feature enabled (I'm hoping to avoid having to maintain lots of screenshots,
and stick to looking for text if I possibly can...)
51 matches
Mail list logo