Bug#460517: awffull: i18n not working: bad path for resource files
Jose Carlos Medeiros wrote: Can you send me more information? Hello Jose, I did this test: # export LC_ALL=it_IT # strace -o awffull_IT.trace awffull --help and this is an excerpt from the trace file: open(/usr/share/locale/locale.alias, O_RDONLY) = 3 fstat(3, {st_mode=S_IFREG|0644, st_size=2586, ...}) = 0 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2b0e600fc000 read(3, # Locale name alias data base.\n#..., 4096) = 2586 read(3, , 4096) = 0 close(3)= 0 munmap(0x2b0e600fc000, 4096)= 0 open(/usr/share/locale/en_IT/LC_MESSAGES/awffull.mo, O_RDONLY) = -1 ENOENT (No such file or directory) open(/usr/share/locale/en/LC_MESSAGES/awffull.mo, O_RDONLY) = -1 ENOENT (No such file or directory) open(/usr/share/locale/en_US/LC_MESSAGES/awffull.mo, O_RDONLY) = -1 ENOENT (No such file or directory) open(/usr/share/locale/en_GB/LC_MESSAGES/awffull.mo, O_RDONLY) = -1 ENOENT (No such file or directory) So awffull is trying to open the file /usr/share/locale/en_IT/LC_MESSAGES/awffull.mo while I suppose it should be instead /usr/share/locale/it/LC_MESSAGES/awffull.mo . Thanks, Alex -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#460517: awffull: i18n not working: bad path for resource files
Hi Alessandro, Can you send me more information? I think awffull is right, look this example, As you can see all localized files are in this location. $ ls -l /usr/share/locale/pt_BR/LC_MESSAGES/ -rw-r--r-- 1 root root 2107 2007-08-31 12:29 adduser.mo -rw-r--r-- 1 root root 94898 2008-01-09 03:47 aptitude.mo -rw-r--r-- 1 root root 30864 2008-01-07 18:53 apt.mo -rw-r--r-- 1 root root 8342 2007-09-17 09:58 atk10.mo -rw-r--r-- 1 root root 30553 2007-12-12 14:24 awffull.mo -rw-r--r-- 1 root root 42171 2008-01-05 20:09 coreutils.mo -rw-r--r-- 1 root root 4516 2007-12-30 13:39 cpio.mo -rw-r--r-- 1 root root 10467 2008-01-08 12:10 debconf.mo Regards Jose Carlos 2008/1/13, Alessandro Polverini [EMAIL PROTECTED]: Package: awffull Version: 3.8.2-1 Severity: important i18n support is wrong, in fact the program is looking for resource files in this path: /usr/share/locale/en_IT/LC_MESSAGES/awffull.mo instead of /usr/share/locale/ -- System Information: Debian Release: lenny/sid APT prefers testing APT policy: (600, 'testing'), (500, 'stable'), (50, 'unstable'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 2.6.21-2-amd64 (SMP w/4 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages awffull depends on: ii debconf [debconf-2.0] 1.5.17 Debian configuration management sy ii libc6 2.7-5GNU C Library: Shared libraries ii libgd2-xpm 2.0.35.dfsg-3GD Graphics Library version 2 ii libgeoip1 1.3.17-1.1 A non-DNS IP-to-country resolver l ii libpcre36.7-1Perl 5 Compatible Regular Expressi ii libpng12-0 1.2.15~beta5-1 PNG library - runtime ii zlib1g 1:1.2.3.3.dfsg-8 compression library - runtime awffull recommends no packages. -- debconf information excluded -- []'s José Carlos
Bug#460517: awffull: i18n not working: bad path for resource files
Package: awffull Version: 3.8.2-1 Severity: important i18n support is wrong, in fact the program is looking for resource files in this path: /usr/share/locale/en_IT/LC_MESSAGES/awffull.mo instead of /usr/share/locale/ -- System Information: Debian Release: lenny/sid APT prefers testing APT policy: (600, 'testing'), (500, 'stable'), (50, 'unstable'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 2.6.21-2-amd64 (SMP w/4 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages awffull depends on: ii debconf [debconf-2.0] 1.5.17 Debian configuration management sy ii libc6 2.7-5GNU C Library: Shared libraries ii libgd2-xpm 2.0.35.dfsg-3GD Graphics Library version 2 ii libgeoip1 1.3.17-1.1 A non-DNS IP-to-country resolver l ii libpcre36.7-1Perl 5 Compatible Regular Expressi ii libpng12-0 1.2.15~beta5-1 PNG library - runtime ii zlib1g 1:1.2.3.3.dfsg-8 compression library - runtime awffull recommends no packages. -- debconf information excluded -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]