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

Ø character in preview file name causes upload to hang #433

Open
ocaisa opened this issue Nov 6, 2023 · 0 comments
Open

Ø character in preview file name causes upload to hang #433

ocaisa opened this issue Nov 6, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@ocaisa
Copy link

ocaisa commented Nov 6, 2023

Describe the bug
We found out today is that if the filename of a preview file has a ø character it causes the upload of the preview file to hang with no output. This was with PyClowder 2.7.0.

I'd suspect this is also true for other utf8 characters.

To Reproduce
Steps to reproduce the behavior:

  1. Try to upload a preview file using PyClowder which has a ø character in the filename

Expected behavior
Accept any valid filename.

Additional context
I was using the name of a dataset as the file name for video preview. The code already uses the pathvalidate module on that name. For now I've added a filter to remove any non-alphanumeric characters.

@ocaisa ocaisa added the bug Something isn't working label Nov 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant