Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 303595 - =dev-util/eric-4.4*: error on startup
Summary: =dev-util/eric-4.4*: error on startup
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Qt Bug Alias
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-02-05 17:08 UTC by DaggyStyle
Modified: 2010-08-01 17:10 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
error log (eric4_error.log,1.62 KB, text/plain)
2010-07-06 17:03 UTC, DaggyStyle
Details

Note You need to log in before you can comment on or make changes to this bug.
Description DaggyStyle 2010-02-05 17:08:00 UTC
eric pops up a crash window when it runs, here it is:
An unhandled exception occurred. Please report the problem
using the error reporting dialog or via email to <eric4-bugs@eric-ide.python-projects.org>.
A log has been written to "/home/dagg/.eric4/eric4_error.log".
Error information:
--------------------------------------------------------------------------------
2010-02-05, 19:04:53
--------------------------------------------------------------------------------
<type 'exceptions.IndexError'>: 
sequence index out of range
--------------------------------------------------------------------------------
File "/usr/lib64/python2.6/site-packages/eric4/eric4.py", line 157, in uiStartUp
mainWindow.performVersionCheck(False)
File "/usr/lib64/python2.6/site-packages/eric4/UI/UserInterface.py", line 5394, in performVersionCheck
url = QUrl(self.__httpAlternatives[alternative])
--------------------------------------------------------------------------------
Version Numbers:
Python 2.6.4
KDE 4.3.5
PyKDE 4.0.2
Qt 4.6.1
PyQt4 4.7
sip 4.10
QScintilla 2.4.2
eric4 4.4.0 (r3604)
Platform: linux2
2.6.4 (r264:75706, Dec 7 2009, 08:25:21) 
[GCC 4.4.2]
--------------------------------------------------------------------------------
Plugins Version Numbers:
PluginAbout 4.4.0
PluginEricapi 4.4.0
PluginEricdoc 4.4.0
PluginSyntaxChecker 4.4.0
PluginTabnanny 4.4.0
PluginVcsPySvn 4.4.0
PluginVcsSubversion 4.4.0
PluginVmListspace 4.4.0
PluginVmMdiArea 4.4.0
PluginVmTabview 4.4.0
PluginVmWorkspace 4.4.0
PluginWizardPyRegExp 4.4.0
PluginWizardQColorDialog 4.4.0
PluginWizardQFileDialog 4.4.0
PluginWizardQFontDialog 4.4.0
PluginWizardQInputDialog 4.4.0
PluginWizardQMessageBox 4.4.0
PluginWizardQRegExp 4.4.0
--------------------------------------------------------------------------------
Distribution Info:
/etc/gentoo-release
Gentoo Base System release 1.12.13

Reproducible: Always
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2010-02-09 16:40:56 UTC
Please post your `emerge --info dev-util/eric' too.
Comment 2 DaggyStyle 2010-02-10 06:48:23 UTC
Portage 2.1.7.16 (default/linux/amd64/10.0/desktop, gcc-4.4.3, glibc-2.11-r1, 2.6.32-gentoo-r3 x86_64)                                                            
=================================================================                
                        System Settings                                          
=================================================================                
System uname: Linux-2.6.32-gentoo-r3-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T8100_@_2.10GHz-with-gentoo-1.12.13                                                        
Timestamp of tree: Wed, 10 Feb 2010 06:00:21 +0000                               
app-shells/bash:     4.0_p35                                                     
dev-java/java-config: 2.1.9-r2                                                   
dev-lang/python:     2.6.4                                                       
dev-util/cmake:      2.6.4-r3                                                    
sys-apps/baselayout: 1.12.13                                                     
sys-apps/sandbox:    1.6-r2                                                      
sys-devel/autoconf:  2.13, 2.63-r1                                               
sys-devel/automake:  1.9.6-r2, 1.10.2                                            
sys-devel/binutils:  2.20                                                        
sys-devel/gcc:       4.4.3                                                       
sys-devel/gcc-config: 1.4.1                                                      
sys-devel/libtool:   2.2.6b                                                      
virtual/os-headers:  2.6.30-r1                                                   
ACCEPT_KEYWORDS="amd64"                                                          
ACCEPT_LICENSE="* -@EULA dlj-1.1 skype-eula Broadcom"                            
CBUILD="x86_64-pc-linux-gnu"                                                     
CFLAGS="-march=core2 -O2 -pipe -msse4.1"                                         
CHOST="x86_64-pc-linux-gnu"                                                      
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config /var/lib/hsqldb"       
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /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/sandbox.d /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=core2 -O2 -pipe -msse4.1"                                       
DISTDIR="/usr/portage/distfiles"                                                 
FEATURES="assume-digests collision-protect distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch" 
GENTOO_MIRRORS="http://gentoo.llarian.net/ ftp://gentoo.llarian.net/pub/gentoo http://pandemonium.tiscali.de/pub/gentoo/ ftp://pandemonium.tiscali.de/pub/gentoo/ http://linuv.uv.es/mirror/gentoo/ http://gentoo.blueyonder.co.uk ftp://mirrors.blueyonder.co.uk/mirrors/gentoo "                                                  
LANG="en_US.UTF-8"                                                               
LDFLAGS="-Wl,-O1"                                                                
LINGUAS="en he es"                                                               
MAKEOPTS="-j3"                                                                   
PKGDIR="/usr/portage/packages"                                                   
PORTAGE_CONFIGROOT="/"                                                           
PORTAGE_RSYNC_EXTRA_OPTS="--timeout=180"                                         
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/local/portage /usr/local/enlightment"                      
SYNC="rsync://rsync.gentoo.org/gentoo-portage"                                   
USE="X a52 aac acl acpi aio alsa amd64 amr audiofile berkdb bidi bluetooth branding bzip2 cairo cdparanoia cdr cjk cli consolekit cracklib crypt cups curl cxx dbus dri dts dv dvb dvd dvdr dvdread edb eds emboss encode evo fam ffmpeg ffmpeg-mt firefox flac fortran ftp gdbm gif gphoto2 gpm gtk hal iconv icq id3tag ieee1394 imagemagick irda java javascript joystick jpeg jpeg2k kde lame ldap lirc lua lzma mad matroska mikmod mmx mng modules mono mp3 mp4 mpeg mtp mudflap multilib nas ncurses nls nptl nptlonly nsplugin ogg openexr opengl openmp oss pam pcre pdf perl php png policykit ppds pppd python qt3support qt4 quicktime readline reflection samba sdl session smp sndfile spell spl srt sse sse2 sse3 ssl ssse3 startup-notification svg sysfs tcpd theora threads thunar tiff truetype unicode usb v4l v4l2 vcd vorbis wavpack wifi wma x264 xine xml xorg xosd xrandr xulrunner xv xvid xvmc zlib" ALSA_CARDS="hda-intel usb-audio" ALSA_PCM_PLUGINS="multi asym rate dmix dshare dsnoop softvol plug extplug ioplug hooks empty route file" 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="mouse synaptics keyboard evdev joystick" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en he es" LIRC_DEVICES="serial sir dev atiusb" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="vesa v4l radeonhd radeon"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS

=================================================================
                        Package Settings
=================================================================

dev-util/eric-4.4.1 was built with the following:
USE="kde (multilib) spell" LINGUAS="es -cs -de -fr -it -ru -tr -zh_CN"

nice, I didn't know this can done.
Comment 3 Markos Chandras (RETIRED) gentoo-dev 2010-03-03 14:01:42 UTC
Is this still reproducible with eric-4.4.1?
Comment 4 DaggyStyle 2010-03-03 15:00:55 UTC
yup.
Comment 5 DaggyStyle 2010-03-07 22:06:25 UTC
and with 4.4.2
Comment 6 Markos Chandras (RETIRED) gentoo-dev 2010-03-15 20:08:01 UTC
Did you try to rebuld sip and PyQt4 packages?
Comment 7 DaggyStyle 2010-03-16 04:29:26 UTC
I think I did, I'll try again and report back
Comment 8 Davide Pesavento (RETIRED) gentoo-dev 2010-07-04 00:50:44 UTC
(In reply to comment #7)
> I think I did, I'll try again and report back
> 

So?
Comment 9 DaggyStyle 2010-07-06 17:03:45 UTC
Created attachment 237767 [details]
error log

still happening after sip, pyqt4 and eric recompilation.
Comment 10 Davide Pesavento (RETIRED) gentoo-dev 2010-07-06 20:56:41 UTC
Reopening.
Comment 11 Davide Pesavento (RETIRED) gentoo-dev 2010-07-06 21:30:00 UTC
What's the output of `grep VersionsUrls ~/.config/Eric4/eric4.ini` ?
Comment 12 DaggyStyle 2010-07-07 05:50:25 UTC
VersionsUrls=@Variant(\0\0\0\x7f\0\0\0\xePyQt_PyObject\0\0\0\0\0)

after updating to 4.4.6 the problem persists.
Comment 13 Davide Pesavento (RETIRED) gentoo-dev 2010-07-07 10:24:32 UTC
Ok, try removing that line from eric4.ini
Comment 14 DaggyStyle 2010-07-07 11:46:39 UTC
ok, the error is gone, how can this be propagate to other users?
Comment 15 Davide Pesavento (RETIRED) gentoo-dev 2010-07-07 12:26:13 UTC
That was just a workaround. performVersionCheck() wrongly assumes that there's at least one valid entry in VersionsUrls. A proper code fix is needed, which means reporting the bug upstream.
Comment 16 DaggyStyle 2010-07-07 12:42:07 UTC
(In reply to comment #15)
> That was just a workaround. performVersionCheck() wrongly assumes that there's
> at least one valid entry in VersionsUrls. A proper code fix is needed, which
> means reporting the bug upstream.
> 

ok, who should report it upstream then?
Comment 17 Davide Pesavento (RETIRED) gentoo-dev 2010-07-08 12:57:00 UTC
(In reply to comment #16)
> (In reply to comment #15)
> > That was just a workaround. performVersionCheck() wrongly assumes that there's
> > at least one valid entry in VersionsUrls. A proper code fix is needed, which
> > means reporting the bug upstream.
> > 
> 
> ok, who should report it upstream then?
> 

I've just emailed them.
Comment 18 Davide Pesavento (RETIRED) gentoo-dev 2010-07-30 17:45:14 UTC
This bug will be fixed in the next upstream release (4.4.7)
Comment 19 DaggyStyle 2010-07-30 19:30:21 UTC
(In reply to comment #18)
> This bug will be fixed in the next upstream release (4.4.7)
> 

excellent :)
Comment 20 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2010-08-01 17:10:25 UTC
Fixed in dev-util/eric-4.4.7.