Question #243191 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/243191
Description changed to:
Hey there,
I have a script in the Sikuli IDE that, upon completion, does not bring
the IDE back up. I'm running on Windows 8.
Basically, after my script runs, the IDE does not
Question #243191 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/243191
Status: Open = Answered
RaiMan proposed the following answer:
you have to shutdown the logger explicitly before terminating the
script.
--
You received this question notification because you are a
Question #243191 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/243191
Test posted a new comment:
So I should do logger.shutdown() just before exit()?
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.
Question #243191 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/243191
RaiMan requested more information:
yes.
tried it?
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.
Question #243191 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/243191
Status: Answered = Open
Test is still having a problem:
Traceback (most recent call last):
File C:\path-to-sikuli\Sikuli\sikuli-ide.jar\Lib\logging\__init__.py, line
750, in emit
File
Question #243191 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/243191
Test gave more information on the question:
I placed logger.shutdown() before the user inputs 'Q' to quit the
script, and I got that error.
I placed it when the script ran to completion, right before it
Question #243191 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/243191
Test gave more information on the question:
When the user inputs Q to quit the script or when my script runs to
completion, this is found at the end:
logger.shutdown()
exit()
Yet I got those same errors.
Question #243191 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/243191
Test posted a new comment:
To add on a bit more info, the Sikuli IDE now DOES reappear after about
5 seconds, quite a long delay, after the script should've stopped, and
gives me all those messages.
--
You
Question #243191 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/243191
RaiMan proposed the following answer:
Another thing:
Why are you using handlers?
Isn't basic logging enough?
look:
http://docs.python.org/2/howto/logging.html#basic-logging-tutorial
--
You received this
Question #243191 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/243191
Status: Open = Answered
RaiMan proposed the following answer:
try
logging.shutdown()
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact
Question #243191 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/243191
Status: Answered = Solved
Test confirmed that the question is solved:
Thanks RaiMan, that solved my question.
--
You received this question notification because you are a member of
Sikuli Drivers,
Question #243191 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/243191
Test posted a new comment:
I'll need to read up more about it because I just followed a tutorial to
start off.
Thanks for all the help, you have no idea how grateful I am.
--
You received this question
New question #243191 on Sikuli:
https://answers.launchpad.net/sikuli/+question/243191
Hey there,
I have a script in the Sikuli IDE that, upon completion, does not bring the IDE
back up. I'm running on Windows 8.
Basically, after my script runs, the IDE does not reappear but the command
prompt
13 matches
Mail list logo