Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 137650

Summary: www-apps/rt upgrade fails, database problem?
Product: Gentoo Linux Reporter: Ted Serreyn <ted>
Component: Current packagesAssignee: Renat Lumpau (RETIRED) <rl03>
Status: RESOLVED INVALID    
Severity: critical CC: web-apps
Priority: High    
Version: 2006.0   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Ted Serreyn 2006-06-22 13:04:56 UTC
geronimo rt-3.6.0 # emerge --info 
Portage 2.1 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.3.6-r4, 2.6.16-gentoo-r7 i686)
=================================================================
System uname: 2.6.16-gentoo-r7 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz
Gentoo Base System version 1.6.14
dev-lang/python:     2.3.5-r2, 2.4.2
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1-r2
sys-devel/gcc-config: 1.3.13-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -mcpu=pentium4 -funroll-loops -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /opt/OpenNMS/etc /opt/OpenNMS/webapps/opennms/WEB-INF/web.xml /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/lib/X11/xkb /usr/share/config /var/bind"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O3 -mcpu=pentium4 -funroll-loops -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.chem.wisc.edu/gentoo http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://199.171.86.153/gentoo-portage/"
USE="x86 X alsa apache2 apm arts avi berkdb bitmap-fonts cli crypt cups dri eds emboss encode esd foomaticdb fortran gd gdbm gif gnome gpm gstreamer gtk gtk2 imap imlib innodb ipv6 isdnlog jpeg kde ldap libg++ libwww mad maildir mikmod milter motif mp3 mpeg mysql ncurses nls nptl ogg opengl oss pam pcre pdflib perl php png postgres pppd python qt quicktime readline reflection sasl sdl session snmp spell spl ssl tcpd tiff truetype truetype-fonts type1-fonts udev vorbis xml xml2 xmms xorg xv zlib elibc_glibc kernel_linux userland_GNU"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Ted Serreyn 2006-06-22 13:06:01 UTC
Get a system error upon upgrading to rt-3.6.0.

System error

error:  Can't call method "Content" on an undefined value at /var/www/support.serreyn.com/htdocs/rt-3.6.0/Elements/MyRT line 76, <DATA> line 225.
 
context:  ...   
72:   
73:  unless (exists $session{'my_rt_portlets'}) { 
74:  my ($d_portlets) = RT::System->new($session{'CurrentUser'})->Attributes->Named('HomepageSettings'); 
75:  my $user = $session{'CurrentUser'}->UserObj; 
76:  $session{'my_rt_portlets'} = $user->Preferences('HomepageSettings', $d_portlets->Content); 
77:  } 
78:   
79:  my $portlets = $session{'my_rt_portlets'}; 
80:   
...   
 
code stack:  /var/www/support.serreyn.com/htdocs/rt-3.6.0/Elements/MyRT:76
/var/www/support.serreyn.com/htdocs/rt-3.6.0/index.html:79
/var/www/support.serreyn.com/htdocs/rt-3.6.0/autohandler:279 
Comment 2 Renat Lumpau (RETIRED) gentoo-dev 2006-06-22 15:58:10 UTC
you need to run rt-setup-database as per postupgrade instructions. 

http://lists.fsck.com/pipermail/rt-users/2006-May/039304.html