Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 233775 - phpmyadmin-2.11.8 exit with "Could not read settings from webapp-config!"
Summary: phpmyadmin-2.11.8 exit with "Could not read settings from webapp-config!"
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Web Application Packages Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-08-03 07:51 UTC by calculator
Modified: 2008-08-11 12:56 UTC (History)
1 user (show)

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


Attachments
emerge.info.txt (emerge.info.txt,4.17 KB, text/plain)
2008-08-03 13:14 UTC, calculator
Details

Note You need to log in before you can comment on or make changes to this bug.
Description calculator 2008-08-03 07:51:13 UTC
more 2 hosts with error:

>>> Emerging (1 of 1) dev-db/phpmyadmin-2.11.8 to /
 * phpMyAdmin-2.11.8-all-languages-utf-8-only.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...                                                                [ ok ]
 * checking ebuild checksums ;-) ...                                                                                                                 [ ok ]
 * checking auxfile checksums ;-) ...                                                                                                                [ ok ]
 * checking miscfile checksums ;-) ...                                                                                                               [ ok ]
 * checking phpMyAdmin-2.11.8-all-languages-utf-8-only.tar.bz2 ;-) ...                                                                               [ ok ]
Traceback (most recent call last):
  File "/usr/sbin/webapp-config", line 27, in <module>
    from WebappConfig.config import Config
ImportError: No module named WebappConfig.config
 *
 * ERROR: dev-db/phpmyadmin-2.11.8 failed.
 * Call stack:
 *                  ebuild.sh, line   49:  Called pkg_setup
 *   phpmyadmin-2.11.8.ebuild, line   24:  Called webapp_pkg_setup
 *              webapp.eclass, line  378:  Called webapp_read_config
 *              webapp.eclass, line   60:  Called die
 * The specific snippet of code:
 *              ENVVAR=$(${WEBAPP_CONFIG} --query ${PN} ${PVR}) || die "Could not read settings from webapp-config!"
 *  The die message:
 *   Could not read settings from webapp-config!
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/log/portage/dev-db:phpmyadmin-2.11.8:20080803-073709.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-db/phpmyadmin-2.11.8/temp/die.env'.
 *

[ebuild   R   ] app-admin/webapp-config-1.50.16-r1

excuse me for my english.

Reproducible: Always
Comment 1 calculator 2008-08-03 08:02:09 UTC
i reemerge webapp-config and phpmyadmin compiled with:
* Install completed - success

 * Running /usr/sbin/webapp-cleaner -p -C phpmyadmin
/usr/sbin/webapp-cleaner: line 14: /sbin/functions.sh: No such file or directory
/usr/sbin/webapp-cleaner: line 99: einfo: command not found
/usr/sbin/webapp-cleaner: line 104: einfo: command not found
/usr/sbin/webapp-cleaner: line 105: einfo: command not found
>>> dev-db/phpmyadmin-2.11.8 merged.

i dont have paludis

excuse me for my english.
Comment 2 Carsten Lohrke (RETIRED) gentoo-dev 2008-08-03 12:09:57 UTC
Provide emerge --info output, please.

@webapp team: I don't know what the arrangements wrt. baselayout and Portage changes are, leaving it to you to cc Portage and baselayout folks, if necessary.
Comment 3 calculator 2008-08-03 13:14:00 UTC
Created attachment 162086 [details]
emerge.info.txt

yes, on all host used baselayout-2
in future i attach "emerge --info" always, thanks.

excuse me for my english.
Comment 4 Kevin Parent 2008-08-03 18:21:03 UTC
I had the exact error message as above using baselayout-1.12.11.1.  Re-emerging webapp-config solved the issue.

emerge --oneshot webapp-config

I believe this is related to the recent python upgrade.  I was in the middle of emerge -uDNp world when this happened so I didn't have a chance to run "python-updater" yet.  I'm sure python-updater would have solved the issue as well.

Comment 5 Kai Wassermann 2008-08-10 22:34:25 UTC
I had the same error. Funning python-updater solved it. Thanks for the tip to run python-updater.

Just for further info I leave my emerge --info here (attaching file caused an internal error in bugzilla):

merkur ~ # emerge --info
Portage 2.1.4.4 (default/linux/x86/2008.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.24-gentoo-r7 i686)
=================================================================
System uname: 2.6.24-gentoo-r7 i686 Intel(R) Pentium(R) M processor 1400MHz
Timestamp of tree: Sun, 10 Aug 2008 13:36:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.4.4-r13, 2.5.2-r6
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r2
sys-devel/automake:  1.4_p6, 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium-m -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/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/splash /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=pentium-m -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LDFLAGS="-Wl,-O1"
LINGUAS="de en"
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/local-overlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acl acpi aim alsa apache2 arts audacious audiofile bash-completion berkdb bluetooth bzip2 calendar cdda cdparanoia cdr cli cracklib crypt cups dri dvb dvd dvdread encode ffmpeg firefox flac flash foomaticdb fortran ftp gdbm gif gphoto2 gpm gstreamer gtk gtk2 hal iconv icq id3 ieee1394 imagemagick imap imlib ipv6 isdnlog jabber java jpeg jpeg2k kde lame mad midi mime mjpeg mmx motif mozilla mp3 mpeg mplayer msn mudflap mysql ncurses nls nptl nptlonly nsplugin ogg opengl openmp oscar pam pcmcia pcre pda pdf perl php plotutils png pppd python qt qt3 qt4 quicktime readline recode reflection samba session spell spl sse sse2 ssl subtitles svg svga sysfs syslog tcpd tetex tidy tiff timidity truetype unicode usb vcd vorbis wifi win32codecs wma wxwindows x86 xface xine xml xorg xpm xv xvid yahoo zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 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 mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd 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 dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse synaptics evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de en" USERLAND="GNU" VIDEO_CARDS="vesa vga dummy fbdev radeon"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

Comment 6 calculator 2008-08-11 12:56:00 UTC
# python-updater
and all ok. thanks.