← Back to team overview

sikuli-driver team mailing list archive

[Question #270046]: user debug statement doesnt work

 

New question #270046 on Sikuli:
https://answers.launchpad.net/sikuli/+question/270046

Trying to use the user debug log as described in the  SikuliX documentation.  have the following lines in my script. (this is a copy and paste.)

Settings.UserLogs = True
Settings.UserLogPrefix = "user"
Settings.UserLogTime = True
Debug.setUserLogfile("C:\mylog.txt")

I get the following error when I try to execute:

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

line 94 is the last of the four lines above. I'm running IDE version 1.1.0 .
If I comment out that line, the script works fine (without the logs of course).
what am I doing wrong?

Dan


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