Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 503904 - app-portage/elogv-0.7.6.1-r1 - elogv: ValueError: too many values to unpack
Summary: app-portage/elogv-0.7.6.1-r1 - elogv: ValueError: too many values to unpack
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Tools (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Paul Varner (RETIRED)
URL:
Whiteboard:
Keywords: Inclusion, PATCH
Depends on:
Blocks:
 
Reported: 2014-03-08 20:49 UTC by mAhdi
Modified: 2014-10-24 23:06 UTC (History)
3 users (show)

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


Attachments
Make log filename parsing more robust (0001-Make-log-filename-parsing-more-robust-Gentoo-bug-503.patch,1.22 KB, patch)
2014-10-06 02:46 UTC, Sebastian Pipping
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description mAhdi 2014-03-08 20:49:23 UTC
$ elogv
Traceback (most recent call last):
  File "/usr/lib/python-exec/python2.7/elogv", line 589, in <module>
    curses.wrapper(ElogViewer)
  File "/usr/lib/python2.7/curses/wrapper.py", line 43, in wrapper
    return func(stdscr, *args, **kwds)
  File "/usr/lib/python-exec/python2.7/elogv", line 130, in __init__
    self.init_screen()
  File "/usr/lib/python-exec/python2.7/elogv", line 267, in init_screen
    self.fill_file_pad()
  File "/usr/lib/python-exec/python2.7/elogv", line 375, in fill_file_pad
    (cat,pn,other) = re.split(":|" + os.path.sep, tmpfilepath.replace(elogdir + os.path.sep, "") )

in app-portage/elogv-0.7.6.1-r1

works fine with 0.7.4 on the very same system.

##############################

emerge --info
Portage 2.2.7 (default/linux/x86/13.0, gcc-4.7.3, glibc-2.17, 3.0.17-gentoo-r2 i686)
=================================================================
System uname: Linux-3.0.17-gentoo-r2-i686-Intel-R-_Core-TM-2_Duo_CPU_P7570_@_2.26GHz-with-gentoo-2.2
KiB Mem:     4142004 total,    629028 free
KiB Swap:    5116664 total,   5116280 free
Timestamp of tree: Sat, 08 Mar 2014 08:45:01 +0000
ld GNU ld (GNU Binutils) 2.23.2
ccache version 3.1.9 [disabled]
app-shells/bash:          4.2_p45
dev-java/java-config:     2.2.0
dev-lang/python:          2.6.8-r3, 2.7.5-r3, 3.3.3
dev-util/ccache:          3.1.9-r3
dev-util/cmake:           2.8.11.2
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.12.4
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6, 1.12.6, 1.13.4
sys-devel/binutils:       2.23.2
sys-devel/gcc:            4.7.3-r1
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.9 (virtual/os-headers)
sys-libs/glibc:           2.17
Repositories: gentoo steam-overlay and3k-sunrise x-portage
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="*"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=native -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.4/ext-active/ /etc/php/cgi-php5.4/ext-active/ /etc/php/cli-php5.4/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -march=native -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--alphabetical --autounmask"
FCFLAGS="-O2 -march=i686 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -march=i686 -pipe"
GENTOO_MIRRORS="http://ftp.fi.muni.cz/pub/linux/gentoo/ http://gentoo.mirror.web4u.cz/ ftp://gentoo.mirror.web4u.cz/ http://gentoo.mirror.dkm.cz/pub/gentoo/ ftp://ftp.fi.muni.cz/pub/linux/gentoo/ ftp://gentoo.mirror.dkm.cz/pub/gentoo/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1,--enable-new-dtags,--sort-common"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/steam /usr/portage/local/layman/and3k-sunrise /usr/local/portage"
SYNC="rsync://rsync1.de.gentoo.org/gentoo-portage"
USE="X acl alsa asf berkdb bzip2 cli cracklib crypt cups cxx dbus doc dri encode exif ffmpeg flac fortran gdbm gif iconv ipv6 jpeg mikmod mmx modules mp3 ncurses nls nptl nptlonly ogg opengl openmp pam pcre perl png python raw readline sdl session sse sse2 sse3 ssl ssse3 tcpd tiff udev unicode vorbis win32codecs x86 xcomposite xml zlib" ABI_X86="32" ALSA_CARDS="intel8x0" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd 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 cgi cgid 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" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="*" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LIRC_DEVICES="all" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5 php5-4" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia vesa" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON

##############################

$ eselect python list
Available Python interpreters:
  [1]   python2.6
  [2]   python2.7 *
  [3]   python3.3

##############################

emerge --update --newuse --deep --pretend @world
revdep-rebuild -ip
emerge @preserved-rebuild --pretend
python-updater

all nothing ...
Comment 1 Andreas Prieß 2014-03-11 14:37:39 UTC
I get the very same error on a host with

ACCEPT_KEYWORDS="amd64"
CHOST="x86_64-pc-linux-gnu"
Comment 2 Daniel Mullowney 2014-10-05 22:58:19 UTC
I ran into this issue today as well.  I was able to work around the problem by removing a directory I had created in the /var/log/portage/elog/ folder.  elogv seems to be very sensitive about the format and contents of this folder and even something as simple as a subdirectory will cause this error.
Comment 3 Sebastian Pipping gentoo-dev 2014-10-06 02:46:41 UTC
Created attachment 386114 [details, diff]
Make log filename parsing more robust

Daniel,

any chance you could test the patch attached and report back if that solves the issue?
Comment 4 Sebastian Pipping gentoo-dev 2014-10-22 20:08:27 UTC
Ping.

I'm looking for a person to test the patch attached.

Thanks!
Comment 5 mAhdi 2014-10-23 16:02:31 UTC
Checked on x86 (same spec as in original bug report) and it works with the patch.
Comment 6 Sebastian Pipping gentoo-dev 2014-10-24 23:06:00 UTC
(In reply to mAhdi from comment #5)
> Checked on x86 (same spec as in original bug report) and it works with the
> patch.

Excellent, thanks for testing!


+*elogv-0.7.6.2 (24 Oct 2014)
+
+  24 Oct 2014; Sebastian Pipping <sping@gentoo.org> +elogv-0.7.6.2.ebuild:
+  Bump to 0.7.6.2 (bug #503904, #468442)
+