Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Finalize after Ctrl-C #37

Open
jmgate opened this issue Apr 25, 2024 · 0 comments
Open

Finalize after Ctrl-C #37

jmgate opened this issue Apr 25, 2024 · 0 comments
Labels
Type: Bug Something's broken.

Comments

@jmgate
Copy link
Collaborator

jmgate commented Apr 25, 2024

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.

@jmgate jmgate added the Type: Bug Something's broken. label Apr 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Something's broken.
Projects
None yet
Development

No branches or pull requests

1 participant