Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 266799 - sci-visualization/mayavi-3.2.0 starting requires wx although -wxwindows is set.
Summary: sci-visualization/mayavi-3.2.0 starting requires wx although -wxwindows is set.
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-19 19:04 UTC by Luyang Han
Modified: 2009-06-24 05:04 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 Luyang Han 2009-04-19 19:04:33 UTC
Mayavi is installed as follow:
sci-visualization/mayavi-3.2.0  USE="examples qt4 -doc -wxwindows"

however starting mayavi still requires wx:
~ $ mayavi2
/usr/lib64/python2.6/site-packages/enthought/preferences/scoped_preferences.py:6: DeprecationWarning: the sets module is deprecated
  import sets
Traceback (most recent call last):
  File "/usr/bin/mayavi2", line 8, in <module>
    load_entry_point('Mayavi==3.2.0', 'console_scripts', 'mayavi2')()
  File "//usr/lib64/python2.6/site-packages/enthought/mayavi/scripts/mayavi2.py", line 637, in main
    mayavi.main(sys.argv[1:])
  File "//usr/lib64/python2.6/site-packages/enthought/mayavi/plugins/app.py", line 190, in main
    app.run()
  File "//usr/lib64/python2.6/site-packages/enthought/envisage/ui/workbench/workbench_application.py", line 106, in run
    window.open()
  File "//usr/lib64/python2.6/site-packages/enthought/pyface/workbench/workbench_window.py", line 144, in open
    self._create()
  File "//usr/lib64/python2.6/site-packages/enthought/pyface/ui/qt4/application_window.py", line 111, in _create
    contents = self._create_contents(self.control)
  File "//usr/lib64/python2.6/site-packages/enthought/pyface/workbench/workbench_window.py", line 221, in _create_contents
    self._initial_layout = self.layout.get_view_memento()
  File "//usr/lib64/python2.6/site-packages/enthought/pyface/ui/qt4/workbench/workbench_window_layout.py", line 188, in get_view_memento
    view_ids = [v.id for v in self.window.views if self.contains_view(v)]
  File "//usr/lib64/python2.6/site-packages/enthought/envisage/ui/workbench/workbench_window.py", line 155, in _views_default
    return [factory(window=self) for factory in self._views]
  File "//usr/lib64/python2.6/site-packages/enthought/logger/plugin/logger_plugin.py", line 107, in _logger_view_factory
    from enthought.logger.plugin.view.logger_view import LoggerView
  File "//usr/lib64/python2.6/site-packages/enthought/logger/plugin/view/logger_view.py", line 18, in <module>
    from enthought.logger.agent.quality_agent_view import QualityAgentView
  File "//usr/lib64/python2.6/site-packages/enthought/logger/agent/quality_agent_view.py", line 17, in <module>
    import wx
ImportError: No module named wx


Reproducible: Always

Steps to Reproduce:
1. emerge mayavi with USE qt -wxwindows
2. start mayavi
3.

Actual Results:  
failed to start


Portage 2.1.6.7 (default/linux/amd64/2008.0, gcc-4.3.2, glibc-2.8_p20080602-r1, 2.6.27-gentoo-r8 x86_64)
=================================================================
System uname: Linux-2.6.27-gentoo-r8-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T7250_@_2.00GHz-with-gentoo-1.12.11.1
Timestamp of tree: Wed, 15 Apr 2009 18:00:02 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p39
dev-java/java-config: 2.1.7
dev-lang/python:     2.6.1-r1
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.6.3-r1
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.5, 1.7.9-r1, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -O2 -pipe"
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/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /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=nocona -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://ftp.twaren.net/Linux/Gentoo/"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1"
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="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/layman/roslin /var/layman/sunrise /var/layman/science"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acl acpi alsa amd64 arts berkdb bluetooth bzip2 cairo cjk cli cracklib crypt cups custom-cxxflags dbus djvu dri flac fortran gdbm gif gnutls gpm gtk hal iconv ieee1394 ipv6 isdnlog java jpeg jpeg2k kde lm_sensors midi mmx mng mp3 mudflap multilib ncurses nls nptl nptlonly nsplugin opengl openmp pam pcmcia pcre pdf perl png pppd python qt3 qt3support qt4 readline reflection sdl session spell spl sqlite sqlite3 sse sse2 ssl svg sysfs tcpd threads tiff truetype unicode vorbis xcomposite xml xorg 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 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 evdev mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="intel"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Sébastien Fabbro (RETIRED) gentoo-dev 2009-06-24 05:04:42 UTC
fixed in cvs. thanks!