wikiteam
wikiteam copied to clipboard
Image dumps fail when an invalid character is present
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.
I'm sorry but Windows isn't an officially supported system on which to run wikiteam software. Things are going to be easier in GNU/Linux (e.g. Debian 11), although some are using WSL as well. If you plan to reimport the wiki elsewhere, it's advisable to use a filesystem similar to the source and destination servers (unless you plan to fix all files manually later).