I'm importing some blogs into a WPMU install and selecting import attachments to make sure images get imported. I noticed a lot of errors like this:
# Importing attachment http://renegade.animeblogger.net/wp-content/uploads/Nintendo consoles.gif... Remote file error: Remote file returned error response 404 Not Found
# Importing attachment http://renegade.animeblogger.net/wp-content/uploads/Sony Consoles.gif... Remote file error: Remote file returned error response 404 Not Found
# Importing attachment http://renegade.animeblogger.net/wp-content/uploads/Sega Consoles.gif... Remote file error: Remote file returned error response 404 Not Found
# Importing attachment http://renegade.animeblogger.net/wp-content/uploads/MS Consoles.gif... Remote file error: Remote file returned error response 404 Not Found
But those images do exist:
[renegade@mei ~]$ cd renegade.animeblogger.net/wp-content/uploads/
[renegade@mei uploads]$ ls -lsa | grep -i console
4 -rw-r--r-- 1 renegade bloggers 2766 2006-06-21 15:15 MS Consoles.gif
4 -rw-r--r-- 1 renegade bloggers 2713 2006-06-21 15:15 MS Consoles.thumbnail.gif
4 -rw-r--r-- 1 renegade bloggers 3392 2006-06-21 15:14 Nintendo consoles.gif
4 -rw-r--r-- 1 renegade bloggers 3315 2006-06-21 15:14 Nintendo consoles.thumbnail.gif
4 -rw-r--r-- 1 renegade bloggers 3193 2006-06-21 15:15 Sega Consoles.gif
4 -rw-r--r-- 1 renegade bloggers 3309 2006-06-21 15:15 Sega Consoles.thumbnail.gif
4 -rw-r--r-- 1 renegade bloggers 3179 2006-06-21 15:15 Sony Consoles.gif
4 -rw-r--r-- 1 renegade bloggers 2946 2006-06-21 15:15 Sony Consoles.thumbnail.gif
Looking at the error log for that blog I see the following:
[Fri Apr 24 21:57:03 2009] [error] [client 76.73.8.162] File does not exist: /home/renegade/renegade.animeblogger.net/wp-content/uploads/Nintendo
[Fri Apr 24 21:57:03 2009] [error] [client 76.73.8.162] File does not exist: /home/renegade/renegade.animeblogger.net/wp-content/uploads/Sony
[Fri Apr 24 21:57:04 2009] [error] [client 76.73.8.162] File does not exist: /home/renegade/renegade.animeblogger.net/wp-content/uploads/Sega
[Fri Apr 24 21:57:04 2009] [error] [client 76.73.8.162] File does not exist: /home/renegade/renegade.animeblogger.net/wp-content/uploads/MS
The importer's chopping off the names at the space apparently. It did this for every attachment that had a space in it. I had planned to import a lot of dead blogs into a WPMU install to preserve content and lower maintenance. This bug has that work more or less stopped now. :(
I've been trying to figure out where it's occurring but it's beyond me, I'm just not familiar enough with the codebase.