[rt-users] Problem customising RT at a glance global config

Jesse Vincent jesse at bestpractical.com
Wed Jul 11 04:13:54 EDT 2007


On Jul 11, 2007, at 1:06 AM, Andrew Lewis wrote:

> 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 ;) (It _should_ also have a better error message  
here)

> ...  	
> 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. :)
>
> Best Regards,
> Andrew Lewis
> _______________________________________________
> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
>
> Community help: http://wiki.bestpractical.com
> Commercial support: sales at bestpractical.com
>
>
> Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
> Buy a copy at http://rtbook.bestpractical.com
>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: This is a digitally signed message part
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20070711/99d9bfde/attachment.sig>


More information about the rt-users mailing list