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

Report Builder Bug #412

Closed
yilin412 opened this issue Mar 15, 2024 · 1 comment · Fixed by #419
Closed

Report Builder Bug #412

yilin412 opened this issue Mar 15, 2024 · 1 comment · Fixed by #419

Comments

@yilin412
Copy link

report_builder.py line 77: except json.JSONDecodeError

json is not imported when user has orjson installed.

Btw, this bug was found when using multiprocessing.Pool on Windows. I guess the exception here is what you called "there’s no way to gracefully catch the exit of the process."

@gaogaotiantian
Copy link
Owner

Ah, interesting. Yes, there's nothing we can do to make multiprocessing.Pool work with viztracer. The bug however, is real, we should not catch json.JSONDecodeError when we are using orjson.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants