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

Opening rrd file with same application id as current one does not work #3987

Open
roym899 opened this issue Oct 24, 2023 · 1 comment
Open
Labels
🪳 bug Something isn't working 🐍 Python API Python logging API

Comments

@roym899
Copy link
Collaborator

roym899 commented Oct 24, 2023

Describe the bug
When trying to load a different rrd file with the same application_id as the current one, nothing happens. (both by drag and drop, and by using the load dialog).

Opening from the terminal starts a separate Rerun instance, which I think is good.

To Reproduce
Create two rrd files

import rerun as rr
import numpy as np
import time

rr.init("test", spawn=True)

rr.save("test1.rrd")
rr.log("image", rr.Image(0.3 * np.random.rand(100,100,3)))

time.sleep(5.0)

rr.save("test2.rrd")
rr.log("image", rr.Image(np.random.rand(100,100,3)))

Drag and drop one of the two files into the viewer (rrd file shows up).
Drag and drop the other file into the viewer (-> nothing changes).

Expected behavior
Open the new rrd file. Showing both in the list of recent recordings.

Rerun version

rerun_py 0.10.0-alpha.7+dev [rustc 1.72.1 (d5c2e9c34 2023-09-13), LLVM 16.0.5] x86_64-unknown-linux-gnu main 47414c8, built 2023-10-24T12:00:38Z
@roym899 roym899 added 🪳 bug Something isn't working 👀 needs triage This issue needs to be triaged by the Rerun team labels Oct 24, 2023
@nikolausWest
Copy link
Member

This is probably due to:

tldr: Both rrd files actually have the same application id and recording id because in Python, recording id is set to authkey() by default which is random but constant per process

@nikolausWest nikolausWest added 🐍 Python API Python logging API and removed 👀 needs triage This issue needs to be triaged by the Rerun team labels Oct 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🪳 bug Something isn't working 🐍 Python API Python logging API
Projects
None yet
Development

No branches or pull requests

2 participants