Problem customising RT at a glance global config

On my shiny new 3.6.3 system I’m busy setting up.

Config -> Global -> RT at a glance produces an error:

error: Can’t call method “Content” on an undefined value at /opt/csw/rt3/share/html/Admin/Global/MyRT.html line 50.
context:

46: my ( $conf, $pane ) = @_;
47: $default_portlets->SetContent( $conf );
48: push @actions, loc( 'Global portlet [1] saved.’, $pane );
49: }
50: );
51:
52: $m->comp( ‘/Widgets/SelectionBox:process’, %ARGS, self => $
, nojs => 1 )
53: for @panes;
54:

code stack: /opt/csw/rt3/share/html/Admin/Global/MyRT.html:50
/opt/csw/rt3/share/html/Admin/autohandler:47
/opt/csw/rt3/share/html/autohandler:292

Can’t call method “Content” on an undefined value at /opt/csw/rt3/share/html/Admin/Global/MyRT.html line 50.

[raw error as follows]

Trace begun at /opt/csw/share/perl/csw/HTML/Mason/Exceptions.pm line 129
HTML::Mason::Exceptions::rethrow_exception(‘Can’t call method “Content” on an undefined value at /opt/csw/rt3/share/html/Admin/Global/MyRT.html line 50.^J’) called at /opt/csw/rt3/share/html/Admin/Global/MyRT.html line 50
HTML::Mason::Commands::ANON at /opt/csw/share/perl/csw/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run(‘HTML::Mason::Component::FileBased=HASH(0xac0e72c)’) called at /opt/csw/share/perl/csw/HTML/Mason/Request.pm line 1251
eval {…} at /opt/csw/share/perl/csw/HTML/Mason/Request.pm line 1245
HTML::Mason::Request::comp(undef, undef) called at /opt/csw/share/perl/csw/HTML/Mason/Request.pm line 914
HTML::Mason::Request::call_next(‘HTML::Mason::Request::ApacheHandler=HASH(0xac02e8c)’) called at /opt/csw/rt3/share/html/Admin/autohandler line 47
HTML::Mason::Commands::ANON at /opt/csw/share/perl/csw/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run(‘HTML::Mason::Component::FileBased=HASH(0xa90caa8)’) called at /opt/csw/share/perl/csw/HTML/Mason/Request.pm line 1251
eval {…} at /opt/csw/share/perl/csw/HTML/Mason/Request.pm line 1245
HTML::Mason::Request::comp(undef, undef, undef) called at /opt/csw/rt3/share/html/autohandler line 292
HTML::Mason::Commands::ANON at /opt/csw/share/perl/csw/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run(‘HTML::Mason::Component::FileBased=HASH(0x9f7cc18)’) called at /opt/csw/share/perl/csw/HTML/Mason/Request.pm line 1246
eval {…} at /opt/csw/share/perl/csw/HTML/Mason/Request.pm line 1245
HTML::Mason::Request::comp(undef, undef, undef) called at /opt/csw/share/perl/csw/HTML/Mason/Request.pm line 459
eval {…} at /opt/csw/share/perl/csw/HTML/Mason/Request.pm line 459
eval {…} at /opt/csw/share/perl/csw/HTML/Mason/Request.pm line 411
HTML::Mason::Request::exec(‘HTML::Mason::Request::ApacheHandler=HASH(0xac02e8c)’) called at /opt/csw/share/perl/csw/HTML/Mason/ApacheHandler.pm line 168
HTML::Mason::Request::ApacheHandler::exec(‘HTML::Mason::Request::ApacheHandler=HASH(0xac02e8c)’) called at /opt/csw/share/perl/csw/HTML/Mason/ApacheHandler.pm line 826
HTML::Mason::ApacheHandler::handle_request(‘HTML::Mason::ApacheHandler=HASH(0x9bd1140)’, ‘Apache=SCALAR(0xabb6564)’) called at /opt/csw/rt3/bin/webmux.pl line 123
eval {…} at /opt/csw/rt3/bin/webmux.pl line 123
RT::Mason::handler(‘Apache=SCALAR(0xabb6564)’) called at /dev/null line 0
eval {…} at /dev/null line 0

Any pointers as to a potential cause of this would be appreciated. :slight_smile:

Best Regards,
Andrew Lewis

On my shiny new 3.6.3 system I’m busy setting up.

Config -> Global -> RT at a glance produces an error:

error: Can’t call method “Content” on an undefined value at /opt/
csw/rt3/share/html/Admin/Global/MyRT.html line 50.
context:

Suggests that make initdb failed. HOWEVER, if you’re just setting up,
grab 3.6.4 instead :wink: (It should also have a better error message
here)

PGP.sig (186 Bytes)

Hi Jesse,

Thanks for your very prompt response. :wink:

Suggests that make initdb failed. HOWEVER, if you’re just setting up, grab 3.6.4 instead :wink: (It should also have a better error message here)

Hmmm I’m using the Blastwave packages (which don’t have 3.6.4 available yet). I’ve e-mailed the package maintainer to ask when he plans on shipping the new version (and have let him know that I’m having issues with the current one). If it’s too ridiculously far flung in the future or if I don’t have joy with that either then I shall revert to a manual install.

Best,
-AL.

Hmmm I’m using the Blastwave packages (which don’t have 3.6.4 available yet).

Ok well as it turned out 3.6.4 is in Blastwave testing already so I installed that. Error message generated looks very similar (txt file attached).

Best,
-AL.

errtxt.txt (3.09 KB)

Ok well as it turned out 3.6.4 is in Blastwave testing already so I installed that. Error message generated looks very similar (txt file attached).

May be pertinent to mention that the data is from a 3.2.1 system which has been upgraded with the upgrade scripts (for version 3.3.0 and 3.3.11 - one for version 3.5.1 didn’t seem to make any changes).

Best,
-AL.

Ok well as it turned out 3.6.4 is in Blastwave testing already so
I installed that. Error message generated looks very similar (txt
file attached).

May be pertinent to mention that the data is from a 3.2.1 system
which has been upgraded with the upgrade scripts (for version 3.3.0
and 3.3.11 - one for version 3.5.1 didn’t seem to make any changes).

Every time I’ve run it, the 3.5.1 ‘content’ upgrade adds the rows you
need. Perhaps the blastwave package isn’t right?

PGP.sig (186 Bytes)