Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 355295 - app-admin/webapp-config-1.50.18 cannot update webapps
Summary: app-admin/webapp-config-1.50.18 cannot update webapps
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: Normal normal with 1 vote (vote)
Assignee: Anthony Basile
URL:
Whiteboard:
Keywords:
: 363621 367507 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-02-17 05:20 UTC by Patrick
Modified: 2013-08-03 14:15 UTC (History)
22 users (show)

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


Attachments
My emerge --info (emerge.info,15.81 KB, text/plain)
2011-03-11 09:28 UTC, Alexey Shildyakov
Details
0001-Fix-bug-355295.patch (0001-Fix-bug-355295.patch,1023 bytes, patch)
2011-12-27 10:07 UTC, Michael Palimaka (kensington)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick 2011-02-17 05:20:49 UTC
When attempting to update webapps with app-admin/webapp-config-1.50.18, it errors out with this message:

Updating wordpress to version 3.0.5 for host somehost, directory /blog.
Traceback (most recent call last):
  File "/usr/sbin/webapp-config-2.6", line 44, in <module>
    main()
  File "/usr/sbin/webapp-config-2.6", line 41, in main
    config.run()
  File "/usr/lib64/python2.6/site-packages/WebappConfig/config.py", line 1335, in run
    old['WEB_CATEGORY'] + old['WEB_PN']):
TypeError: unsupported operand type(s) for +: 'NoneType' and 'str'

Reproducible: Always
Comment 1 Klemen Mihevc 2011-02-17 11:16:41 UTC
Yes i had same problem, reverted back to 1.50.16.
Comment 2 Wormo (RETIRED) gentoo-dev 2011-02-18 20:10:45 UTC
Could one of you please post your 'emerge --info'?
Comment 3 J.C. Wren 2011-02-18 20:15:23 UTC
etb ~ # emerge --info
Portage 2.1.9.40 (selinux/2007.0/x86/hardened, gcc-4.5.2, glibc-2.13-r1, 2.6.37-gentoo-raid i686)
=================================================================
System uname: Linux-2.6.37-gentoo-raid-i686-Intel-R-_Pentium-R-_4_CPU_2.80GHz-with-gentoo-2.0.1
Timestamp of tree: Fri, 18 Feb 2011 05:45:01 +0000
distcc 3.1 i686-pc-linux-gnu [enabled]
app-shells/bash:     4.1_p9
dev-java/java-config: 2.1.11-r3
dev-lang/python:     2.7.1
dev-util/cmake:      2.8.3-r1
sys-apps/baselayout: 2.0.1-r1
sys-apps/openrc:     0.7.0
sys-apps/sandbox:    2.5
sys-devel/autoconf:  2.68
sys-devel/automake:  1.10.3, 1.11.1
sys-devel/binutils:  2.21
sys-devel/gcc:       4.4.3-r2, 4.5.2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.4-r1
sys-devel/make:      3.82
virtual/os-headers:  2.6.36.1 (sys-kernel/linux-headers)
ACCEPT_KEYWORDS="x86 ~x86"
ACCEPT_LICENSE="*"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /var/bind"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -march=pentium4 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distcc distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox selinux sesandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://gentoo.mirrors.pair.com/ ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo http://mirror.espri.arizona.edu/gentoo/"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j8"
PKGDIR="/usr/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"
SYNC="rsync://portage.private.com/gentoo-portage"
USE="aac apache2 berkdb bzip2 cli cracklib crypt ctype curl cxx dri enscript gd hardened iconv imagemagick jbig jpeg jpeg2k lame mailwrapper mime modules mp3 mpm-prefork mudflap mysql mysqli ncurses netboot nfsv3 nls nptl nptlonly ogg openmp pam pcre perl php pic png python readline rle sasl selinux sendmail sensord server session ssl subversion svnserve tcpd tiff truetype twolame unicode unzip usb vhosts vim-syntax vorbis webdav x86 xml xpm zip 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 cgi 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" CAMERAS="ptp2" 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 ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga neomagic nouveau nv r128 radeon savage sis tdfx trident vesa dummy v4l" 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, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 4 Klemen Mihevc 2011-02-18 21:41:28 UTC
Well for me it was more then just updating also installing wasnt working, then before with pretty much same error. here is my emerge info:

mih ~ # emerge --info
Portage 2.1.9.40 (default/linux/x86/10.0, gcc-4.4.5, glibc-2.12.2-r0, 2.6.36-gentoo-r7 i686)
=================================================================
System uname: Linux-2.6.36-gentoo-r7-i686-Intel-R-_Pentium-R-_4_CPU_2.40GHz-with-gentoo-2.0.1
Timestamp of tree: Fri, 18 Feb 2011 16:45:01 +0000
app-shells/bash:     4.1_p9
dev-lang/python:     2.7.1, 3.1.3
dev-util/cmake:      2.8.3-r1
sys-apps/baselayout: 2.0.1-r1
sys-apps/openrc:     0.7.0
sys-apps/sandbox:    2.5
sys-devel/autoconf:  2.68
sys-devel/automake:  1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.21
sys-devel/gcc:       4.4.5
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.4-r1
sys-devel/make:      3.82
virtual/os-headers:  2.6.36.1 (sys-kernel/linux-headers)
ACCEPT_KEYWORDS="x86 ~x86"
ACCEPT_LICENSE="*"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium4 -mtune=pentium4 -O2 -pipe -fomit-frame-pointer -msse -msse2 -mmmx"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /var/bind"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=pentium4 -mtune=pentium4 -O2 -pipe -fomit-frame-pointer -msse -msse2 -mmmx"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="ftp://mirror.netcologne.de/gentoo/ ftp://mirror.switch.ch/mirror/gentoo/ ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://gentoo.lagis.at ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--sort-common"
LINGUAS="en sl"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="-6 --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"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="acl acpi animgif apache2 apm authfile bash-completion berkdb bluetooth bzip2 caps ccache cgi cli cracklib crypt cups curl cxx dbus dedicated dovecot-sasl dri encode expat extras fontconfig fortran ftp gd gdbm geoip gif gmp gpm gzip hardened iconv icu idn imap intl ipv6 ithreads jpeg lcms ldap lua lzma lzo maildir mhash mmx mng modules mpi mudflap mysql ncurses netboot nls nptl nptlonly ntp ocaml ocamlopt odbc openmp pam pch pcntl pcre pdo perl phar php pic png pop3d posix pppd python quota raw readline samba sasl session slang smtp snmp soap sockets spell sse sse2 ssl suexec suhosin svg swig sysfs tcl tcpd threads tiff truetype udev unicode urandom usb vhosts x86 xinetd xml xmlrpc xsl xtradb zip 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 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 auth_digest authn_dbd ident proxy proxy_ajp proxy_balancer proxy_connect proxy_ftp proxy_http proxy_scgi" APACHE2_MPMS="event" CAMERAS="ptp2" 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 ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en sl" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga neomagic nouveau nv r128 radeon savage sis tdfx trident vesa via vmware dummy v4l" 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, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


Comment 5 Jon Gerdes 2011-02-20 10:27:15 UTC
Same problem, reverted back to 1.50.16-r4 and all OK.

# emerge --info
Portage 2.1.9.40 (default/linux/amd64/10.0, gcc-4.5.2, glibc-2.13-r1, 2.6.37-gentoo x86_64)
=================================================================
System uname: Linux-2.6.37-gentoo-x86_64-Intel-R-_Core-TM-2_Duo_CPU_P8600_@_2.40GHz-with-gentoo-2.0.1
Timestamp of tree: Sat, 19 Feb 2011 14:00:01 +0000
app-shells/bash:     4.1_p9
dev-java/java-config: 2.1.11-r3
dev-lang/python:     2.5.4-r4, 2.6.6-r1, 2.7.1, 3.1.3
dev-util/cmake:      2.8.3-r1
sys-apps/baselayout: 2.0.1-r1
sys-apps/openrc:     0.7.0
sys-apps/sandbox:    2.5
sys-devel/autoconf:  2.13, 2.68
sys-devel/automake:  1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.21
sys-devel/gcc:       4.4.5, 4.5.2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.4-r1
sys-devel/make:      3.82
virtual/os-headers:  2.6.36.1 (sys-kernel/linux-headers)
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -mtune=core2 -O2 -mssse3 -msse4.1 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /opt/openfire/resources/security/ /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/openvpn/easy-rsa /var/bind /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.2/ext-active/ /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.2/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.2/ext-active/ /etc/php/cli-php5.3/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"
CXXFLAGS="-march=core2 -mtune=core2 -O2 -mssse3 -msse4.1 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox"
FFLAGS=""
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en_GB"
MAKEOPTS="-j3"
PKGDIR="/usr/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="/var/lib/layman/sunrise /usr/local/portage/jg"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="64bit X Xaw3d a52 aac accessibility acl acpi activefilter additions admin administrator ads agent alaw alsa amarok amarok2 amd64 apache2 asf atm augeas avahi bash-completion bcmath berkdb blender-game bluetooth boost branding bzip2 cairo calendar caps cdda cddb cdr cdrom cgi chipcard chipcard2 chm cisco clamav clamd clamdtop cleartype cli client config-file consolekit corefonts cracklib crypt ctype cups curl custom-optimization customlog cxx daap dba dbus declarative dell designer-plugin desktopglobe device-mapper dga dhcp divx dmi dns dnsdb dragonplayer dri dv dvb dvd dvdr dvdread edirectory embedded emerald enca encode epson exif exim exiscan exiscan-acl expat extensions fam fbcon fbcondecor ffmpeg fftw filter firefox flac flash flexresp2 fontconfig foomaticdb fortran frontend ftp fts3 fuse g722 g729 gd gdbm geoip geolocation gimp glitz gnutls google-gadgets gpm gps graphviz groupwise gtk h224 h281 h323 hal hbci html htmlhandbook http-forms http-server iconv icu ieee1394 imagemagick imap inkjar iodbc ipod iproute2 ipv6 irda irmc jabber java java5 javacomm javamail javascript jbig jboss jce jmx jni john joystick jpeg jpeg2k jpgraph jta jumpplay kcal kde kdehiddenvisibility kdepim kdrive kerberos kexi kipi kvm lastfm latex lcd lcms ldap libnotify libv4l2 lightning lm_sensors log4j logrotate lua lzo mad maildir math mcal mdb mdnsresponder-compat mime ming mjpeg mmkeys mmx mmxext mng modperl modules mono mozsvg mp3 mp3tunes mp4 mp4live mpd mpeg mpeg2 mplayer msdfs mtp mudflap multilib multipath multiuser musepack musicbrainz mysql mysqli nas ncurses netpbm nfsv3 nls no-helper nptl nptlonly nsplugin ntfs ntlm nxclient oav office ofx ogg on-the-fly-crypt openexr opengl openmp ospfapi overlays pam passwordsave pcap pcre pda pdf pdo perl php pic pipechan plasma plotutils png policykit postgresql ppds pppd python qemu qt3support qt4 quicktime quotes raw rdesktop rdp readline realmedia realms redeyes reiserfs reports rtsp ruby ruby-bindings samba sasl scanner screen sdl secure-delete semantic-desktop session sip sipim slp smp sni snmp soap sockets spf sql sqlite srt sse sse2 sse3 sse4a ssh ssl ssse3 startup-notification stream subversion suexec svg svgz swat sysfs syslog tcpd templates theora thumbnail thumbnails tiff tools tordns truetype udev uk_bleb uk_rt ulaw underscores unicode unzip upnp usb v4l v4l2 vaapi vboxbfe vcd vhosts visualization vnc vorbis vte watchdog wav wavpack webdav webkit wifi winbind winetools winpopup wma wma-fixed wmf wmp wps wxwindows x264 xanim xattr xcb xcomposite xdmcp xinerama xml xmlreader xmlrpc xmlwriter xorg xosd xpm xscreensaver xulrunner xv xvid xvmc xvnc yv12 zeo zip zlib" ALSA_CARDS="hda-intel" 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 authnz_ldap authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info ldap log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling ssl status suexec unique_id userdir usertrack vhost_alias" CAMERAS="ptp2" 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 ubx" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_GB" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="radeon" 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, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 6 Togg 2011-03-10 17:11:21 UTC
Same here...

Traceback (most recent call last):
  File "/usr/sbin/webapp-config-2.7", line 44, in <module>
    main()
  File "/usr/sbin/webapp-config-2.7", line 41, in main
    config.run()
  File "/usr/lib/python2.7/site-packages/WebappConfig/config.py", line 1335, in run
    old['WEB_CATEGORY'] + old['WEB_PN']):
TypeError: unsupported operand type(s) for +: 'NoneType' and 'str'

hostname ~ # emerge --info
Portage 2.1.9.42 (hardened/linux/x86, gcc-4.5.2-hardenednopiessp, glibc-2.13-r1, 2.6.28-hardened-r7 i686)
=================================================================
System uname: Linux-2.6.28-hardened-r7-i686-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_5600+-with-gentoo-2.0.1
Timestamp of tree: Sun, 06 Mar 2011 09:00:01 +0000
app-shells/bash:     4.1_p10
dev-java/java-config: 1.3.7-r1, 2.1.11-r3
dev-lang/python:     2.4.4-r6, 2.5.4-r2, 2.6.6-r1, 2.7.1-r1, 3.1.3-r1
dev-util/cmake:      2.8.4
sys-apps/baselayout: 2.0.1-r1
sys-apps/openrc:     0.7.0
sys-apps/sandbox:    2.5
sys-devel/autoconf:  2.13, 2.68
sys-devel/automake:  1.4_p6, 1.5, 1.9.6-r2, 1.10.3, 1.11.1
sys-devel/binutils:  2.21
sys-devel/gcc:       4.4.5, 4.5.2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.4-r1
sys-devel/make:      3.82
virtual/os-headers:  2.6.36.1 (sys-kernel/linux-headers)
ACCEPT_KEYWORDS="x86 ~x86"
ACCEPT_LICENSE="* -@EULA"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=k8 -msse3 -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /usr/share/openvpn/easy-rsa"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=k8 -msse3 -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://gentoo.mneisen.org/ http://mirror.jamit.de/gentoo/ http://gentoo.supp.name/"
LANG="de_DE.UTF-8"
LC_ALL="de_DE.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en"
MAKEOPTS="-j3"
PKGDIR="/usr/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/local/portage/layman/vmware /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="acl apache2 async bash-completion bcmath bzip2 cgi chroot clamav cli colordiff cracklib crypt ctype cups cxx dlloader dovecot-sasl dri erandom exif expat extensions fam fastcgi filter ftp gd gdbm geoip glibc-omitfp gmp gnutls gpg gpm gzip hardened hash icecast iconv icq icu idn imap iproute2 irc ithreads jabber java jpeg libwww lm_sensors logrotate maildir md5sum memlimit mhash mime mmap mmx mmxext modules msn mudflap mysql mysqli ncurses nls no-old-linux nocd nptl nptlonly oav offensive openmp pam pcre pdo perl pic png posix pppd pwdb python quotas readline resolvconf rss sendmail sensord session sharedext sharedmem snmp sockets spl sqlite sse ssl subversion suhosin symlink sysfs sysvipc tcl tcpd threads tidy tiff truetype ucs2 udev unicode urandom userlocales utf8 vhosts x86 xml xml2 xmlreader xmlrpc xorg xsl 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" APACHE2_MPMS="worker" CAMERAS="ptp2" 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 ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="apm ark chips cirrus cyrix dummy fbdev glint i128 i740 intel mach64 mga neomagic nsc nv r128 radeon rendition s3 s3virge savage siliconmotion sis sisusb tdfx tga trident tseng v4l vesa via vmware nouveau" 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, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 7 Alexey Shildyakov 2011-03-11 09:28:18 UTC
Created attachment 265537 [details]
My emerge --info

 * bugzilla-3.6.4 is already installed - upgrading
 * Running /usr/sbin/webapp-config -U -h localhost -u root -d /bugzilla bugzilla 3.6.4-r1
Traceback (most recent call last):
  File "/usr/sbin/webapp-config-2.6", line 44, in <module>
    main()
  File "/usr/sbin/webapp-config-2.6", line 41, in main
    config.run()
  File "/usr/lib64/python2.6/site-packages/WebappConfig/config.py", line 1335, in run
    old['WEB_CATEGORY'] + old['WEB_PN']):
TypeError: unsupported operand type(s) for +: 'NoneType' and 'str'

 * Running /usr/sbin/webapp-cleaner -p -C bugzilla
 * Package name must be in the form CATEGORY/PN

After this all files inside directory /var/www/localhost/htdocs/bugzilla don't have any permissions.
Comment 8 Weedy 2011-03-27 20:31:17 UTC
Still not fixed. Same error on 64bit.
Comment 9 Vikraman (RETIRED) gentoo-dev 2011-04-23 16:18:39 UTC
I cannot reproduce this on my system.

zsh/5 12681 % emerge --info               
Portage 2.2.2 (default/linux/amd64/2008.0, gcc-4.4.5, libc-0-r0, 2.6.38.2-zen x86_64)
=================================================================
System uname: Linux-2.6.38.2-zen-x86_64-Intel-R-_Core-TM-_i3_CPU_M_330_@_2.13GHz-with-gentoo-2.1.8
Portage Tree: /usr/portage
Portage HEAD: d8dfcf43f31767bf748bd5b49040c90ef66cd76c /usr/portage/.git/refs/heads/funtoo.org
ccache version 3.1.4 [enabled]
app-shells/bash:     4.1_p10
dev-java/java-config: 2.1.11-r3
dev-lang/python:     2.5.4-r4, 2.6.6-r1
dev-util/ccache:     3.1.4
dev-util/cmake:      2.8.4-r1
sys-apps/baselayout: 2.1.8-r2
sys-apps/openrc:     0.7.0
sys-apps/sandbox:    2.5
sys-devel/autoconf:  2.13, 2.68
sys-devel/automake:  1.9.6-r3, 1.10.3, 1.11.1-r1
sys-devel/binutils:  2.20.1
sys-devel/gcc:       4.4.5
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.4-r1
sys-devel/make:      3.81-r2
sys-kernel/linux-headers: 2.6.32
virtual/os-headers:  0
Repositories: gentoo vh4x0r proaudio mpd turbogears2 lisp betagarden sunrise
ACCEPT_KEYWORDS="amd64 ~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/gnupg/qualified.txt /usr/share/maven-bin-3.0/conf /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/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=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs ccache distlocks fixlafiles fixpackages mini-manifest news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://mirror.qubenet.net/mirror/gentoo/"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--sort-common -Wl,--as-needed"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/vh4x0r /var/lib/layman/pro-audio /var/lib/layman/mpd /var/lib/layman/turbogears2 /var/lib/layman/lisp /var/lib/layman/betagarden /var/lib/layman/sunrise"
SYNC="git://github.com/funtoo/portage-mini-2010.git"
SYNC_USER="root"
USE="64bit X aac acl acpi alac alsa amd64 amr bash-completion bluetooth bzip2 cairo cdr cli consolekit cracklib crypt cups curl cxx dbus dhcp dri dvd dvdr dvdread emacs encode exceptions extras fbcon ffmpeg flac fluidsynth fontconfig fortran gdbm gif gmp gpm gtk hddtemp highlight iconv icu jack jpeg ladspa lame laptop lash libcanberra libnotify lm_sensors lzma lzo mad midi mmx mmxext modules mp3 mp4 mpeg mudflap multilib nano-syntax ncurses nls nptl nptlonly nsplugin ntp offensive ogg opengl openmp pam pch pcre perl png policykit pppd python qt3support readline rtmp session sse sse2 sse3 ssh ssl ssse3 startup-notification sysfs syslog system-sqlite tcpd threads tiff truetype udev unicode usb v4l v4l2 vhosts vim-syntax vorbis wavpack wifi x264 xcb xml xorg xv xvid zlib zsh-completion" ALSA_CARDS="hda-intel" 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 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" CAMERAS="ptp2" 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 ubx" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" NETBEANS_MODULES="apisupport cnd java mobility php websvccommon" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="intel" 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, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, SYNC_UMASK
Comment 10 Paul Varner (RETIRED) gentoo-dev 2011-04-25 14:48:31 UTC
Same issue here.


# emerge --info
Portage 2.1.9.46 (default/linux/x86/10.0/desktop/gnome, gcc-4.4.5, libc-0-r0, 2.6.32-gentoo-r7 i686)
=================================================================
System uname: Linux-2.6.32-gentoo-r7-i686-Intel-R-_Pentium-R-_4_CPU_1.60GHz-with-gentoo-2.0.2
Timestamp of tree: Mon, 25 Apr 2011 07:45:01 +0000
app-shells/bash:     4.2_p8
dev-lang/python:     2.6.6-r2, 2.7.1-r1, 3.1.3-r1
dev-util/cmake:      2.8.4-r1
sys-apps/baselayout: 2.0.2
sys-apps/openrc:     0.8.2
sys-apps/sandbox:    2.5
sys-devel/autoconf:  2.68
sys-devel/automake:  1.9.6-r3, 1.10.3, 1.11.1-r1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.5
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.4-r1
sys-devel/make:      3.82
sys-kernel/linux-headers: 2.6.38
virtual/os-headers:  0
ACCEPT_KEYWORDS="x86 ~x86"
ACCEPT_LICENSE="* -@EULA"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium4 -O2 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/chroot/dns /etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=pentium4 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps=y"
FEATURES="assume-digests binpkg-logs distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://distfiles.gentoo.org http://gentoo.osuosl.org"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en"
PKGDIR="/usr/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/local/portage/layman/sunrise /usr/local/portage/local"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="X a52 aac acpi apache2 berkdb branding bzip2 cairo cdr cli consolekit cracklib crypt cups cxx dbus dri dts dvd dvdr eds emboss encode evo exif fam firefox flac fortran gd gdbm gdu gif gnome-keyring gpm iconv jpeg lcms libnotify mad mikmod mng modules mp3 mp4 mpeg mudflap nautilus ncurses nls nptl nptlonly ogg opengl openmp pam pango pcre pdf perl png policykit ppds pppd python qt3support readline sdl session spell ssl startup-notification svg sysfs tcpd tiff truetype udev unicode usb vorbis x264 x86 xcb xml xorg xv xvid zlib" ALSA_CARDS="intel8x0" 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" CAMERAS="fuji" 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 ubx" INPUT_DEVICES="evdev keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="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, INSTALL_MASK, LANG, LC_ALL, MAKEOPTS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 11 Alexander Wright 2011-05-23 12:30:22 UTC
*** Bug 367507 has been marked as a duplicate of this bug. ***
Comment 12 Jorge Manuel B. S. Vicetto (RETIRED) Gentoo Infrastructure gentoo-dev 2011-05-29 03:24:06 UTC
*** Bug 363621 has been marked as a duplicate of this bug. ***
Comment 13 Jorge Manuel B. S. Vicetto (RETIRED) Gentoo Infrastructure gentoo-dev 2011-05-29 03:42:40 UTC
I don't have a "fix" for webapp-config, but I have a workaround to get it working.
It seems that webapp-config-1.50.18 wants to read the WEB_CATEGORY variable from the ${webapp_installed_dir}/.webapp file. I was getting the error here because the .webapp file didn't have that var.
To get webapp-config to work, just add to the top of the .webapp file, right above WEB_PN the following line:

WEB_CATEGORY=""
Comment 14 Elias Probst 2011-06-06 11:48:01 UTC
(In reply to comment #13)
> I don't have a "fix" for webapp-config, but I have a workaround to get it
> working.
> It seems that webapp-config-1.50.18 wants to read the WEB_CATEGORY variable
> from the ${webapp_installed_dir}/.webapp file. I was getting the error here
> because the .webapp file didn't have that var.
> To get webapp-config to work, just add to the top of the .webapp file, right
> above WEB_PN the following line:
> 
> WEB_CATEGORY=""

Thanks a lot, this workaround helps.
So it's just the code which is missing some fallback for .webapp files which don't have WEB_CATEGORY defined.
Comment 15 Michael Palimaka (kensington) gentoo-dev 2011-12-27 10:07:45 UTC
Created attachment 297063 [details, diff]
0001-Fix-bug-355295.patch

Patch to assume WEB_CATEGORY is empty if it's not defined.
Comment 16 Anthony Basile gentoo-dev 2011-12-30 17:56:13 UTC
(In reply to comment #15)
> Created attachment 297063 [details, diff] [details, diff]
> 0001-Fix-bug-355295.patch
> 
> Patch to assume WEB_CATEGORY is empty if it's not defined.

This looks sane to me.  I've applied it to the git repo:

http://git.overlays.gentoo.org/gitweb/?p=proj/webapp-config.git;a=commit;h=b693439b662c3d4d2bf6a445cb89c04eb924160f
Comment 17 Anthony Basile gentoo-dev 2013-08-03 14:15:03 UTC
(In reply to Anthony Basile from comment #16)
> (In reply to comment #15)
> > Created attachment 297063 [details, diff] [details, diff] [details, diff]
> > 0001-Fix-bug-355295.patch
> > 
> > Patch to assume WEB_CATEGORY is empty if it's not defined.
> 
> This looks sane to me.  I've applied it to the git repo:
> 
> http://git.overlays.gentoo.org/gitweb/?p=proj/webapp-config.git;a=commit;
> h=b693439b662c3d4d2bf6a445cb89c04eb924160f

please test webapp-config-1.51 which includes this commit