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

Data logged from a forked child process does not show up in the viewer. #2767

Closed
Victorlouisdg opened this issue Jul 20, 2023 · 2 comments
Closed
Labels
🪳 bug Something isn't working 👀 needs triage This issue needs to be triaged by the Rerun team

Comments

@Victorlouisdg
Copy link

Describe the bug
Data logged from a forked child process does not show up in the viewer. This used to work in rerun version 0.4, but doesn't anymore in 0.7. I'm logging from Python, if I start child processes with the "fork" method (default on Unix), no logs come through. However, if I set multiprocessing.set_start_method("spawn"), the logging works as expected.

To Reproduce

Expected behavior
I expected to see logs from 4 processes, as in the screenshot on the example page, however I only see the log from the parent process.

Screenshots
image

Desktop:

  • OS: Ubuntu 20.04

Rerun version
rerun_py 0.7.0 [rustc 1.69.0 (84c898d65 2023-04-16), LLVM 15.0.7] x86_64-unknown-linux-gnu prepare-0.7 9cf3033, built 2023-06-16T15:47:32Z

@Victorlouisdg Victorlouisdg added 👀 needs triage This issue needs to be triaged by the Rerun team 🪳 bug Something isn't working labels Jul 20, 2023
@Wumpf
Copy link
Member

Wumpf commented Jul 20, 2023

I think this is a duplicate to #1921 which got fixed on main.
Any chance you could give this a spin with the latest dev-build via pip install --pre -f https://build.rerun.io/commit/96f5dde/wheels --upgrade rerun-sdk?

@Victorlouisdg
Copy link
Author

Thanks, I can confirm that solves my issue. After installing that build, all 4 tasks show up in the viewer as expected.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🪳 bug Something isn't working 👀 needs triage This issue needs to be triaged by the Rerun team
Projects
None yet
Development

No branches or pull requests

2 participants