aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: The filename is invalid and has been renamed to 'Unknown'.  (Read 2444 times)

FreeToGo

  • Jr. Member
  • **
  • Karma: 3
  • Offline Offline
  • Posts: 65
The filename is invalid and has been renamed to 'Unknown'.
« 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'.
« Last Edit: October 13, 2009, 12:19:50 AM by Stu Redman »
Logged
You can mock me. I can take it.

Stu Redman

  • Administrator
  • Hero Member
  • *****
  • Karma: 214
  • Offline Offline
  • Posts: 3739
  • Engines screaming
Re: The filename is invalid and has been renamed to 'Unknown'.
« Reply #1 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?
Logged
The image of mother goddess, lying dormant in the eyes of the dead, the sheaf of the corn is broken, end the harvest, throw the dead on the pyre -- Iron Maiden, Isle of Avalon

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: The filename is invalid and has been renamed to 'Unknown'.
« Reply #2 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.
Logged