mel@goliath ~/Tests/python/pythoncard $ python /usr/lib/python2.4/site-packages/P ythonCardPrototype/tools/codeEditor/codeEditor.py Traceback (most recent call last): File "/usr/lib/python2.4/site-packages/PythonCardPrototype/tools/codeEditor/codeEditor.py", line 1225, in ? app = model.PythonCardApp(CodeEditor) File "/usr/lib64/python2.4/site-packages/PythonCardPrototype/model.py", line 254, in __init__ wx.wxApp.__init__(self, 0) File "/usr/lib64/python2.4/site-packages/wx-2.4-gtk2-ansi/wxPython/wx.py", line 1951, in __init__ _wxStart(self.OnInit) File "/usr/lib64/python2.4/site-packages/PythonCardPrototype/model.py", line 333, in OnInit self._stack = Stack(self, self.resource) File "/usr/lib64/python2.4/site-packages/PythonCardPrototype/model.py", line 826, in __init__ self._initBackgrounds( aResource ) File "/usr/lib64/python2.4/site-packages/PythonCardPrototype/model.py", line 836, in _initBackgrounds bg = self.app.frameClass(self, None, bgRsrc) File "/usr/lib64/python2.4/site-packages/PythonCardPrototype/model.py", line 925, in __init__ self._initLayout(aBgRsrc.components) File "/usr/lib64/python2.4/site-packages/PythonCardPrototype/model.py", line 1108, in _initLayout self.components[resource.name] = resource File "/usr/lib64/python2.4/site-packages/PythonCardPrototype/model.py", line 77, in __setitem__ control = pom.ComponentFactory().createComponent(self.parent, self.parent.panel, item) File "/usr/lib64/python2.4/site-packages/PythonCardPrototype/pom.py", line 193, in createComponent component = clazz( aParent, aResource ) File "/usr/lib64/python2.4/site-packages/PythonCardPrototype/components/codeeditor.py", line 117, in __init__ self.SetMarginMask(CODE_FOLDING_MARGIN, stc.wxSTC_MASK_FOLDERS) File "/usr/lib64/python2.4/site-packages/wx-2.4-gtk2-ansi/wxPython/stc_.py", line 285, in SetMarginMask val = stc_c.wxStyledTextCtrl_SetMarginMask(self, *_args, **_kwargs) OverflowError: signed integer is greater than maximum mel@goliath ~/Tests/python/pythoncard $ su - Password: goliath ~ # emerge -s wxpython Searching... [ Results for search key : wxpython ] [ Applications found : 2 ] * dev-python/wxpython Latest version available: 2.6.1.0 Latest version installed: 2.6.1.0 Size of files: 18,019 kB Homepage: http://www.wxpython.org/ Description: A blending of the wxWindows C++ class library with Python License: wxWinLL-3 * dev-python/wxpython-docs Latest version available: 2.4.2.4-r1 Latest version installed: 2.4.2.4-r1 Size of files: 3,089 kB Homepage: http://www.wxpython.org Description: wxPython documentation License: wxWinFDL-3 LGPL-2.1 goliath ~ # emerge -s pythoncard Searching... [ Results for search key : pythoncard ] [ Applications found : 1 ] * dev-python/pythoncard Latest version available: 0.7.3.1 Latest version installed: 0.7.3.1 Size of files: 1,055 kB Homepage: http://pythoncard.sourceforge.net/index.html Description: Cross-platform GUI construction kit for python License: BSD emerge --info: Portage 2.1-r1 (default-linux/amd64/2005.0, gcc-3.4.6, glibc-2.3.6-r4, 2.6.15-gentoo-r1 x86_64) ================================================================= System uname: 2.6.15-gentoo-r1 x86_64 AMD Opteron(tm) Processor 246 Gentoo Base System version 1.6.15 ccache version 2.3 [enabled] dev-lang/python: 2.3.5-r2, 2.4.2 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.3 dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2 sys-devel/binutils: 2.16.1-r3 sys-devel/gcc-config: 1.3.13-r3 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /opt/resin/conf /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib64/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-O2" DISTDIR="/opt/no_archive/portage/distfiles" FEATURES="autoconfig buildpkg ccache distlocks metadata-transfer sandbox sfperms" GENTOO_MIRRORS="http://gentoo.llarian.net/ ftp://gentoo.llarian.net/pub/gentoo http://gentoo.ccccom.com http://gentoo.osuosl.org/" MAKEOPTS="-j2" PKGDIR="/opt/no_archive/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="amd64 X alsa avi berkdb bitmap-fonts cdr cli crypt cups dlloader doc dri eds emboss encode foomaticdb fortran gif gnome gpm gstreamer gtk gtk2 imlib ipv6 isdnlog java jpeg kde libg++ log4cpp lzw lzw-tiff mozilla mp3 mpeg nas ncurses nls nptl nsplugin opengl pam pcre pdflib perl plotutils png postgres pppd python qt qt3 qt4 quicktime readline reflection sdl session spell spl ssl svg tcltk tcpd tiff truetype truetype-fonts type1-fonts usb wxwindows xinerama xorg xpm xv zlib elibc_glibc input_devices_keyboard input_devices_mouse input_devices_evdev kernel_linux userland_GNU video_cards_nvidia video_cards_vesa video_cards_fbdev" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS
Well, with wxpython-2.6.33, pygtk-2.6.3.3 and pythoncard-0.7.3.1 it works for me :-)