[rt-users] MyRT line 76

Joshua Hunter jhunter at telwestservices.com
Mon May 1 11:24:29 EDT 2006


I've just recently upgraded from 3.4.5 to 3.6.0pre1.  Everything seems
to be working fine now (after dealing with some GD issues) except that I
receive an error on the RT at a glance page.  I am completely new to
Linux and RT (this is the first system I've ever installed and the first
app I've ever configured) and have no idea what I'm looking at here.  I
got 3.4.5 up without any problems, but ran into a few snags with 3.6.  I
searched gossamer threads and saw that someone had emailed about this in
August with version 3.5.2, but didn't see any response.  Hopefully
someone a bit more experienced can help.

 

Thanks,

 

Joshua Hunter

 

Tel West Communications

Tel West Network Services

Information Technology

Tel: 206-577-6333

Fax: 206-315-3638

 

 

System error

error:    Can't call method "Content" on an undefined value at
/opt/rt3/share/html/Elements/MyRT line 76.

context:            ...         

72:        

73:        unless (exists $session{'my_rt_portlets'}) {

74:        my ($d_portlets) =
RT::System->new($session{'CurrentUser'})->Attributes->Named('HomepageSet
tings');

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:       /opt/rt3/share/html/Elements/MyRT:76

/opt/rt3/share/html/index.html:79

/opt/rt3/share/html/autohandler:279

 

 

raw error

 

Can't call method "Content" on an undefined value at
/opt/rt3/share/html/Elements/MyRT line 76.

 

 

Trace begun at /usr/share/perl5/HTML/Mason/Exceptions.pm line 129

HTML::Mason::Exceptions::rethrow_exception('Can\'t call method "Content"
on an undefined value at /opt/rt3/share/html/Elements/MyRT line 76.^J')
called at /opt/rt3/share/html/Elements/MyRT line 76

HTML::Mason::Commands::__ANON__ at
/usr/share/perl5/HTML/Mason/Component.pm line 135

HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x9f
c2e2c)') called at /usr/share/perl5/HTML/Mason/Request.pm line 1251

eval {...} at /usr/share/perl5/HTML/Mason/Request.pm line 1245

HTML::Mason::Request::comp(undef, undef) called at
/opt/rt3/share/html/index.html line 79

HTML::Mason::Commands::__ANON__ at
/usr/share/perl5/HTML/Mason/Component.pm line 135

HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x9e
cdf4c)') called at /usr/share/perl5/HTML/Mason/Request.pm line 1251

eval {...} at /usr/share/perl5/HTML/Mason/Request.pm line 1245

HTML::Mason::Request::comp(undef, undef) called at
/usr/share/perl5/HTML/Mason/Request.pm line 914

HTML::Mason::Request::call_next('HTML::Mason::Request::ApacheHandler=HAS
H(0x9f88148)') called at /opt/rt3/share/html/autohandler line 279

HTML::Mason::Commands::__ANON__ at
/usr/share/perl5/HTML/Mason/Component.pm line 135

HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x9d
e06f4)') called at /usr/share/perl5/HTML/Mason/Request.pm line 1246

eval {...} at /usr/share/perl5/HTML/Mason/Request.pm line 1245

HTML::Mason::Request::comp(undef, undef, undef) called at
/usr/share/perl5/HTML/Mason/Request.pm line 459

eval {...} at /usr/share/perl5/HTML/Mason/Request.pm line 459

eval {...} at /usr/share/perl5/HTML/Mason/Request.pm line 411

HTML::Mason::Request::exec('HTML::Mason::Request::ApacheHandler=HASH(0x9
f88148)') called at /usr/share/perl5/HTML/Mason/ApacheHandler.pm line
165

HTML::Mason::Request::ApacheHandler::exec('HTML::Mason::Request::ApacheH
andler=HASH(0x9f88148)') called at
/usr/share/perl5/HTML/Mason/ApacheHandler.pm line 832

HTML::Mason::ApacheHandler::handle_request('HTML::Mason::ApacheHandler=H
ASH(0x8875278)', 'Apache2::RequestRec=SCALAR(0x9f8bd54)') called at
/opt/rt3/bin/webmux.pl line 123

eval {...} at /opt/rt3/bin/webmux.pl line 123

RT::Mason::handler('Apache2::RequestRec=SCALAR(0x9f8bd54)') called at -e
line 0

eval {...} at -e line 0

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20060501/f0bc104c/attachment.htm>


More information about the rt-users mailing list