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

Filter out zero-length files on ESRF parser #13

Open
paulmillar opened this issue Apr 24, 2023 · 0 comments
Open

Filter out zero-length files on ESRF parser #13

paulmillar opened this issue Apr 24, 2023 · 0 comments

Comments

@paulmillar
Copy link

Short Description of the issue

The ESRF ICAT+ API sometimes reports files that have zero length.

While a zero-length file is valid, it turns out that the ICAT+ interface uses this to report files for which there was some kind of non-trivial, persistent problem. In effect, these are files for which their data has been "lost".

The practical results is that any attempt to download such files trigger an 500 HTTP status code on the server. It is impossible to transfer such files.

As a practical work-around, it would be helpful if the ESRF DOI parser would filter out zero-length files.

More generally, it may be appropriate for the DOI parser to be extended to support reporting back that some files have been (in some sense) "lost" and cannot be copied.

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