sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #08115
Re: [Question #180346]: Timestamp in logfile
Question #180346 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/180346
RaiMan posted a new comment:
--- Python version in my Mac Lion is 2.7.1
@ Jason
Python has nothing to do with Sikuli. All modules that are needed by the
Jython interpreter, that comes bundled with Sikuli, are taken from from
within the normal Sikuli installation.
With a few exceptions (modules written in pure Python) standard C-Python
modules cannot be used with Jython/Sikuli. Furthermore Sikuli's Jython
(as Jython generally in the moment) is on "Python language level" 2.5.
--- I also see this error after playing with above script for awhile
Not sure what you mean by that: running it over and over again or making changes/additions.
This kind of import error usually happens, if the module (logging in this case) cannot be found on sys.path (did you make any changes to that?) or if a folder logging.sikuli can be found by Sikuli's import feature, that is invalid.
--- ValueError: I/O operation on closed file
What is done on this line 750?
The error message tells, that logging.__init__ is run. This should only happen once at the beginning of a script. Do not place more than one "import logging" statement in your script.
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.