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

ROOTFile creates an empty file and errors if file does not exist #163

Closed
tamasgal opened this issue Apr 25, 2022 · 0 comments · Fixed by #164
Closed

ROOTFile creates an empty file and errors if file does not exist #163

tamasgal opened this issue Apr 25, 2022 · 0 comments · Fixed by #164
Labels
bug Something isn't working io Input/Output related

Comments

@tamasgal
Copy link
Member

ROOTFile fails when passing a filename pointing to nowhere:

ROOTFile("foo.root")  # foo.root does not exist

creates an empty file and then errors with

BoundsError: attempt to access 0-element Vector{UInt8} at index [1:4]
@tamasgal tamasgal added bug Something isn't working io Input/Output related labels Apr 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working io Input/Output related
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant