← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #180346]: Timestamp in logfile

 

Question #180346 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/180346

Jason D Tran posted a new comment:
Thanks so much for helping, RaiMan!

Trying your suggested script: It works, but I got this error:

Traceback (most recent call last):
 File "/Applications/Sikuli-IDE.app/Contents/Resources/Java/sikuli-script.jar/Lib/logging/__init__.py", line 750, in emit
 File "/Applications/Sikuli-IDE.app/Contents/Resources/Java/sikuli-script.jar/Lib/logging/__init__.py", line 750, in emit
ValueError: I/O operation on closed file

----

I also see this error after playing with above script for awhile (Python
version in my Mac Lion is 2.7.1):

Traceback (most recent call last):
 File "/var/folders/__/xmjv8nnd0rd6bqvrpbggrfd80000gn/T/sikuli-tmp7724115150528538567.py", line 1, in 
 import logging
 File "/Applications/Sikuli-IDE.app/Contents/Resources/Java/sikuli-script.jar/Lib/sikuli/SikuliImporter.py", line 45, in load_module
 File "/Applications/Sikuli-IDE.app/Contents/Resources/Java/sikuli-script.jar/Lib/sikuli/SikuliImporter.py", line 25, in _load_module
ImportError: No module named logging

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.