Re: [Sikuli-driver] [Question #270046]: user debug statement doesnt work

2015-08-06 Thread RaiMan
Question #270046 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/270046

RaiMan proposed the following answer:
I have corrected the docs.

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

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #270046]: user debug statement doesnt work

2015-08-06 Thread Dan
Question #270046 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/270046

Dan 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, which is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #270046]: user debug statement doesnt work

2015-08-06 Thread Dan
Question #270046 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/270046

Status: Answered = Solved

Dan confirmed that the question is solved:
Thanks. I had tried a handful of permutations thinking it might be a doc
issue, but I guess I missed that one.

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

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #270046]: user debug statement doesnt work

2015-08-06 Thread RaiMan
Question #270046 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/270046

RaiMan proposed the following answer:
it must be:
Debug.setUserLogFile(C:\mylog.txt)

(... all camel-cased ;-)

... and 
from sikuli import * 
is only needed in imported scripts/modules

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

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #270046]: user debug statement doesnt work

2015-08-05 Thread Dan
Question #270046 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/270046

Status: Answered = Open

Dan is still having a problem:
I tried the line:

setUserLogfile(C:\mylog.txt)

and after run, execution stops at that line with error message:

[error (8/5/15 11:54:26 PM)] script [ myrvishome2 ] stopped with error in line 
94
[error (8/5/15 11:54:26 PM)] NameError ( name 'setUserLogfile' is not defined )

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

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #270046]: user debug statement doesnt work

2015-08-05 Thread Eugene S
Question #270046 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/270046

Status: Open = Answered

Eugene S proposed the following answer:
Did you import sikuli library properly?

from sikuli import *

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

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


[Sikuli-driver] [Question #270046]: user debug statement doesnt work

2015-08-05 Thread Dan
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.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #270046]: user debug statement doesnt work

2015-08-05 Thread Eugene S
Question #270046 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/270046

Status: Open = Answered

Eugene S proposed the following answer:
I think you should use setUserLogFile without the Debug class.

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

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp