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

TTreeViewer save session absolute path #16562

Open
1 task
ferdymercury opened this issue Sep 30, 2024 · 0 comments · May be fixed by #16570
Open
1 task

TTreeViewer save session absolute path #16562

ferdymercury opened this issue Sep 30, 2024 · 0 comments · May be fixed by #16570
Labels

Comments

@ferdymercury
Copy link
Collaborator

ferdymercury commented Sep 30, 2024

Check duplicate issues.

  • Checked for duplicates

Description

When I open a TFile with a classic TBrowser, right click on a Ttree, StartViewer, then File Save source, /tmp/session.C, and then File load Session, and I select that file, I get an error.
Reason is that the created macro contains the slash verbatim as the name of the main function, rather than stripping the part of the path that is the basedir.

Reproducer

See above

ROOT version

6.32.04

Installation method

Binary

Operating system

Ubuntu 24

Additional context

std filesystem might help here

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

Successfully merging a pull request may close this issue.

1 participant