[rt-users] Help w/ Dirk's HideGlobalScrips per queue

Joseph_Micciche at Progressive.com Joseph_Micciche at Progressive.com
Thu Jun 30 09:28:30 EDT 2005


I applied Dirk Pape's Request Tracker modification HideGlobalScrips
V1.1b1to my RT V3.2.3 installation, running MySQL V4.0.20, Apache 1.33 and
mod_perl. I can go into Config->Global->Scrips and have the option to
delete, active, deactive. *BUT* when I go into
Config->Queue-><queuename>->Scrips, I get the following error. I do have a
new table in my RT db, it is called QueueDeactivatedScrips. I do not have
any errors related to this in my rt.log.

I'm unsure of how to proceed to get this modification to work - is it as
simple as deleting the cached mason data? Thanks in advance for any help!

(I am emailing the list b/c I believe Dirk's OoO message has him out until
7/14.)

error:  $id already defined at
/usr/local/rt/share/html/Admin/Elements/DeactivateGlobalScrips line 214
context:  ...
210:  }
211:  }
212:
213:  </%INIT>
214:  <%ARGS>
215:  $id => undef
216:  </%ARGS>
217:  %# BEGIN LICENSE BLOCK
218:  %#
...

code stack:  /usr/local/perl/lib/site_perl/5.8.4/HTML/Mason/Lexer.pm:595
g /usr/local/perl/lib/site_perl/5.8.4/HTML/Mason/Compiler.pm:360
g /usr/local/perl/lib/site_perl/5.8.4/HTML/Mason/Lexer.pm:271
g /usr/local/perl/lib/site_perl/5.8.4/HTML/Mason/Lexer.pm:188
g /usr/local/perl/lib/site_perl/5.8.4/HTML/Mason/Lexer.pm:136
g /usr/local/perl/lib/site_perl/5.8.4/HTML/Mason/Lexer.pm:98
g /usr/local/perl/lib/site_perl/5.8.4/HTML/Mason/Compiler.pm:210
g /usr/local/perl/lib/site_perl/5.8.4/HTML/Mason/Compiler/ToObject.pm:75
g /usr/local/perl/lib/site_perl/5.8.4/HTML/Mason/Compiler/ToObject.pm:115
g /usr/local/perl/lib/site_perl/5.8.4/HTML/Mason/Interp.pm:308
g /usr/local/perl/lib/site_perl/5.8.4/HTML/Mason/Request.pm:892
g /usr/local/perl/lib/site_perl/5.8.4/HTML/Mason/Request.pm:996
g /usr/local/rt/share/html/Admin/Queues/Scrips.html:55
g /usr/local/rt/share/html/autohandler:221
g
raw error
$id already defined at
/usr/local/rt/share/html/Admin/Elements/DeactivateGlobalScrips line 214

Trace begun at /usr/local/perl/lib/site_perl/5.8.4/HTML/Mason/Lexer.pm line
595
HTML::Mason::Lexer::throw_syntax_error('HTML::Mason::Lexer=HASH(0x946e8a8)',
 '$id already defined') called at /usr/local/perl/lib/site_perl/5.8.4
/HTML/Mason/Compiler.pm line 360
HTML::Mason::Compiler::variable_declaration('HTML::Mason::Compiler::ToObject=HASH(0x946e890)',
 'block_type', 'args', 'type', '$', 'name', 'id', 'default', ' undef')
called at /usr/local/perl/lib/site_perl/5.8.4/HTML/Mason/Lexer.pm line 271
HTML::Mason::Lexer::variable_list_block('HTML::Mason::Lexer=HASH(0x946e8a8)',
 'HASH(0x976ddd8)') called at /usr/local/perl/lib/site_perl/5.8.4
/HTML/Mason/Lexer.pm line 188
HTML::Mason::Lexer::match_block('HTML::Mason::Lexer=HASH(0x946e8a8)')
called at /usr/local/perl/lib/site_perl/5.8.4/HTML/Mason/Lexer.pm line 136
HTML::Mason::Lexer::start('HTML::Mason::Lexer=HASH(0x946e8a8)') called at
/usr/local/perl/lib/site_perl/5.8.4/HTML/Mason/Lexer.pm line 98
eval {...}('HTML::Mason::Lexer=HASH(0x946e8a8)') called at
/usr/local/perl/lib/site_perl/5.8.4/HTML/Mason/Lexer.pm line 96
HTML::Mason::Lexer::lex(undef, 'comp_source', 'SCALAR(0x8b41278)', 'name',
'/usr/local/rt/share/html/Admin/Elements/DeactivateGlobalScrips',
'compiler', 'HTML::Mason::Compiler::ToObject=HASH(0x946e890)') called at
/usr/local/perl/lib/site_perl/5.8.4/HTML/Mason/Compiler.pm line 210
HTML::Mason::Compiler::compile(undef, 'fh', '*HTML::Mason::Tools::FH',
'name', '/usr/local/rt/share/html/Admin/Elements/DeactivateGlobalScrips',
'comp_source', 'SCALAR(0x8b41278)') called at
/usr/local/perl/lib/site_perl/5.8.4/HTML/Mason/Compiler/ToObject.pm line 75
HTML::Mason::Compiler::ToObject::compile('HTML::Mason::Compiler::ToObject=HASH(0x946e890)',
 'comp_source', 'SCALAR(0x8b41278)', 'name',
'/usr/local/rt/share/html/Admin/Elements/DeactivateGlobalScrips',
'comp_class', 'HTML::Mason::Component::FileBased', 'fh',
'*HTML::Mason::Tools::FH') called at /usr/local/perl/lib/site_perl/5.8.4
/HTML/Mason/Compiler/ToObject.pm line 115
HTML::Mason::Compiler::ToObject::compile_to_file(undef, 'file',
'/usr/local/rt/var/mason_data/obj/standard/Admin/Elements/DeactivateGlobalScrips',
 'source', 'HTML::Mason::ComponentSource=HASH(0x973ba68)') called at
/usr/local/perl/lib/site_perl/5.8.4/HTML/Mason/Interp.pm line 308
HTML::Mason::Interp::load('HTML::Mason::Interp=HASH(0x946e998)',
'/Admin/Elements/DeactivateGlobalScrips') called at
/usr/local/perl/lib/site_perl/5.8.4/HTML/Mason/Request.pm line 892
HTML::Mason::Request::fetch_comp('HTML::Mason::Request::ApacheHandler=HASH(0x951aed0)',
 '/Admin/Elements/DeactivateGlobalScrips') called at
/usr/local/perl/lib/site_perl/5.8.4/HTML/Mason/Request.pm line 996
HTML::Mason::Request::comp('HTML::Mason::Request::ApacheHandler=HASH(0x951aed0)',
 '/Admin/Elements/DeactivateGlobalScrips', 'id', 1) called at
/usr/local/rt/share/html/Admin/Queues/Scrips.html line 55
HTML::Mason::Commands::__ANON__('id', 1, 'id', 1) called at
/usr/local/perl/lib/site_perl/5.8.4/HTML/Mason/Component.pm line 134
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x9835914)',
 'id', 1, 'id', 1) called at /usr/local/perl/lib/site_perl/5.8.4
/HTML/Mason/Request.pm line 1074
eval {...}('HTML::Mason::Component::FileBased=HASH(0x9835914)', 'id', 1,
'id', 1) called at /usr/local/perl/lib/site_perl/5.8.4
/HTML/Mason/Request.pm line 1068
HTML::Mason::Request::comp(undef, undef, 'id', 1, 'id', 1) called at
/usr/local/perl/lib/site_perl/5.8.4/HTML/Mason/Request.pm line 760
HTML::Mason::Request::call_next('HTML::Mason::Request::ApacheHandler=HASH(0x951aed0)',
 'id', 1) called at /usr/local/rt/share/html/autohandler line 221
HTML::Mason::Commands::__ANON__('id', 1) called at
/usr/local/perl/lib/site_perl/5.8.4/HTML/Mason/Component.pm line 134
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x958aba8)',
 'id', 1) called at /usr/local/perl/lib/site_perl/5.8.4
/HTML/Mason/Request.pm line 1069
eval {...}('HTML::Mason::Component::FileBased=HASH(0x958aba8)', 'id', 1)
called at /usr/local/perl/lib/site_perl/5.8.4/HTML/Mason/Request.pm line
1068
HTML::Mason::Request::comp(undef, undef, undef, 'id', 1) called at
/usr/local/perl/lib/site_perl/5.8.4/HTML/Mason/Request.pm line 338
eval {...}(undef, undef, undef, 'id', 1) called at
/usr/local/perl/lib/site_perl/5.8.4/HTML/Mason/Request.pm line 338
eval {...}(undef, undef, undef, 'id', 1) called at
/usr/local/perl/lib/site_perl/5.8.4/HTML/Mason/Request.pm line 297
HTML::Mason::Request::exec('HTML::Mason::Request::ApacheHandler=HASH(0x951aed0)')
 called at /usr/local/perl/lib/site_perl/5.8.4/HTML/Mason/ApacheHandler.pm
line 134
eval {...}('HTML::Mason::Request::ApacheHandler=HASH(0x951aed0)') called at
/usr/local/perl/lib/site_perl/5.8.4/HTML/Mason/ApacheHandler.pm line 134
HTML::Mason::Request::ApacheHandler::exec('HTML::Mason::Request::ApacheHandler=HASH(0x951aed0)')
 called at /usr/local/perl/lib/site_perl/5.8.4/HTML/Mason/ApacheHandler.pm
line 792
HTML::Mason::ApacheHandler::handle_request('HTML::Mason::ApacheHandler=HASH(0x945ccb4)',
 'Apache=SCALAR(0x951e520)') called at /usr/local/rt/bin/webmux.pl line 126
eval {...}('HTML::Mason::ApacheHandler=HASH(0x945ccb4)',
'Apache=SCALAR(0x951e520)') called at /usr/local/rt/bin/webmux.pl line 126
RT::Mason::handler('Apache=SCALAR(0x951e520)') called at /dev/null line 0
eval {...}('Apache=SCALAR(0x951e520)') called at /dev/null line 0

Joe Micciche




More information about the rt-users mailing list