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

Image dumps fail when an invalid character is present #472

Open
TrashBandatcoot opened this issue Aug 1, 2023 · 1 comment
Open

Image dumps fail when an invalid character is present #472

TrashBandatcoot opened this issue Aug 1, 2023 · 1 comment

Comments

@TrashBandatcoot
Copy link

I've tried to download a pretty messy wiki in the hopes to transfer it to Miraheze, but during the dumping process, the very first image failed because characters are present that cannot be used to create a file or folder in Windows, such as question marks or quotation marks.

IOError: [Errno 22] invalid mode ('wb') or filename: u'C:\Users\XXXXX\Desktop\PTW-2/images/3LameStudio what did you do to my boys?.png'

Removing the file from the wiki altogether fixed it.

@nemobis
Copy link
Member

nemobis commented Aug 7, 2023 via email

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

2 participants