Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 216985

Summary: dev-util/eric - eric4-configure.py aborts
Product: Gentoo Linux Reporter: Arne Babenhauserheide <arne_bab>
Component: Current packagesAssignee: Python Gentoo Team <python>
Status: RESOLVED TEST-REQUEST    
Severity: normal CC: cuciferus, jokey, qt, skrattaren
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=468441
Whiteboard:
Package list:
Runtime testing required: ---

Description Arne Babenhauserheide 2008-04-09 07:13:47 UTC
When I try to open the options in eric4, it dies. 

Also if I attempt to run eric4-configure directly, it aborts with the message

ASSERT: "left.level > right.level" in file itemviews/qtreeview.cpp, line 2121
Aborted

Reproducible: Always




The Debian folks seem to have a solution for themselves: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=468441

In short: Update to PyQt4-4.3.4 which isn't yet in portage, nor avaible in the PyQt4 site for download. 

emerge --info

Portage 2.1.4.4 (default-linux/amd64/2007.0/desktop, gcc-4.1.2, glibc-2.6.1-r0,2.6.24-gentoo-r3 x86_64)
=================================================================
System uname: 2.6.24-gentoo-r3 x86_64 AMD Athlon(tm) 64 Processor 3000+
Timestamp of tree: Sat, 05 Apr 2008 06:15:03 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7, 2.1.4
dev-lang/python:     2.5.1-r5
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
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.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=k8"
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/kde/4.0/env /usr/kde/4.0/share/config /usr/kde/4.0/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -pipe -march=k8"
DISTDIR="/var/distfiles"
EMERGE_DEFAULT_OPTS="--nospinner"
FEATURES="buildpkg ccache collision-protect distlocks fixpackages metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch userpriv"
GENTOO_MIRRORS="ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ "
LANG="de_DE.utf8"
LC_ALL="de_DE.utf8"
LINGUAS="eo es de en"
MAKEOPTS="-j2"
PKGDIR="/var/packages"
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="/usr/portage/local/layman/sunrise /usr/portage/local/layman/pythonhead /usr/portage/local/layman/lapis /usr/portage/local/layman/gentoo-de /usr/portage/local/layman/1d6 /usr/portage/local/layman/science /usr/portage/local/layman/zugaina /usr/portage/local/layman/springlobby /usr/portage/local/layman/mpd /usr/portage/local/layman/kde /usr/portage/local/layman/berkano /usr/portage/local/g-pypi /usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3ds X a52 aac accessibility acl acpi addbookmarks akode alias alsa amarok amd64 amuled arts autoreplace avi bash-completion berkdb bittorrent blas bzip2 cairo cal3d cdr clamav cli clucene connectionstatus contactnotes cracklib crypt css cups curl cvs dbus decibel divx4linux djvu dri dv dvd dvdr dvdread dvdrip edselisp emacs emboss encode esd evo examples fam fame firefox flac foomatic fortran gadu gcj gdbm gif git gpg gpgme gphoto2 gpm groupwise gstreamer hal highlighthistory htmlhandbook iconv idn ieee1394 imagemagick imlib ipod ipv6 irc isdnlogjabber jack jingle jpeg kde kerberos kig-scripting lapack latex ldap libcaca live lm_sensors mad matroska mbrola metalink midi mikmod mmx mng mod mp3 mpeg mplayer mudflap musicbrainz ncurses netmeeting nls nptl nptlonly nsplugin ocaml ogg oggvorbis openbabel opengl openmp openxr oscar oss pam pcre pdf perl png portaudio ppds pppd python qca qt3 qt3support qt4 quicktime readline reflection regex sametime sasl scanner sdl sensord session shorten skey snmp spamassassin speex spell spl sqlite sqlite3 sse sse2 ssl statistics strigi subtitles subversion svg symlink taglib tcl tcpd theora threads tiff timidity tk translator truetype tunepimp twolame ucs2 unicode unity-lobby usb vamp vnc vorbis wavpack x264 xcompositexine xml xorg xscreensaver xv xvid yahoo zeroconf 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 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" LINGUAS="eo es de en" USERLAND="GNU" VIDEO_CARDS="radeonhd radeon vesa"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Arne Babenhauserheide 2008-04-09 07:16:00 UTC
Different from the notices in the Debian Bug report, this happens for me with PyQt4-4.3.3 - so downgrading to PyQt-4.3.3 is no solution. 
Comment 2 cucu ionut 2008-05-25 08:15:21 UTC
same here  with:
Portage 2.1.5.2 (default/linux/amd64/2008.0/desktop, gcc-4.2.3, glibc-2.7-r2, 2.6.24-gentoo-r3 x86_64)
=================================================================                                     
System uname: 2.6.24-gentoo-r3 x86_64 AMD Athlon(tm) 64 Processor 3000+                               
Timestamp of tree: Sat, 24 May 2008 13:00:01 +0000                                                    
ccache version 2.4 [enabled]                                                                          
app-shells/bash:     3.2_p39                                                                          
dev-java/java-config: 1.3.7, 2.1.6                                                                    
dev-lang/python:     2.4.4-r9, 2.5.2-r4                                                               
dev-python/pycrypto: 2.0.1-r6                                                                         
dev-util/ccache:     2.4-r7                                                                           
sys-apps/baselayout: 2.0.0                                                                            
sys-apps/openrc:     0.2.4-r1                                                                         
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.62
sys-devel/automake:  1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils:  2.18.50.0.6
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.25-r3
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe "
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/svn/env /usr/kde/svn/share/config /usr/kde/svn/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=athlon64 -O2 -pipe "
DISTDIR="/var/tmp/dist"
FEATURES="ccache distlocks fixpackages metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://ftp.romnet.org/gentoo"
LDFLAGS=""
LINGUAS="en_GB ro"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
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="/usr/portage/local/layman/mpd /usr/portage/local/layman/kde /usr/portage/local/layman/enlightenment"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acl acpi alsa amd64 berkdb bluetooth branding bzip2 cairo cdr cli cracklib crypt dbus dri dvd dvdr dvdread emboss encode evo exif fam ffmpeg firefox fluxbox fortran gdbm gif glitz gtk gtk2 hal iconv ipv6 isdnlog jpeg kde kerberos ldap libnotify libsamplerate lm_sensors mad midi mikmod mmx mp3 mpeg mudflap multilib ncurses nls nptl nptlonly nsplugin nvidia offensive ogg opengl openmp pam pcre pdf perl png ppdspppd python qt qt3 qt3support qt4 quicktime readline reflection session spell spl sse sse2 ssl startup-notification svg tcpd tiff truetype unicode vorbis wxwindows xcb xml xorg xv zlib" ALSA_CARDS="intel8x0" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplugfile hooks iec958 ioplug ladspa lfloat linear meter 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" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_GB ro" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 3 Nikolaj Ĺ ujskij 2008-11-14 16:58:32 UTC
You probably use localised version of Eric, I switched language to English (from Russian) and it stopped failing.
Comment 4 Markus Ullmann (RETIRED) gentoo-dev 2009-01-31 23:11:55 UTC
is this still happening with 4.2.5 for you?
Comment 5 cucu ionut 2009-02-01 07:53:01 UTC
eric4-configure dies with:
Using default.                                                                                                
Traceback (most recent call last):                                                                            
  File "/usr/lib64/python2.5/site-packages/eric4/eric4-configure.py", line 61, in <module>                    
    main()                                                                                                    
  File "/usr/lib64/python2.5/site-packages/eric4/eric4-configure.py", line 57, in main                        
    createMainWidget)                                                                                         
  File "//usr/lib64/python2.5/site-packages/eric4/Utilities/Startup.py", line 229, in simpleAppStartup        
    w = mwFactory(argv)                                                                                       
  File "/usr/lib64/python2.5/site-packages/eric4/eric4-configure.py", line 38, in createMainWidget            
    w = ConfigurationWindow()                                                                                 
  File "//usr/lib64/python2.5/site-packages/eric4/Preferences/ConfigurationDialog.py", line 585, in __init__  
    self.cw = ConfigurationWidget(self, fromEric = False)
  File "//usr/lib64/python2.5/site-packages/eric4/Preferences/ConfigurationDialog.py", line 256, in __init__
    self.__initLexers()
  File "//usr/lib64/python2.5/site-packages/eric4/Preferences/ConfigurationDialog.py", line 346, in __initLexers
    self.lexers[language] = PreferencesLexer(language, self)
  File "//usr/lib64/python2.5/site-packages/eric4/Preferences/PreferencesLexer.py", line 78, in __init__
    raise PreferencesLexerLanguageError(language)
Preferences.PreferencesLexer.PreferencesLexerLanguageError: Unsupported Lexer Language: TCL
same thing from preferences