-
Notifications
You must be signed in to change notification settings - Fork 338
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
rr.log_file(rec=rec)
results in a type error
#8167
Comments
There's a small type definition bug in the Python SDK. Until we ship a fix, the workaround is simply to call rec = rr.new_recording(application_id="My window", recording_id="My rec", spawn=True)
- rr.log_file_from_path(file_path="file.stl", recording=rec)
+ rr.log_file_from_path(file_path="file.stl", recording=rec.to_native()) |
this still doesn't log to desired recording in case of serve then connect. |
to me more specific:
|
👍 Let's create a separate issue for this: |
log_file_from_path
when specifying recordingrr.log_file(rec=rec)
results in a type error
Thanks, this works now ! |
* Fixes #8167 It is unapologetically disgusting, but at least it works... Someone can come up with a better solution later, I hope? ### Checklist * [x] I have read and agree to [Contributor Guide](https://github.com/rerun-io/rerun/blob/main/CONTRIBUTING.md) and the [Code of Conduct](https://github.com/rerun-io/rerun/blob/main/CODE_OF_CONDUCT.md) * [x] I've included a screenshot or gif (if applicable) * [x] I have tested the web demo (if applicable): * Using examples from latest `main` build: [rerun.io/viewer](https://rerun.io/viewer/pr/8184?manifest_url=https://app.rerun.io/version/main/examples_manifest.json) * Using full set of examples from `nightly` build: [rerun.io/viewer](https://rerun.io/viewer/pr/8184?manifest_url=https://app.rerun.io/version/nightly/examples_manifest.json) * [x] The PR title and labels are set such as to maximize their usefulness for the next release's CHANGELOG * [x] If applicable, add a new check to the [release checklist](https://github.com/rerun-io/rerun/blob/main/tests/python/release_checklist)! * [x] If have noted any breaking changes to the log API in `CHANGELOG.md` and the migration guide - [PR Build Summary](https://build.rerun.io/pr/8184) - [Recent benchmark results](https://build.rerun.io/graphs/crates.html) - [Wasm size tracking](https://build.rerun.io/graphs/sizes.html) To run all checks from `main`, comment on the PR with `@rerun-bot full-check`. To deploy documentation changes immediately after merging this PR, add the `deploy docs` label.
With this code :
I get the following error :
Did I miss something with
log_file_from_path
?The text was updated successfully, but these errors were encountered: