aMule Forum

English => en_Bugs => Topic started by: FreeToGo on October 12, 2009, 04:59:23 PM

Title: The filename is invalid and has been renamed to 'Unknown'.
Post by: FreeToGo on October 12, 2009, 04:59:23 PM
2009-10-12 22:53:40: ThreadTasks.cpp(431): PartFiles: WARNING: The filename '[麦兜响当当].blabla.we.dont.want.to.know.that.nfo' is invalid and has been renamed to 'Unknown'.
Title: Re: The filename is invalid and has been renamed to 'Unknown'.
Post by: Stu Redman on October 13, 2009, 12:23:54 AM
Code: [Select]
CPath dstName = m_filename.Cleanup(true, !PlatformSpecific::CanFSHandleSpecialChars(targetPath));

// Avoid empty filenames ...
if (!dstName.IsOk()) {
dstName = CPath(wxT("Unknown"));
}
File system? OS? aMule version?
Damn, I was too quick editing your file name.  :-[ Did it like have a ':' in it?
Title: Re: The filename is invalid and has been renamed to 'Unknown'.
Post by: Kry on October 13, 2009, 04:29:45 AM
You are starting amuled with an init script, yes? Make sure it doesn't run until the proper environment variables are set for your locale.