Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 279820 - =media-sound/audacious-2.1 doesn't show anything but english characters in id3 tags
Summary: =media-sound/audacious-2.1 doesn't show anything but english characters in id...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-31 20:07 UTC by Matthew Schultz
Modified: 2009-11-15 08:45 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
patch resolves "invalid UTF-8 char" problem (chardet.c.patch,759 bytes, patch)
2009-08-10 18:39 UTC, Alexey E. Potapov
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Matthew Schultz 2009-07-31 20:07:27 UTC
=media-sound/audacious-2.1 doesn't show anything but english characters in id3 tags.  This was not a problem in audacious-2.0.1.  This looks like a regression.  

Here are examples of characters that don't work:

æäöфйас




Reproducible: Always

Steps to Reproduce:
1. Open audacious.
2. View mp3 files in the playlist with non-english characters in the id3 tag
Actual Results:  
??????? ???????? (invalid UTF-8) - ??????? ???????? (invalid UTF-8)

Expected Results:  
фоо бар - фоо бар

locale -a
C
en_US
en_US.iso88591
en_US.utf8
POSIX
ru_RU
ru_RU.iso88595
ru_RU.koi8r
ru_RU.utf8
russian

emerge --info
Portage 2.1.6.13 (default/linux/amd64/2008.0, gcc-4.3.2, glibc-2.9_p20081201-r2, 2.6.30-gentoo-r4 x86_64)
=================================================================
System uname: Linux-2.6.30-gentoo-r4-x86_64-Intel-R-_Core-TM-2_CPU_T7200_@_2.00GHz-with-gentoo-2.0.0
Timestamp of tree: Fri, 31 Jul 2009 14:15:01 +0000
distcc 3.1 x86_64-pc-linux-gnu [disabled]
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7-r1, 2.1.8-r1
dev-lang/python:     2.4.4-r13, 2.5.4-r3, 2.6.2-r1
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.6.2-r1
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.4.3-r3
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -O2 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=core2 -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://portage.home http://gentoo.cites.uiuc.edu/pub/gentoo/ http://gentoo.mirrors.easynews.com/linux/gentoo/ http://mirror.phy.olemiss.edu/mirror/gentoo"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="en ru"
MAKEOPTS="-j6"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/layman/sajinet /usr/local/portage/layman/sunrise /usr/local/portage"
SYNC="rsync://server.home/gentoo-portage"
USE="X a52 aac acl acpi adns alsa amd64 apache2 audiofile avi bcmath bdf berkdb bzip2 calendar cdda cddb cdparanoia cdr cjk clamav cli cpudetection cracklib crypt ctype cups curl curlwrappers dbus dga directfb dri dts dvb dvd dvdread emu-linux-x86 encode exif fbcon ffmpeg flac foomaticdb fortran ftp gd gdbm gif gmp gnutls gpm gsm gtk gtk2 gzip hal hash iconv ieee1394 imagemagick imap imlib innodb ipv6 isdnlog ithreads java java6 javascript jpeg jpeg2k json kde lcms ldap ldap-sasl libcaca logrotate lzo mad matroska mcal mhash midi mime mjpeg mmx mmxext mng mp3 mp4 mpeg msession msn mudflap multilib mysql mysqli ncurses network nls nptl nptlonly nsplugin nss nvidia offensive ogg openal opengl openmp osc oss pam pcntl pcre pdf pdo pear perl pg-intdatetime php png posix postgres ppds pppd python qt qt3 qt3support qt4 quicktime readline reflection rtc samba sasl sdl seamonkey session simplexml soap sockets spell spl sqlite sse sse2 ssl ssse3 subversion suhosin svg sysfs syslog tcpd theora threads tidy tiff tokenizer transcode truetype unicode usb utempter v4l v4l2 vcd vorbis wddx wifi wxwindows x264 xcomposite xforms xine xml xorg xpm xsl xv xvid xvmc zip zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en ru" USERLAND="GNU" VIDEO_CARDS="nvidia nv vesa fbdev v4l"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Tony Vroon (RETIRED) gentoo-dev 2009-07-31 20:52:59 UTC
Enable USE="chardet" for non-UTF8 special characters. Do not interfere with stable keyword requests again.
Comment 2 Matthew Schultz 2009-07-31 22:09:43 UTC
Uh, I already tested with that use flag.  That didn't work either.  
Comment 3 Matthew Schultz 2009-07-31 22:11:45 UTC
Also I did not have chardet use flag enabled for 2.0.1 and it worked in that situation.
Comment 4 Matthew Schultz 2009-07-31 22:15:30 UTC
(In reply to comment #1)
> Enable USE="chardet" for non-UTF8 special characters. Do not interfere with
> stable keyword requests again.
> 

Apparently ACTUAL testing has nothing to do with stabilization.
Comment 5 Wormo (RETIRED) gentoo-dev 2009-08-01 05:56:38 UTC
Does sound like a regression.. could you post the build log from when you built audacious? Bonus point for also attaching the log from the audacious version that correctly shows utf-8 ;)
Comment 6 Matthew Schultz 2009-08-01 20:23:38 UTC
Ok apparently there isn't anything wrong.  I am able to see non-english characters again instead of question marks with 2.1 now.  I solved the problem by removing the entire play list and reloading the play list from my xspf file.  It seems to work now.  Something must have been interfering with the play list after I upgraded audacious.  It was quite persistent since it was a problem even after reboot but now appears to be ok.
Comment 7 Alexey E. Potapov 2009-08-10 18:36:41 UTC
Hi!
I had the same bug and as far as can see this bug is really resolved with help of of the patch from this link "Audacious [PATCH] charset detection is broken" - http://jira.atheme.org/browse/AUD-36.

Could you please include this patch in the portage tree.

Thanks.
Comment 8 Alexey E. Potapov 2009-08-10 18:39:32 UTC
Created attachment 200853 [details, diff]
patch resolves "invalid UTF-8 char" problem
Comment 9 Yaroslav Gorbunov 2009-08-19 20:52:12 UTC
I have this problem and reloading files in play list don't solve it.
But patch work well. 
ebuild and patch are available in yarik-overlay

emerge --info media-sound/audacious
Portage 2.2_rc38 (default/linux/x86/2008.0, gcc-4.3.3, glibc-2.8_p20080602-r1, 2.6.30-gentoo-r4 i686)
=================================================================
                        System Settings
=================================================================
System uname: Linux-2.6.30-gentoo-r4-i686-AMD_Sempron-tm-_2400+-with-gentoo-1.12.11.1
Timestamp of tree: Wed, 19 Aug 2009 04:00:01 +0000
distcc 3.1 i686-pc-linux-gnu [enabled]
ccache version 2.3 [enabled]
app-shells/bash:     3.2_p39
dev-java/java-config: 2.1.8-r1
dev-lang/python:     2.4.4-r13, 2.5.4-r3, 2.6.2-r1
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.6.4
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=native -pipe -fomit-frame-pointer -ftree-vectorize -mmmx -msse -m3dnow"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=native -pipe -fomit-frame-pointer -ftree-vectorize -mmmx -msse -m3dnow"
DISTDIR="/mnt/g/distfiles"
FEATURES="assume-digests ccache distcc distlocks fixpackages parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://mirror.yandex.ru/gentoo-distfiles/"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--sort-common -Wl,--as-needed"
LINGUAS="en ru"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/mnt/g/var2/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/layman/berkano /usr/local/portage/layman/desktop-effects /usr/local/portage/layman/yarik-overlay /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage/"
USE="3dnow 3dnowext X acl alsa berkdb bzip2 cli cracklib crypt cups dri flac fortran fuse gdbm gpm iconv isdnlog kde kdeenablefinal mmx mmxext mudflap ncurses nls nptl nptlonly opengl openmp pam pcre perl pppd python readline reflection samba session spl sse ssl sysfs tcpd unicode userlocales x86 xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en ru" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

=================================================================
                        Package Settings
=================================================================

media-sound/audacious-2.1 was built with the following:
USE="chardet nls session (-altivec) -libsamplerate -sse2"
Comment 10 olo 2009-11-15 08:45:01 UTC
could someone tell you how to patch manually? thanks a lot