[rt-users] RT::Attribute::Name Unimplemented in RT::Attributes

Bob Goldstein bobg at uic.edu
Mon Mar 6 19:55:45 EST 2006


I got hit by the same thing recently, for the first time ever,
just out of the blue.  I flushed the mason cache and restarted
all the fcgi processes, and the problem went away.

In case this helps anyone else debugging this,
some detailed notes:

Even when the problem occured, it seemed intermittant.  Either
because it truly was, or I was hitting different fcgi processes,
so some of them had the problem and others didn't.  Don't know.

In the process of troubleshooting, I found the system
was abending when it was trying to autocreate a getter/setter
method in AUTOLOAD.  I didn't see anything wrong in the code,
but clearly it fell through some if statements that I thought
would have been triggered, into the "I'm confused" part of the
program.  I added some extra debugging statements, but nothing
has misbehaved since then.

I have to conclude that this statement:
  $self->_Accessible( $Attrib, 'read' )

in the AUTOLOAD of SearchBuilder/Record.pm,
is failing, meaning that the program thinks RT::Attribute::Name is
not readable.  But I got lost at that point.

  bobg


>-----BEGIN PGP SIGNED MESSAGE-----
>Hash: SHA1
>
>I keep getting this error seemingly at random when building search
>queries.  I can't figure out if there is something specific triggering
>it.  I can go through the query interface like 10 times refining a
>search, and then it will just seemingly randomly trigger.  Clicking on
>"Tickets" or "Query Builder" won't clear the error.  Sometimes it will
>clear after hitting "Home" or "Results" then going back.  Below is the
>error.  Anybody have any ideas?
>
>System error
>error:  	RT::Attribute::Name Unimplemented in RT::Attributes.
>(/usr/local/rt/lib/RT/Attributes_Overlay.pm line 81)
>context:  	
>...  	
>492:  	else {
>493:  	my ( $package, $filename, $line );
>494:  	( $package, $filename, $line ) = caller;
>495:  	
>496:  	die "$AUTOLOAD Unimplemented in $package. ($filename line $line) \n";
>497:  	}
>498:  	
>499:  	}
>500:  	
>...  	
>code stack:  	/usr/local/share/perl/5.8.4/DBIx/SearchBuilder/Record.pm:496
>/usr/local/rt/lib/RT/Attributes_Overlay.pm:81
>/usr/local/rt/lib/RT/Attributes_Overlay.pm:73
>/usr/local/rt/lib/RT/Attributes_Overlay.pm:88
>/usr/local/rt/lib/RT/Attributes_Overlay.pm:119
>/usr/local/rt/share/html/Search/Elements/SelectSearchesForObjects:58
>/usr/local/rt/share/html/Search/Elements/EditSearches:75
>/usr/local/rt/share/html/Search/Build.html:99
>/usr/local/rt/share/html/autohandler:215
>raw error
>
>
>RT::Attribute::Name Unimplemented in RT::Attributes.
>(/usr/local/rt/lib/RT/Attributes_Overlay.pm line 81)
>
>Trace begun at /usr/local/share/perl/5.8.4/HTML/Mason/Exceptions.pm line 129
>HTML::Mason::Exceptions::rethrow_exception('RT::Attribute::Name
>Unimplemented in RT::Attributes.
>(/usr/local/rt/lib/RT/Attributes_Overlay.pm line 81) ^J') called at
>/usr/local/share/perl/5.8.4/DBIx/SearchBuilder/Record.pm line 496
>DBIx::SearchBuilder::Record::AUTOLOAD('RT::Attribute=HASH(0xa3605c8)')
>called at /usr/local/rt/lib/RT/Attributes_Overlay.pm line 81
>RT::Attributes::_BuildAccessTable('RT::Attributes=HASH(0xa33234c)')
>called at /usr/local/rt/lib/RT/Attributes_Overlay.pm line 73
>RT::Attributes::_DoSearch('RT::Attributes=HASH(0xa33234c)') called at
>/usr/local/rt/lib/RT/Attributes_Overlay.pm line 88
>RT::Attributes::_AttrHash('RT::Attributes=HASH(0xa33234c)') called at
>/usr/local/rt/lib/RT/Attributes_Overlay.pm line 119
>RT::Attributes::Named('RT::Attributes=HASH(0xa33234c)', 'SavedSearch')
>called at
>/usr/local/rt/share/html/Search/Elements/SelectSearchesForObjects line 58
>HTML::Mason::Commands::__ANON__('Name', 'LoadSavedSearch', 'Objects',
>'ARRAY(0xa44abb4)') called at
>/usr/local/share/perl/5.8.4/HTML/Mason/Component.pm line 135
>HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0xa403278)
>',
>'Name', 'LoadSavedSearch', 'Objects', 'ARRAY(0xa44abb4)') called at
>/usr/local/share/perl/5.8.4/HTML/Mason/Request.pm line 1251
>eval {...} at /usr/local/share/perl/5.8.4/HTML/Mason/Request.pm line 1245
>HTML::Mason::Request::comp(undef, undef, 'Name', 'LoadSavedSearch',
>'Objects', 'ARRAY(0xa44abb4)') called at
>/usr/local/rt/share/html/Search/Elements/EditSearches line 75
>HTML::Mason::Commands::__ANON__('CurrentSearch', 'HASH(0xa444608)',
>'Dirty', 0, 'SearchId', 'new') called at
>/usr/local/share/perl/5.8.4/HTML/Mason/Component.pm line 135
>HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0xa3f2308)
>',
>'CurrentSearch', 'HASH(0xa444608)', 'Dirty', 0, 'SearchId', 'new')
>called at /usr/local/share/perl/5.8.4/HTML/Mason/Request.pm line 1251
>eval {...} at /usr/local/share/perl/5.8.4/HTML/Mason/Request.pm line 1245
>HTML::Mason::Request::comp(undef, undef, 'CurrentSearch',
>'HASH(0xa444608)', 'Dirty', 0, 'SearchId', 'new') called at
>/usr/local/rt/share/html/Search/Build.html line 99
>HTML::Mason::Commands::__ANON__ at
>/usr/local/share/perl/5.8.4/HTML/Mason/Component.pm line 135
>HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x9e77ff0)
>')
>called at /usr/local/share/perl/5.8.4/HTML/Mason/Request.pm line 1251
>eval {...} at /usr/local/share/perl/5.8.4/HTML/Mason/Request.pm line 1245
>HTML::Mason::Request::comp(undef, undef) called at
>/usr/local/share/perl/5.8.4/HTML/Mason/Request.pm line 914
>HTML::Mason::Request::call_next('HTML::Mason::Request::ApacheHandler=HASH(0xa3
>54898)')
>called at /usr/local/rt/share/html/autohandler line 215
>HTML::Mason::Commands::__ANON__ at
>/usr/local/share/perl/5.8.4/HTML/Mason/Component.pm line 135
>HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x9e108d4)
>')
>called at /usr/local/share/perl/5.8.4/HTML/Mason/Request.pm line 1246
>eval {...} at /usr/local/share/perl/5.8.4/HTML/Mason/Request.pm line 1245
>HTML::Mason::Request::comp(undef, undef, undef) called at
>/usr/local/share/perl/5.8.4/HTML/Mason/Request.pm line 459
>eval {...} at /usr/local/share/perl/5.8.4/HTML/Mason/Request.pm line 459
>eval {...} at /usr/local/share/perl/5.8.4/HTML/Mason/Request.pm line 411
>HTML::Mason::Request::exec('HTML::Mason::Request::ApacheHandler=HASH(0xa354898
>)')
>called at /usr/local/share/perl/5.8.4/HTML/Mason/ApacheHandler.pm line 168
>HTML::Mason::Request::ApacheHandler::exec('HTML::Mason::Request::ApacheHandler
>=HASH(0xa354898)')
>called at /usr/local/share/perl/5.8.4/HTML/Mason/ApacheHandler.pm line 826
>HTML::Mason::ApacheHandler::handle_request('HTML::Mason::ApacheHandler=HASH(0x
>9ad3d24)',
>'Apache=SCALAR(0xa46f8d0)') called at /usr/local/rt/bin/webmux.pl line 123
>eval {...} at /usr/local/rt/bin/webmux.pl line 123
>RT::Mason::handler('Apache=SCALAR(0xa46f8d0)') called at /dev/null line 0
>eval {...} at /dev/null line 0
>
>Thanks,
>Nate
>
>- --
>:wq
>-----BEGIN PGP SIGNATURE-----
>Version: GnuPG v1.4.1 (GNU/Linux)
>Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
>iD8DBQFEDNCMRMRYK1K/wKQRAlNGAJ9V1rRV0CKzyfwjZsFx9GIq73s1XgCfb9xn
>hgLmSAkC7YLVBfLxiEk/VD4=
>=6rPJ
>-----END PGP SIGNATURE-----
>_______________________________________________
>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
>
>
>We're hiring! Come hack Perl for Best Practical: http://bestpractical.com/abou
>t/jobs.html
>



More information about the rt-users mailing list