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

url/file information is missing when OSError is raised in fsspec_xrootd/xrootd.py #67

Open
bockjoo opened this issue Aug 24, 2024 · 0 comments

Comments

@bockjoo
Copy link

bockjoo commented Aug 24, 2024

For example,

  File "/home/bockjoo/opt/cmsio9/T2/ops/cmsio/anaconda3/lib/python3.12/site-packages/fsspec_xrootd/xrootd.py", line 216, in _open
    raise OSError(f"Failed to open file: {status.message}")
^^^^^^^^^^^^^^^
OSError: Failed to open file: [ERROR] Operation expired

It fails to open an xrootd file and just says 'Operation expired', but does not show the file (url) name.
I think it needs to include the url.
Any
raise OSError
in the file is missing the file or url information.

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

No branches or pull requests

1 participant