← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #294598]: screenshot is not embedded into the log file of RobotFramework

 

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

    Status: Answered => Open

masuo is still having a problem:
The result was determined by the following code in librarylogger.py
(AppData\Roaming\Sikulix\Lib\robot\output\librarylogger.py)

if threading.currentThread().getName() in LOGGING_THREADS:
    LOGGER.log_message(Message(msg, level, html))

[in my case]
threading.currentThread().getName():'Thread-10'
LOGGING_THREADS:'MainThread', 'RobotFrameworkTimeoutThread'

When I change code as calling LOGGER.log_message() directly, it works.

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.