Skip to content

Python 3 visualizer crashes when --html is used #36

Description

@dajiaohuang

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions