Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 163260 - dev-python/wxpython-2.6.3.3 fails to run after emerge -e world
Summary: dev-python/wxpython-2.6.3.3 fails to run after emerge -e world
Status: RESOLVED DUPLICATE of bug 163566
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo wxWidgets project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-01-22 16:48 UTC by Peter
Modified: 2007-01-24 09:51 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 Peter 2007-01-22 16:48:05 UTC
Updated Gentoo on three computers, two had wxpython-2.6.3.3 installed and working prior to update. Update included moving to gcc-4.x from 3.x and to unicode. After emerge -e (which compiled with no errors) wxpython fails to run with following error:

 /usr/share/doc/wxpython-docs-2.6.0.0-r1/demo $ ./demo.py 
Traceback (most recent call last):
  File "/usr/share/doc/wxpython-docs-2.6.0.0-r1/demo/Main.py", line 1684, in OnClose
    frame = wxPythonDemo(None, "wxPython: (A Demonstration)")
  File "/usr/share/doc/wxpython-docs-2.6.0.0-r1/demo/Main.py", line 1308, in __init__
    self.LoadDemo(self.overviewText)
  File "/usr/share/doc/wxpython-docs-2.6.0.0-r1/demo/Main.py", line 1375, in LoadDemo
    self.LoadDemoSource()
  File "/usr/share/doc/wxpython-docs-2.6.0.0-r1/demo/Main.py", line 1393, in LoadDemoSource
    self.codePage = DemoCodePanel(self.nb, self)
  File "/usr/share/doc/wxpython-docs-2.6.0.0-r1/demo/Main.py", line 570, in __init__
    wx.RIGHT | wx.LEFT | wx.ALIGN_CENTER_VERTICAL, 5)
  File "/usr/lib/python2.5/site-packages/wx-2.6-gtk2-unicode/wx/_core.py", line 11711, in Add
    return _core_.Sizer_Add(*args, **kwargs)
TypeError: wx.Window, wx.Sizer, wx.Size, or (w,h) expected for item

Last line is the killer.

This was on the demo.py included with current wxpython-docs, but same results running other programs. This error occurs identically on the two boxes that had wxpython-2.6.3.3 running prior to update, and remains after many unmerge and re-emerge attempts. On the machine that did NOT have wxpython installed prior to update, an emerge of wxpython produces a working program.

Results are the same using python2.4 or python2.5.

I can install a working copy of wxpython-2.6.3.3 manually.

Feedback from the wxpython boards suggests that unmerging leaves something on the machine that interferes with compilation or linking on or after a re-emerge, i.e., not uninstalled cleanly.

emerge --info
Portage 2.1.2_rc4 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.5-r0, 2.6.19-gentoo-r2 i686)
=================================================================
System uname: 2.6.19-gentoo-r2 i686 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.12.8
Last Sync: Fri, 05 Jan 2007 20:00:03 +0000
dev-lang/python:     2.3.6, 2.4.4, 2.5-r1
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -msse2 -O2 -pipe -ftracer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo"
CXXFLAGS="-march=athlon-xp -msse2 -O2 -pipe -ftracer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
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"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dfx 3dnow 3dnowext X aac aalib acpi alsa alsa_cards_ali5451 alsa_cards_als4000 alsa_cards_atiixp alsa_cards_atiixp-modem alsa_cards_bt87x alsa_cards_ca0106 alsa_cards_cmipci alsa_cards_emu10k1x alsa_cards_ens1370 alsa_cards_ens1371 alsa_cards_es1938 alsa_cards_es1968 alsa_cards_fm801 alsa_cards_hda-intel alsa_cards_intel8x0 alsa_cards_intel8x0m alsa_cards_maestro3 alsa_cards_trident alsa_cards_usb-audio alsa_cards_via82xx alsa_cards_via82xx-modem alsa_cards_ymfpci alsa_pcm_plugins_adpcm alsa_pcm_plugins_alaw alsa_pcm_plugins_asym alsa_pcm_plugins_copy alsa_pcm_plugins_dmix alsa_pcm_plugins_dshare alsa_pcm_plugins_dsnoop alsa_pcm_plugins_empty alsa_pcm_plugins_extplug alsa_pcm_plugins_file alsa_pcm_plugins_hooks alsa_pcm_plugins_iec958 alsa_pcm_plugins_ioplug alsa_pcm_plugins_ladspa alsa_pcm_plugins_lfloat alsa_pcm_plugins_linear alsa_pcm_plugins_meter alsa_pcm_plugins_mulaw alsa_pcm_plugins_multi alsa_pcm_plugins_null alsa_pcm_plugins_plug alsa_pcm_plugins_rate alsa_pcm_plugins_route alsa_pcm_plugins_share alsa_pcm_plugins_shm alsa_pcm_plugins_softvol bash-completion berkdb bitmap-fonts cdparanoia cli cpudetection cracklib crypt cups directfb dlloader dri dts dv dvb dvd dvdread elibc_glibc examples fbcon foomaticdb fortran gdbm gif gphoto2 gpm gtk iconv imagemagick input_devices_evdev input_devices_keyboard input_devices_mouse isdnlog jpeg kernel_linux libg++ mmx mp3 mpeg mplayer mysql ncurses nls nptl nptlonly pam pcre perl ppds pppd python readline real reflection rtc samba session slang spl sse sse2 ssl svga tcltk tcpd tga theora threads tidy truetype truetype-fonts type1-fonts udev unicode usb userland_GNU v4l v4l2 vcd video_cards_fglrx video_cards_nv video_cards_radeon video_cards_vesa win32codecs wxwindows xanim xine xinerama xorg xvid xvmc zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-01-24 09:51:48 UTC

*** This bug has been marked as a duplicate of bug 163566 ***