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

Occasional Generation of Improper Folder Names in WSL #226

Open
wolooceanNA opened this issue Jul 10, 2024 · 0 comments
Open

Occasional Generation of Improper Folder Names in WSL #226

wolooceanNA opened this issue Jul 10, 2024 · 0 comments

Comments

@wolooceanNA
Copy link

wolooceanNA commented Jul 10, 2024

I'm encountering an issue where, after running certain operations in WSL (Windows Subsystem for Linux), some folders are generated with names that appear to be invalid or unrecognized when accessed from Windows. These folders, however, work normally within WSL.

Steps to Reproduce:

Run the marker_single operation in WSL that involves creating folders from file names derived from PDF named 'Changes in the marine environment of Port Kembla Harbour, NSW, Australia, 1975-1995 a review..pdf'.
Attempt to access these folders from Windows.
Expected Behavior:
The folders should be accessible and manageable from both WSL and Windows environments without issues.

Actual Behavior:
The folders are cannot open or delete in Windows, and file manager prompts the folder do not exist, making any operation on them impossible.

Possible Cause:
It seems that the folder names may include special characters from the original PDFs that are not compatible with Windows file system norms.

Suggested Solution:
A potential solution could be to implement a naming sanitation process that strips or replaces special characters during the folder creation phase in the script or application.

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