Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 365631 - media-sound/listen - ImportError: missing python-webkit (recommended) or python-mozembed
Summary: media-sound/listen - ImportError: missing python-webkit (recommended) or pyth...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-01 21:11 UTC by peace
Modified: 2011-09-14 11:18 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description peace 2011-05-01 21:11:24 UTC
After emerge media-sound/listen

listen doesn't work and gives this error message:
> No musicbrainz support (musicbrainz2 missing)
# emerge emerge dev-python/python-musicbrainz
> No musicbrainz support (tunepimp missing or version < 0.5)
# emerge tunepimp
> ImportError: missing python-webkit (recommended) or python-mozembed
# emerge dev-python/pywebkitgtk

I think that the real blocker was pywebkitgtk and that the the first two were just features...

Reproducible: Always

Steps to Reproduce:
1. echo "media-sound/listen" >> /etc/portage/package.accept_keywords
2. emerge media-sound/listen
3. ./listen
Actual Results:  
$ listen
** Message: pygobject_register_sinkfunc is deprecated (GstObject)
No musicbrainz support (musicbrainz2 missing)
GRE_GetGREPathWithProperties failed
Traceback (most recent call last):
  File "listen", line 89, in <module>
    from widget.listen import Listen
  File "/usr/lib64/listen/widget/listen.py", line 35, in <module>
    from widget.source_ui import SourceUI
  File "/usr/lib64/listen/widget/source_ui.py", line 60, in <module>
    from source.wikipedia import WikipediaSource
  File "/usr/lib64/listen/source/wikipedia.py", line 42, in <module>
    from widget.htmlview import HtmlView, get_template
  File "/usr/lib64/listen/widget/htmlview.py", line 49, in <module>
    raise ImportError("missing python-webkit (recommended) or python-mozembed")
ImportError: missing python-webkit (recommended) or python-mozembed
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2011-05-04 03:09:39 UTC
1) Please post your `emerge --info' output too.
2) Did you recently update python or webkit-gtk? Did you run python-updater?
Comment 2 Samuli Suominen (RETIRED) gentoo-dev 2011-05-08 10:35:42 UTC
These deps are optional and shouldn't make the app crash or not start.  The output might appear in terminal, but it shouldn't be fatal.   So pretty much need full output here.
Comment 3 peace 2011-05-08 17:09:11 UTC
This was after a clean install of the system.

emerge --info

Portage 2.1.9.42 (default/linux/amd64/10.0/desktop/gnome, gcc-4.4.5, libc-0-r0, 2.6.38-gentoo-r3 x86_64)
=================================================================
System uname: Linux-2.6.38-gentoo-r3-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_6000+-with-gentoo-1.12.14
Timestamp of tree: Sat, 07 May 2011 11:15:01 +0000
app-shells/bash:     4.1_p9
dev-java/java-config: 2.1.11-r3
dev-lang/python:     2.7.1-r1, 3.1.3-r1
dev-util/cmake:      2.8.4-r1
sys-apps/baselayout: 1.12.14-r1
sys-apps/sandbox:    2.4
sys-devel/autoconf:  2.13, 2.65-r1
sys-devel/automake:  1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.5
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.10
sys-devel/make:      3.81-r2
sys-kernel/linux-headers: 2.6.36.1
sys-libs/glibc:      2.11.3
virtual/os-headers:  0
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA AdobeFlash-10.1"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O3 -march=native -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O3 -march=native -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="ftp://ftp-stud.hs-esslingen.de/pub/Mirrors/gentoo/ ftp://mirror.isoc.org.il/gentoo/ http://mirror.isoc.org.il/pub/gentoo/"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="he en"
MAKEOPTS="-j3"
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"
SYNC="rsync://rsync.fr.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 bash-completion berkdb bidi bluetooth branding bzip2 cairo cdr cli consolekit cracklib crypt css cups cxx dbus dri dts dv dvb dvd dvdr eds emboss encode evo exif fam firefox flac fortran gdbm gdu gif gnome gnome-keyring gpm gstreamer gtk iconv ipv6 jabber java jpeg lcms ldap libnotify mad mmx mng modules mp3 mp4 mpeg mudflap multilib musicbrainz nautilus ncurses nls nptl nptlonly ogg opengl openmp pam pango pcre pdf perl png policykit ppds pppd python qt3support readline sdl session spell sqlite sse sse2 ssl startup-notification static-libs svg sysfs tcpd theora tiff truetype udev unicode usb vorbis vpx x264 xcb xml xorg xulrunner xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci 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 cgi cgid 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" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="he en" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="radeon fglrx" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 4 Pacho Ramos gentoo-dev 2011-09-14 11:18:48 UTC
+*listen-0.6.5-r1 (14 Sep 2011)
+
+  14 Sep 2011; Pacho Ramos <pacho@gentoo.org> -listen-0.6.5.ebuild,
+  +listen-0.6.5-r1.ebuild:
+  Use webkit always due gtkmozembed removal (bug #372247), drop libsexy support
+  as it's deprecated (bug #381209). Remove old.
+


webkit is used now and always depend on it, about musicbrainz, I have just test only a message is shown in terminal but listen still works fine