← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #254627]: Need to log the Sikuli IDE executed message to external file

 

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

    Status: Answered => Open

Srinivas P is still having a problem:
I tried using the information from your link in my script , error is
shown

Sikuli IDE Script has below contects

from sikuli import * 
Settings.OcrTextSearch=True
Settings.OcrTextRead=True
Settings.UserLogs = True
Settings.UserLogPrefix = "user"
Settings.UserLogTime = True
Debug.setUserLogfile("C:\sikulilog.txt")
Debug.user("Log Message",args)


Error after running above script

[error] script [ sikuliLogMessages ] stopped with error in line 8
[error] AttributeError ( type object 'org.sikuli.basics.Debug' has no attribute 'setUserLogfile' )

I am using Sikuli IDE 1.0.1.

Does setUserLogFile is supported in Sikuli IDE1.0.1

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