Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 336850 - dev-python/spyder-1.1.3 needs PyQt4 with webkit
Summary: dev-python/spyder-1.1.3 needs PyQt4 with webkit
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Andrey Grozin
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-11 17:52 UTC by Aaron Mavrinac (ezod)
Modified: 2010-09-23 21:16 UTC (History)
1 user (show)

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 Aaron Mavrinac (ezod) 2010-09-11 17:52:46 UTC
The dev-python/spyder-1.1.3 ebuild depends on >=dev-python/PyQt4-4.4, but does not specify the "webkit" USE flag. My installed PyQt4 had -webkit, and I got the following error when running spyder:

Traceback (most recent call last):
  File "/usr/lib64/python2.6/site-packages/spyderlib/spyder.py", line 1559, in main
    mainwindow = run_spyder(app, commands, intitle, message, options)
  File "/usr/lib64/python2.6/site-packages/spyderlib/spyder.py", line 1503, in run_spyder
    main.setup()
  File "/usr/lib64/python2.6/site-packages/spyderlib/spyder.py", line 386, in setup
    self.debug, self.closing, self.profile)
  File "/usr/lib64/python2.6/site-packages/spyderlib/plugins/console.py", line 71, in __init__
    self.find_widget.set_editor(self.shell)
  File "/usr/lib64/python2.6/site-packages/spyderlib/widgets/findreplace.py", line 205, in set_editor
    from PyQt4.QtWebKit import QWebView
  File "/usr/lib64/python2.6/site-packages/spyderlib/interpreter.py", line 47, in _import
    result = self.builtin_import(name, globals, locals, fromlist, level)
ImportError: No module named QtWebKit

Re-emerging PyQt4 with +webkit fixed the issue.

Suggested resolution: change the PyQt4 RDEPEND entry to >=dev-python/PyQt4-4.4[webkit].

emerge --info:

Portage 2.2_rc67-r2 (default/linux/amd64/10.0/desktop, gcc-4.4.3, glibc-2.10.1-r1, 2.6.30-gentoo-r4 x86_64)
=================================================================
System uname: Linux-2.6.30-gentoo-r4-x86_64-Intel-R-_Core-TM-2_Duo_CPU_P8700_@_2.53GHz-with-gentoo-2.1.6
Timestamp of tree: Fri, 10 Sep 2010 05:30:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     4.0_p37
dev-lang/python:     2.6.5-r3
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 2.1.6
sys-apps/openrc:     0.6.0
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.65
sys-devel/automake:  1.8.5-r3, 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1
sys-devel/gcc:       4.4.3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
sys-devel/make:      3.81
virtual/os-headers:  2.6.32
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA LOKI-EULA Broadcom PUEL googleearth AdobeFlash-10"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=core2 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests ccache distlocks fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_CA.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--sort-common -Wl,--as-needed"
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"
PORTDIR_OVERLAY="/var/lib/layman/pro-audio /var/lib/layman/sunrise /var/lib/layman/matsuu /var/lib/layman/bazaar /home/aaron/projects/ezod-overlay /home/aaron/projects/tp/git/gentoo-overlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acl acpi alac alsa amd64 berkdb blas branding bzip2 cairo cddb cdr cli consolekit cracklib crypt css cups curl cxx dbus divx dri dts dvd dvdr dvdread emboss encode exif fam fbcon ffmpeg fftw firefox flac foomaticdb fortran gcj gd gdbm gif gimp glut gnuplot gnutls gpm gstreamer gtk hal iconv ieee1394 imap ipv6 jabber jack javascript joystick jpeg kpathsea lame lapack latex lcms ldap libnotify mad mmx mng modules mp3 mp4 mpeg mplayer msn mudflap multilib ncurses nls nptl nptlonly nsplugin nvidia ogg opengl openmp pam pango pcre pdf png ppds pppd python qt3support qt4 quicktime readline reflection rss samba sdl session spell sqlite sse sse2 ssl startup-notification svg sysfs syslog tcpd theora threads tiff truetype unicode usb v4l v4l2 vdpau videos vim-syntax vorbis wavpack wifi wxwidgets x264 xcb xetex xml xorg xpm xulrunner xv xvid 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 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" ELIBC="glibc" FOO2ZJS_DEVICES="hp1000" INPUT_DEVICES="keyboard mouse synaptics virtualbox" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia" 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, FFLAGS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2010-09-23 21:16:56 UTC
  15 Sep 2010; Andrey Grozin <grozin@gentoo.org> -spyder-1.0.3.ebuild,
  spyder-1.1.3.ebuild:
  Now rdepends on PyQt4[webkit], bug #336850, thanks to Aaron Mavrinac
  <mavrinac@gmail.com>