Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 200196
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Samuli Suominen <ssuominen@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Gian Luca Dalla Torre <gianluca.dallatorre@tiscali.it>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 200196 depends on: Show dependency tree
Bug 200196 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2007-11-24 14:53 0000
Using Exaile 0.2.11, it is impossible to get Artist or Track information.
It seems that it crashes when it tries to load the embedded mozilla browser.
No info are tracked into console which states:

which: no serpentine in
(/usr/local/bin:/usr/bin:/bin:/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/4.1.2:/usr/games/bin)
which: no k3b in
(/usr/local/bin:/usr/bin:/bin:/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/4.1.2:/usr/games/bin)
which: no serpentine in
(/usr/local/bin:/usr/bin:/bin:/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/4.1.2:/usr/games/bin)
which: no k3b in
(/usr/local/bin:/usr/bin:/bin:/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/4.1.2:/usr/games/bin)
Plugins 'IM Status' version '0.12.1' loaded successfully
Plugins 'Condivisione della musica' version '0.7.9' loaded successfully
Plugins 'Driver per iPod' version '0.4.5' loaded successfully
Created db for thread Thread-2
{'Thread-2': <sqlite3.Connection object at 0x87ffa70>}
Using multimedia keys from: gnome
Closed db for thread Thread-2
Starting scan timer at 25.0
loading tracks...
done loading tracks...
loading songs
Clearing tracks cache
Importing /home/torre/.exaile/saved/playlist0000.m3u
Last playlist loaded
Loading page 0
which: no serpentine in
(/usr/local/bin:/usr/bin:/bin:/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/4.1.2:/usr/games/bin)
which: no k3b in
(/usr/local/bin:/usr/bin:/bin:/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/4.1.2:/usr/games/bin)
WARNING: get_config called for 'cache', use get_cache instead
  File "/usr/lib/exaile/exaile.py", line 144, in <module>
    main()
  File "/usr/lib/exaile/exaile.py", line 140, in main
    gtk.main()
  File "/usr/lib/exaile/xl/gui/playlist.py", line 966, in get_track_information
    information.show_information(self.exaile, t)
  File "/usr/lib/exaile/xl/gui/information.py", line 44, in show_information
    return TrackInformation(exaile, track)
  File "/usr/lib/exaile/xl/gui/information.py", line 307, in __init__
    self.setup_tabs(track)
  File "/usr/lib/exaile/xl/gui/information.py", line 335, in setup_tabs
    self.append_page(WikipediaTab(self.exaile, artist),
  File "/usr/lib/exaile/xl/gui/information.py", line 181, in __init__
    self.browser = xlmisc.BrowserWindow(exaile, url)
  File "/usr/lib/exaile/xl/xlmisc.py", line 878, in __init__
    self.cache_dir = xl.path.get_config('cache')
  File "/usr/lib/exaile/xl/path.py", line 65, in get_config
    traceback.print_stack()
WARNING: get_config called for 'cache', use get_cache instead
  File "/usr/lib/exaile/exaile.py", line 144, in <module>
    main()
  File "/usr/lib/exaile/exaile.py", line 140, in main
    gtk.main()
  File "/usr/lib/exaile/xl/gui/playlist.py", line 966, in get_track_information
    information.show_information(self.exaile, t)
  File "/usr/lib/exaile/xl/gui/information.py", line 44, in show_information
    return TrackInformation(exaile, track)
  File "/usr/lib/exaile/xl/gui/information.py", line 307, in __init__
    self.setup_tabs(track)
  File "/usr/lib/exaile/xl/gui/information.py", line 340, in setup_tabs
    self.append_page(WikipediaTab(self.exaile, album),
  File "/usr/lib/exaile/xl/gui/information.py", line 181, in __init__
    self.browser = xlmisc.BrowserWindow(exaile, url)
  File "/usr/lib/exaile/xl/xlmisc.py", line 878, in __init__
    self.cache_dir = xl.path.get_config('cache')
  File "/usr/lib/exaile/xl/path.py", line 65, in get_config
    traceback.print_stack()
WARNING: get_config called for 'cache', use get_cache instead
  File "/usr/lib/exaile/exaile.py", line 144, in <module>
    main()
  File "/usr/lib/exaile/exaile.py", line 140, in main
    gtk.main()
  File "/usr/lib/exaile/xl/gui/playlist.py", line 966, in get_track_information
    information.show_information(self.exaile, t)
  File "/usr/lib/exaile/xl/gui/information.py", line 44, in show_information
    return TrackInformation(exaile, track)
  File "/usr/lib/exaile/xl/gui/information.py", line 307, in __init__
    self.setup_tabs(track)
  File "/usr/lib/exaile/xl/gui/information.py", line 342, in setup_tabs
    self.append_page(LyricsTab(self.exaile, self, track),
  File "/usr/lib/exaile/xl/gui/information.py", line 145, in __init__
    self.text = xlmisc.BrowserWindow(exaile, None)#, True)
  File "/usr/lib/exaile/xl/xlmisc.py", line 878, in __init__
    self.cache_dir = xl.path.get_config('cache')
  File "/usr/lib/exaile/xl/path.py", line 65, in get_config
    traceback.print_stack()
http://lyricwiki.org/api.php?artist=Adriano+Celentano&song=Hai+Bucato+La+Mia+Vita&fmt=html
WARNING: get_config called for 'cache', use get_cache instead
  File "/usr/lib/exaile/exaile.py", line 144, in <module>
    main()
  File "/usr/lib/exaile/exaile.py", line 140, in main
    gtk.main()
  File "/usr/lib/exaile/xl/gui/playlist.py", line 966, in get_track_information
    information.show_information(self.exaile, t)
  File "/usr/lib/exaile/xl/gui/information.py", line 44, in show_information
    return TrackInformation(exaile, track)
  File "/usr/lib/exaile/xl/gui/information.py", line 307, in __init__
    self.setup_tabs(track)
  File "/usr/lib/exaile/xl/gui/information.py", line 362, in setup_tabs
    self.append_page(TablatureTab(self, track),
  File "/usr/lib/exaile/xl/gui/information.py", line 83, in __init__
    'tablature_%s.tablature' % md5.new(self.url).hexdigest())
  File "/usr/lib/exaile/xl/path.py", line 65, in get_config
    traceback.print_stack()

And suddently crashes.

Reproducible: Always

Steps to Reproduce:
1.Open Exaile
2.Load tracks into a list
3.Right click on a track
4.Choose information (it opens into the stat tab).
5.Choose Artist tab.

Actual Results:  
Exaile suddentlry crashes.

Expected Results:  
Exaile shows up an embedded browser with the info requested.

My emerge --info:

Portage 2.1.4_rc3 (default-linux/x86/2007.0/desktop, gcc-4.1.2, glibc-2.6.1-r0,
2.6.22-gentoo-r9 i686)
=================================================================
System uname: 2.6.22-gentoo-r9 i686 AMD Athlon(tm) Processor
Timestamp of tree: Sat, 24 Nov 2007 09:30:01 +0000
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7, 2.1.2-r1
dev-lang/python:     2.5.1-r3
sys-apps/baselayout: 1.12.9-r2
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.22-r2
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf
/etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=athlon -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans
userfetch"
GENTOO_MIRRORS="http://mirror.switch.ch/ftp/mirror/gentoo/
http://www.die.unipd.it/pub/Linux/distributions/gentoo-sources/"
LANG="it_IT"
LINGUAS="it"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress
--force --whole-file --delete --delete-after --stats --timeout=180
--exclude=/distfiles --exclude=/local --exclude=/packages
--filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X Xaw3d a52 aac acl acpi alsa amr amrnb amrwb amuled apm
artworkextra async automount avahi bash-completion berkdb bidi big-tables
bitmap-fonts bl branding bzip2 cairo cddb cdio cdparanoia cdr cli cracklib
crypt cups curl daap daemon dbus dga djvu dri dts dv dvb dvd dvdr dvdread eds
emboss enca encode equalizer esd evo expat fam fasttrack ffmpeg fftw firefox
flac fontconfig fortran fpx ftp galago gd gdbm gdl gif glitz gmail gmedia gnome
gnomecanvas gpm graphviz gs gstreamer gtk gtkhtml guile hal hfs howl-compat
hybrid-auth iconv idle idn imap imlib ipod isdnlog java jbig jpeg jpeg2k
kerberos keyring lcms ldap libnotify libsamplerate libsexy lzo mad magic md5sum
mdnsresponder-compat midi mikmod mmap mmx mmxext mng motif mp2 mp3 mpeg mudflap
musepack musicbrainz mysql nas ncurses nemesi network nfs nls nntp nptl
nptlonly nsplugin nvtv ogg openal openexr opengl openmp oss pam pcre pdf perl
png pnm pop postgres ppds pppd prediction profile pulseaudio python qt3support
quicktime rar readline real reflection regex remote rle rtc samba script sdl
session slp sndfile soundex speex spell spl sqlite sqlite3 srt srv ssl stats
svg svga swat syslog tagwriting tcl tcpd tga theora threads tiff tk toolbar
trayicon truetype truetype-fonts type1-fonts unicode usb vidix vim-syntax
vorbis vorbis-psy wideband win32codecs wmf wmp x264 x86 xanim xattr xforms
xhtml xml xmldoclet xorg xpm xprint xv xvid xvmc zlib zoran"
ALSA_CARDS="emu10k1" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop
empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi
null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard
mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216
lcdm001 mtxorb ncurses text" LINGUAS="it" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS,
PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS,
PORTDIR_OVERLAY

------- Comment #1 From Gian Luca Dalla Torre 2007-11-26 22:08:43 0000 -------
After 0.2.11-r1 update, the crash persists. Additionaly, sometimes, I have a
segmentation fault.

------- Comment #2 From Gian Luca Dalla Torre 2007-11-26 22:19:12 0000 -------
Found something into the Exaile bugs tracking:
https://bugs.launchpad.net/exaile/+bug/162430

------- Comment #3 From Gian Luca Dalla Torre 2007-11-26 22:29:48 0000 -------
At last, I found the solution, following the Exaile bug I linked above.

In the /usr/bin/exaile script, if I comment MOZILLA_FIVE_HOME and
LD_LIBRARY_PATH, all works fine.

It is a workaround introduced to make Exaile working with Debian Based Distro,
but it does not work in Gentoo.If you modify with a patch this script avoiding
the exports, Exaile will behave correctly.

------- Comment #4 From Víctor Enríquez 2007-11-28 11:14:45 0000 -------
Same problem here, and it's solved if I comment MOZILLA_FIVE_HOME and
LD_LIBRARY_PATH thanks!!.

------- Comment #5 From Samuli Suominen 2007-11-28 15:43:37 0000 -------
Thanks guys,

Using commit message:
------------------------------------------------------------------------------
Don't export LD_LIBRARY_PATH or MOZILLA_FIVE_HOME at all wrt #200196, thanks to
Gian Luca Dalla Tore.
(Portage version: 2.1.4_rc3)

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug