Skip to content

Finalize after Ctrl-C #37

@jmgate

Description

@jmgate

If you hit Ctrl-C while ShellLogger is running, the log file isn't finalize()d. We need some way of making sure it's possible to finalize after a crash (regardless of what kind of crash). Need some way of streaming data to file, and then be able to rebuild the JSON and then HTML for the crashed ShellLogger session.

Description

  • What went wrong?
  • What should have happened?
  • Do you have an idea what might fix things?
  • How has this bug affected you?
  • What are you trying to accomplish?

Steps to Reproduce

  1. Machine/OS: [insert here]
  2. Python reproducer:
    # Insert minimal example script here.
  3. stdout from running the script:
    # Paste stdout from the terminal here.
    
  4. stderr from running the script:
    # Paste stderr from the terminal here.
    
  5. HTML log file: [attach here if applicable]

Screenshots

If applicable, add screenshots to help explain your problem.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type: BugSomething's broken.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions