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

Windows Directory Filename Bug #20

Closed
shadowmoose opened this issue Feb 20, 2018 · 1 comment
Closed

Windows Directory Filename Bug #20

shadowmoose opened this issue Feb 20, 2018 · 1 comment
Labels

Comments

@shadowmoose
Copy link
Owner

shadowmoose commented Feb 20, 2018

There appears to be an interesting issue with Windows directory names, where Windows isn't able to properly handle any directory ending with a trailing space. Despite this, the OS will allow you to create these directories without complaining - but will then be unable to rename/delete the folder through typical means.

Due to the way duplicate file names were handled, this made it possible to end up with directories that Windows secretly can't work with through the UI. The only solution is to delete the problematic directory using its Windows short path, instead of the normal file name (see here).

With the default RMD file pattern, this issue is probably unlikely to happen, however I've pushed out a fix (02eb467) to be sure it won't be capable of generating an infringing directory using any dynamically-inserted values. This will be rolled out soon along-side the new Threading patch.

@shadowmoose
Copy link
Owner Author

As of 2.0, a fixing utility has been bundled with RMD. Please run it if needed, in ./classes/tools/win_file_fixer.py.

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

No branches or pull requests

1 participant