aMule Forum

English => aMule Help => Topic started by: 谦笔小新 on June 24, 2009, 03:39:17 PM

Title: Filenames are Unkown.
Post by: 谦笔小新 on June 24, 2009, 03:39:17 PM
I'm a new GNU/Linux user (Ubuntu distro),
I use 'apt-get' to get amule-deamon and amule-utils.He work very well all way.However ,I find the filenames that amule downloaded all are Unkown ,just liket the image below.How can it show the correct filenames.What shoud I do?
Thanks!
Title: Re: Filenames are Unkown.
Post by: Festor on June 24, 2009, 03:50:41 PM
Ubuntu release?

aMule version?
Title: Re: Filenames are Unkown.
Post by: 谦笔小新 on June 25, 2009, 06:19:02 AM
Ubuntu 8.04
aMule SVN using wxGTK2 v2.8.7 (Snapshot: Mon Feb 18 07:02:15 CET 2008)
Title: Re: Filenames are Unkown.
Post by: woutermense on June 25, 2009, 11:37:03 AM
Same here on amule 2.2.5 / opensuse 10.3

Files with only 'normal' characters are not affected, but if there's accents or any 'foreign' letter, file is renamed to unknown.
Title: Re: Filenames are Unkown.
Post by: Festor on June 25, 2009, 12:51:44 PM
Ubuntu 8.04
aMule SVN using wxGTK2 v2.8.7 (Snapshot: Mon Feb 18 07:02:15 CET 2008)

Please, update  your aMule -> http://www.amule.org/amule/index.php?topic=16647.0

aMule package of Ubuntu 8.04 is a very old svn release.
Title: Re: Filenames are Unkown.
Post by: Stu Redman on June 25, 2009, 09:53:45 PM
I think there's something wrong here - looks like the second argument should be inverted. Introduced in 8565.
Code: (ThreadTasks.cpp:419) [Select]
CPath dstName = m_filename.Cleanup(true, PlatformSpecific::CanFSHandleSpecialChars(targetPath));
Code: (Path.cpp:486) [Select]
CPath CPath::Cleanup(bool keepSpaces, bool isFAT32) constHowever this affects only characters "*<>?|\:
Woutermense, can you give an example?
Title: Re: Filenames are Unkown.
Post by: 谦笔小新 on June 26, 2009, 05:30:26 AM
I think code is difficult for me .em...
Reply:Festor
I'll try to update my amule.
Thanks everybody!
Title: Re: Filenames are Unkown.
Post by: ^marcell^ on June 26, 2009, 02:41:53 PM
I think Stu wants you to simply post a file name with special characters in it. :)
Title: Re: Filenames are Unkown.
Post by: 谦笔小新 on June 26, 2009, 04:52:27 PM
filenames like this :
群星.-.[2009经典发烧唱片·十五靓声 DSD].专辑.(APE).ape
群星.-.[汽车音响测试天碟].专辑.(ape).ape
 ;)
Title: Re: Filenames are Unkown.
Post by: myth on June 26, 2009, 05:24:07 PM
...hehe...lol....i can't even understand them...maybe aMule feels like me :D
Title: Re: Filenames are Unkown.
Post by: Kry on June 26, 2009, 06:01:07 PM
What's your locale?
Title: Re: Filenames are Unkown.
Post by: Stu Redman on June 26, 2009, 10:07:14 PM
Just downloaded 群星.-.[汽车音响测试天碟].专辑.mp3 with no problems (Ubuntu Jaunty, ext3).
Title: Re: Filenames are Unkown.
Post by: 谦笔小新 on June 27, 2009, 06:48:49 AM
Maybe I have to update my ubuntu to 9.04?
Title: Re: Filenames are Unkown.
Post by: Kry on June 27, 2009, 07:17:42 AM
Just answer me
Title: Re: Filenames are Unkown.
Post by: 谦笔小新 on June 27, 2009, 08:11:14 AM
China,do you mean where I am? I must draw support from the dictionary to translate,because of my poor english .em...
Title: Re: Filenames are Unkown.
Post by: wuischke on June 27, 2009, 09:22:11 AM
Hi,

please open a terminal program and type "locale". Then write the output here. :)
Title: Re: Filenames are Unkown.
Post by: 谦笔小新 on June 27, 2009, 09:26:07 AM
 ;)
LANG=zh_CN.UTF-8
LC_CTYPE="zh_CN.UTF-8"
LC_NUMERIC="zh_CN.UTF-8"
LC_TIME="zh_CN.UTF-8"
LC_COLLATE="zh_CN.UTF-8"
LC_MONETARY="zh_CN.UTF-8"
LC_MESSAGES="zh_CN.UTF-8"
LC_PAPER="zh_CN.UTF-8"
LC_NAME="zh_CN.UTF-8"
LC_ADDRESS="zh_CN.UTF-8"
LC_TELEPHONE="zh_CN.UTF-8"
LC_MEASUREMENT="zh_CN.UTF-8"
LC_IDENTIFICATION="zh_CN.UTF-8"
LC_ALL=
Title: Re: Filenames are Unkown.
Post by: woutermense on June 27, 2009, 03:44:25 PM
ä and ü characters trigger this for example

locale amule is running in:
Code: [Select]
LANG=POSIX
LC_CTYPE="POSIX"
LC_NUMERIC="POSIX"
LC_TIME="POSIX"
LC_COLLATE="POSIX"
LC_MONETARY="POSIX"
LC_MESSAGES="POSIX"
LC_PAPER="POSIX"
LC_NAME="POSIX"
LC_ADDRESS="POSIX"
LC_TELEPHONE="POSIX"
LC_MEASUREMENT="POSIX"
LC_IDENTIFICATION="POSIX"
LC_ALL=
Title: Re: Filenames are Unkown.
Post by: skolnick on July 25, 2009, 07:44:33 AM
woutermense: I think you should change your locale to some locale that will contain the characters you use. Maybe de_DE.iso88591 will work. To see your available locales, type "locale -a" (no quotes) in your terminal window.

Regards.
Title: Re: Filenames are Unkown.
Post by: ralse on September 21, 2010, 01:08:37 PM
same problem on my linkstation

Debian
Linux Linkstation 2.6.30.5 #1 Wed Aug 19 06:29:20 CDT 2009 ppc GNU/Linux

amule 2.2.6 + wxgtx 2.8.11

my locale
Code: [Select]
LANG=zh_TW.UTF-8
LC_CTYPE="zh_TW.UTF-8"
LC_NUMERIC="zh_TW.UTF-8"
LC_TIME="zh_TW.UTF-8"
LC_COLLATE="zh_TW.UTF-8"
LC_MONETARY="zh_TW.UTF-8"
LC_MESSAGES="zh_TW.UTF-8"
LC_PAPER="zh_TW.UTF-8"
LC_NAME="zh_TW.UTF-8"
LC_ADDRESS="zh_TW.UTF-8"
LC_TELEPHONE="zh_TW.UTF-8"
LC_MEASUREMENT="zh_TW.UTF-8"
LC_IDENTIFICATION="zh_TW.UTF-8"
LC_ALL=zh_TW.UTF-8

use screen to run amuled after ssh login...
Code: [Select]
screen -dmS amuled amuled

Add command under amuled works fine and show dl looks good.
But after download completed, file will renamed to unknown~

configure for wxGTK
Code: [Select]
./configure --prefix=/usr --with-gtk --enable-unicode --disable-compat24 --enable-optimise

configure for amule
Code: [Select]
./configure --disable-debug --disable-monolithic --enable-optimize --enable-amule-daemon --enable-amulecmd --enable-webserver --enable-alcc --with-language=zh_TW
Title: Re: Filenames are Unkown.
Post by: ralse on September 22, 2010, 12:00:19 PM
I fixed it.

After recompile wxgtk and amule with new configure, these problem were gone.

wxgtk 2.8.11
Code: [Select]
./configure --prefix=/usr --with-gtk --enable-unicode --disable-compat24 --enable-optimise --disable-gui --without-subdirs --without-expat

amule 2.2.6
Code: [Select]
./configure --disable-debug --enable-optimize --disable-monolithic --enable-amule-daemon --enable-amulecmd --enable-webserver --with-toolkit=base --with-language=zh_TW
Title: Re: Filenames are Unkown.
Post by: GonoszTopi on September 22, 2010, 12:28:36 PM
Good to know there exists a solution.