Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 321579 - app-portage/gpytage-0.3.0_rc1: fails to start
Summary: app-portage/gpytage-0.3.0_rc1: fails to start
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Portage Tools Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-26 16:51 UTC by Pacho Ramos
Modified: 2019-09-13 15:24 UTC (History)
2 users (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 Pacho Ramos gentoo-dev 2010-05-26 16:51:14 UTC
I get:

$ gpytage 
Config: portage version = 2.1.8.3
GPytage: starting gpytage()
 gpytagemain: PIXMAPS = /usr/share/gpytage/pixmaps/
HELPER: scan_contents(); Warning: Critical file /etc/portage/package.keywords/e17 not found
Traceback (most recent call last):
  File "/usr/bin/gpytage", line 98, in <module>
    gpytagemain = gpytagemain()
  File "/usr/lib64/python2.6/site-packages/gpytage/startup.py", line 83, in __init__
    initData()
  File "/usr/lib64/python2.6/site-packages/gpytage/datastore.py", line 81, in initData
    fileobj = PackageFileObj.PackageFileObj(file, rootDir + "/" + file, parent)
  File "/usr/lib64/python2.6/site-packages/gpytage/PackageFileObj.py", line 38, in __init__
    self.initData()
  File "/usr/lib64/python2.6/site-packages/gpytage/PackageFileObj.py", line 45, in initData
    rawData = self.__scanFileContents(self.path)
  File "/usr/lib64/python2.6/site-packages/gpytage/PackageFileObj.py", line 97, in __scanFileContents
    for i in contents:
TypeError: 'NoneType' object is not iterable



Portage 2.1.8.3 (default/linux/amd64/10.0/desktop/gnome, gcc-4.3.4, glibc-2.10.1-r1, 2.6.32-gentoo-r7 x86_64)
=================================================================
System uname: Linux-2.6.32-gentoo-r7-x86_64-AMD_Athlon-tm-_64_Processor_3200+-with-gentoo-1.12.13
Timestamp of tree: Mon, 24 May 2010 19:30:20 +0000
ccache version 2.4 [enabled]
app-shells/bash:     4.0_p37
dev-java/java-config: 2.1.10
dev-lang/python:     2.6.4-r1
dev-python/pycrypto: 2.1.0
dev-util/ccache:     2.4-r7
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-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.18-r3
sys-devel/gcc:       4.3.4
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="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config /var/lib/hsqldb /var/yp/Makefile"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/games/angband/edit/ /etc/gconf /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"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/distfiles"
FEATURES="assume-digests autoaddcvs ccache cvs distlocks fixpackages multilib-strict news parallel-fetch protect-owned sandbox sfperms sign split-log strict test unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://ftp.free.fr/mirrors/ftp.gentoo.org"
LANG="es_ES.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="es es_ES en_US"
MAKEOPTS="-j2"
PKGDIR="/usr/local/portage/packages"
PORTAGE_CONFIGROOT="/"
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/suka /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac acl acpi alsa amd64 applet avahi bash-completion berkdb branding bzip2 cairo cddb cdinstall cdr cleartype cli consolekit cracklib crypt css cups cxx daap dbus djvu dri dts dvd dvdr dvi eds emboss encode evo exif fam fat ffmpeg firefox flac fortran fuse gdbm gdu gif glitz gnome gnome-keyring gpm gstreamer gtk hal iconv imagemagick java jpeg jruby kdehiddenvisibility kpathsea latex lcms libnotify lyx lzma mad mikmod mmx mmxext mng modules mono mp3 mp4 mpeg mudflap multilib musicbrainz nautilus ncurses network network-cron nls nptl nptlonly ntfs nvidia ogg opengl openmp pam pango pch pcre pdf perl png policykit ppds pppd python qt3support qt4 readline reflection reiserfs scanner sdl session spell spl sse sse2 ssl ssse3 startup-notification svg sysfs t1lib tcpd threads tiff truetype unicode usb v4l2 vcd vorbis webkit x264 xattr xcb xinetd xml xmp xorg xpm xulrunner xv xvid zeroconf zlib" ALSA_CARDS="via82xx" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul 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="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="es es_ES en_US" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia nv 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, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


Reproducible: Always
Comment 1 Kenneth Prugh (RETIRED) gentoo-dev 2010-05-26 17:04:29 UTC
I think I see whats wrong with it. Are you running that via a user that can't read the portage files by chance?
Comment 2 Pacho Ramos gentoo-dev 2010-05-26 17:45:07 UTC
My user is in portage group :-/

Maybe the issue is caused by /etc/portage/package.keywords/e17 being a dead symlink, but I haven't tried it yet
Comment 3 Kenneth Prugh (RETIRED) gentoo-dev 2010-05-26 17:51:12 UTC
Yeah a dead symlink would do it. I forgot to handle an IOError other than printing that "Warning: Critical file blah not found". Not sure if it should really block stabilization. It'll be fixed in the next release in any case, thanks for catching it.
Comment 4 Pacho Ramos gentoo-dev 2010-05-26 19:10:14 UTC
No problem is dropping the blocker, it's a bit uncommon setup ;-)
Comment 5 Pacho Ramos gentoo-dev 2012-03-05 08:12:32 UTC
Getting latest snapshot from upstream should fix this
Comment 6 Pacho Ramos gentoo-dev 2016-07-01 11:09:31 UTC
This would also need a port to new python eclasses (if we want to keep this in the tree still) :/
Comment 7 Brian Dolbec gentoo-dev 2016-07-01 23:12:18 UTC
Yes, I will along with adding a few more files to it's edit list
 I'll try to get it done this weekend
Comment 8 Pacho Ramos gentoo-dev 2016-11-01 10:30:32 UTC
any news on this? thanks
Comment 9 Brian Dolbec gentoo-dev 2016-11-01 17:13:29 UTC
Sorry, I haven't had much time.  I'll try to get this one done by the weekend.
Comment 10 Brian Dolbec gentoo-dev 2016-12-03 20:52:28 UTC
The current release has been updated to eapi 6.

I'll get his new github based code into a release when I can do more testing to make sure it is stable enough.  He did a number of changes and improvements I think people will like.