Is there any way to generate log.html when I have debug.log?

I haven’t been able to generate log.html due to an interrupted execution, but I have e.g. debug.log. Is there any hope that log.html will be generated in such situations?
How to do it?

You can recover part of the output.xml, to generate log.html.

I have a tool for this at: GitHub - HelioGuilherme66/xml_repair_tool: This tool completes missing closed XML tags, thus allowing to use some info from a valid XML.

No instructions, but you do:

  1. python xml_repair_tool.py output.xml > fix_output.xml
  2. cat output.xml fix_output.xml > fixed_output.xml
  3. rebot fixed_output.xml

On a Windows cmd window, you need to replace:

 2. copy /b output.xml+fix_output.xml fixed_output.xml
3 Likes

Thank you very much.
Can you adapt print for Python3?

Of course :slight_smile:

I will.