Summary
The Python 3 visualization script crashes instead of writing the requested HTML page when -ht/--html is supplied.
Reproduction
On master, run the documented visualization command against a trace containing at least one call:
python api_calls_viz/api_calls_vis_python3.py -t trace.log -i out.jpeg -ht out.html -of output
The image and legend are written, then the command exits with:
TypeError: create_html_page() missing 1 required positional argument: 'output_folder'
Expected behavior is a successful exit with the requested HTML page written under the output folder. The gen_image call site passes output_folder to the image and legend helpers but omits it for create_html_page, whose definition requires that argument.
Summary
The Python 3 visualization script crashes instead of writing the requested HTML page when
-ht/--htmlis supplied.Reproduction
On
master, run the documented visualization command against a trace containing at least one call:The image and legend are written, then the command exits with:
Expected behavior is a successful exit with the requested HTML page written under the output folder. The
gen_imagecall site passesoutput_folderto the image and legend helpers but omits it forcreate_html_page, whose definition requires that argument.