running python - use idle help() - looks to run ok help> modules math error is produced (see Actual Results) This happens because pyopengl is emerged. If you unmerge pyopengl then help runs as expected. Pyopengl is emerged because of opengl use flag? Which is needed for other packages. Reproducible: Always Steps to Reproduce: 1. idle 2. help() 3. modules math (or any other modules) Actual Results: In idle Traceback (most recent call last): File "<pyshell#0>", line 1, in <module> help() File "/usr/lib64/python2.5/site.py", line 347, in __call__ return pydoc.help(*args, **kwds) File "/usr/lib64/python2.5/pydoc.py", line 1649, in __call__ self.interact() File "/usr/lib64/python2.5/pydoc.py", line 1667, in interact self.help(request) File "/usr/lib64/python2.5/pydoc.py", line 1683, in help elif request == 'modules': self.listmodules() File "/usr/lib64/python2.5/pydoc.py", line 1804, in listmodules ModuleScanner().run(callback) File "/usr/lib64/python2.5/pydoc.py", line 1855, in run for importer, modname, ispkg in pkgutil.walk_packages(): File "/usr/lib64/python2.5/pkgutil.py", line 125, in walk_packages for item in walk_packages(path, name+'.', onerror): File "/usr/lib64/python2.5/pkgutil.py", line 110, in walk_packages __import__(name) File "//usr/lib64/python2.5/site-packages/OpenGL/Tk/__init__.py", line 87, in <module> _default_root.tk.call('package', 'require', 'Togl') TclError: can't find package Togl Expected Results: idle help() modules math - gives list of modules math - give info on math module Portage 2.1.6.13 (default/linux/amd64/2008.0, gcc-4.3.2, glibc-2.9_p20081201-r2, 2.6.29-gentoo-r5 x86_64) ================================================================= System uname: Linux-2.6.29-gentoo-r5-x86_64-AMD_Turion-tm-_64_X2_Mobile_Technology_TL-52-with-glibc2.2.5 Timestamp of tree: Thu, 09 Jul 2009 20:00:19 +0000 app-shells/bash: 3.2_p39 dev-java/java-config: 1.3.7-r1, 2.1.8-r1 dev-lang/python: 2.5.4-r3 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 sys-devel/automake: 1.5, 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=athlon64 -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /var/lib/hsqldb" 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 /etc/udev/rules.d" CXXFLAGS="-O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LANG="en_GB.utf8" LDFLAGS="-Wl,-O1" 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.gentoo.org/gentoo-portage" USE="X a52 aac acl acpi alsa amd64 berkdb bidi bzip2 caps cli cracklib crypt cups dbus dri dts dvd encode ffmpeg flac fortran freetype gdbm gnutls gpm gstreamer gtk hal iconv ipv6 isdnlog java jpeg mad matroska midi mmx mpeg mudflap multilib ncurses nls nptl nptlonly nsplugin nvidia ogg oggvorbis opengl openmp pam pcre perl png pppd python readline reflection session spl sse sse2 ssl startup-notification svg symlink sysfs tcpd theora tiff tk unicode wxwindows xfce xorg xv 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 mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="fbdev glint i810 intel mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa vga via vmware voodoo" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Is this still valid?
Used python2.5 long purged