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

Roy El-Hames rfh at pipex.net
Thu Jul 6 14:06:52 EDT 2006


Mac;
What version of searchbuilder DBIx are you using, we had this problem 
with version 1.33  and RT 3.4.4 , we managed to fix it by removing line 
706 in
/usr/lib/perl5/<what ever your path>/DBIx/SearchBuilder/Record.pm
##$field = $self->_Accessible($field, "column") while 
$self->_Accessible($field, "column");
I can't find a logical explanation or method to say why it caused the 
problem .. but this line did not exist in versions of dbix  < 1.32  
..and which this problem did not happen ..
my users used to get this error 4->5 times a day after removing that 
line this error stopped all together and have n't appeared in the last 8 
months ..
Regards;
Roy

Maciak, TJ wrote:
> Jesse - 
>
>
> Was there any resolution to this problem (see bottom of this message for
> original dialogue Mon Oct 10)?  I too see this error pop up once in
> awhile.  It is very random as others have
>
>
> Said and from what I can tell has occurred 100% of the time when a user
> clicks on Tickets and then loads a saved search.
>
>
> We are *NOT* using SSL so that is not a cause in my situation as someone
> else speculated.  I am running RT v3.42 with
>
>
> Apache 2 and Mod Perl 2 on Fedora Core 4.
>
>
>  
>
>
> I can provide a error message that happened today for your perusal:
>
>
> [START]
>
> error: 
>
> RT::Attribute::Name Unimplemented in RT::Attributes.
> (/opt/rt3/lib/RT/Attributes_Overlay.pm line 79) 
>
> 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/lib/perl5/site_perl/5.8.5/DBIx/SearchBuilder/Record.pm:496
> /opt/rt3/lib/RT/Attributes_Overlay.pm:79
> /opt/rt3/lib/RT/Attributes_Overlay.pm:71
> /opt/rt3/lib/RT/Attributes_Overlay.pm:86
> /opt/rt3/lib/RT/Attributes_Overlay.pm:117
> /opt/rt3/share/html/Search/Elements/SelectSearchesForObjects:58
> /opt/rt3/local/html/Search/Elements/EditSearches:75
> /opt/rt3/share/html/Search/Build.html:79
> /opt/rt3/share/html/autohandler:215
>
>
> raw_error
>
>
> RT::Attribute::Name Unimplemented in RT::Attributes.
> (/opt/rt3/lib/RT/Attributes_Overlay.pm line 79) 
>
>
> Trace begun at /usr/lib/perl5/site_perl/5.8.5/HTML/Mason/Exceptions.pm
> line 129
> HTML::Mason::Exceptions::rethrow_exception('RT::Attribute::Name
> Unimplemented in RT::Attributes. (/opt/rt3/lib/RT/Attributes_Overlay.pm
> line 79) ^J') called at
> /usr/lib/perl5/site_perl/5.8.5/DBIx/SearchBuilder/Record.pm line 496
> DBIx::SearchBuilder::Record::AUTOLOAD('RT::Attribute=HASH(0xc0f2234)')
> called at /opt/rt3/lib/RT/Attributes_Overlay.pm line 79
> RT::Attributes::_BuildAccessTable('RT::Attributes=HASH(0xc1cb330)')
> called at /opt/rt3/lib/RT/Attributes_Overlay.pm line 71
> RT::Attributes::_DoSearch('RT::Attributes=HASH(0xc1cb330)') called at
> /opt/rt3/lib/RT/Attributes_Overlay.pm line 86
> RT::Attributes::_AttrHash('RT::Attributes=HASH(0xc1cb330)') called at
> /opt/rt3/lib/RT/Attributes_Overlay.pm line 117
> RT::Attributes::Named('RT::Attributes=HASH(0xc1cb330)', 'SavedSearch')
> called at /opt/rt3/share/html/Search/Elements/SelectSearchesForObjects
> line 58
> HTML::Mason::Commands::__ANON__('Name', 'LoadSavedSearch', 'Objects',
> 'ARRAY(0xc16ba20)') called at
> /usr/lib/perl5/site_perl/5.8.5/HTML/Mason/Component.pm line 135
> HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0xc1
> 8d7e8)', 'Name', 'LoadSavedSearch', 'Objects', 'ARRAY(0xc16ba20)')
> called at /usr/lib/perl5/site_perl/5.8.5/HTML/Mason/Request.pm line 1255
> eval {...} at /usr/lib/perl5/site_perl/5.8.5/HTML/Mason/Request.pm line
> 1249
> HTML::Mason::Request::comp(undef, undef, 'Name', 'LoadSavedSearch',
> 'Objects', 'ARRAY(0xc16ba20)') called at
> /opt/rt3/local/html/Search/Elements/EditSearches line 75
> HTML::Mason::Commands::__ANON__('CurrentSearch', 'HASH(0xc28c020)',
> 'Dirty', 1, 'SearchId', 'RT::Group-24-SavedSearch-22') called at
> /usr/lib/perl5/site_perl/5.8.5/HTML/Mason/Component.pm line 135
> HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0xc1
> 7e010)', 'CurrentSearch', 'HASH(0xc28c020)', 'Dirty', 1, 'SearchId',
> 'RT::Group-24-SavedSearch-22') called at
> /usr/lib/perl5/site_perl/5.8.5/HTML/Mason/Request.pm line 1255
> eval {...} at /usr/lib/perl5/site_perl/5.8.5/HTML/Mason/Request.pm line
> 1249
> HTML::Mason::Request::comp(undef, undef, 'CurrentSearch',
> 'HASH(0xc28c020)', 'Dirty', 1, 'SearchId',
> 'RT::Group-24-SavedSearch-22') called at
> /opt/rt3/share/html/Search/Build.html line 79
> HTML::Mason::Commands::__ANON__ at
> /usr/lib/perl5/site_perl/5.8.5/HTML/Mason/Component.pm line 135
> HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0xbf
> e1c88)') called at /usr/lib/perl5/site_perl/5.8.5/HTML/Mason/Request.pm
> line 1255
> eval {...} at /usr/lib/perl5/site_perl/5.8.5/HTML/Mason/Request.pm line
> 1249
> HTML::Mason::Request::comp(undef, undef) called at
> /usr/lib/perl5/site_perl/5.8.5/HTML/Mason/Request.pm line 916
> HTML::Mason::Request::call_next('HTML::Mason::Request::ApacheHandler=HAS
> H(0xc0d0a84)') called at /opt/rt3/share/html/autohandler line 215
> HTML::Mason::Commands::__ANON__ at
> /usr/lib/perl5/site_perl/5.8.5/HTML/Mason/Component.pm line 135
> HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0xbc
> 959d0)') called at /usr/lib/perl5/site_perl/5.8.5/HTML/Mason/Request.pm
> line 1250
> eval {...} at /usr/lib/perl5/site_perl/5.8.5/HTML/Mason/Request.pm line
> 1249
> HTML::Mason::Request::comp(undef, undef, undef) called at
> /usr/lib/perl5/site_perl/5.8.5/HTML/Mason/Request.pm line 461
> eval {...} at /usr/lib/perl5/site_perl/5.8.5/HTML/Mason/Request.pm line
> 461
> eval {...} at /usr/lib/perl5/site_perl/5.8.5/HTML/Mason/Request.pm line
> 413
> HTML::Mason::Request::exec('HTML::Mason::Request::ApacheHandler=HASH(0xc
> 0d0a84)') called at
> /usr/lib/perl5/site_perl/5.8.5/HTML/Mason/ApacheHandler.pm line 167
> HTML::Mason::Request::ApacheHandler::exec('HTML::Mason::Request::ApacheH
> andler=HASH(0xc0d0a84)') called at
> /usr/lib/perl5/site_perl/5.8.5/HTML/Mason/ApacheHandler.pm line 817
> HTML::Mason::ApacheHandler::handle_request('HTML::Mason::ApacheHandler=H
> ASH(0xb328c2c)', 'Apache2::RequestRec=SCALAR(0xc1d5aa8)') called at
> /opt/rt3/bin/webmux.pl line 124
> eval {...} at /opt/rt3/bin/webmux.pl line 124
> RT::Mason::handler('Apache2::RequestRec=SCALAR(0xc1d5aa8)') called at -e
> line 0
> eval {...} at -e line 0
>
>
> [END]
>
>
>  [rt-users] RT::Attribute::Name Unimplemented (RT 3.4.4)
>
>
> Raed El - Hames r at elhames.co.uk 
> Mon Oct 10 18:54:27 EDT 2005 
>
> *  Previous message: [rt-users] RT::Attribute::Name Unimplemented (RT
>    3.4.4) 
> *  Next message: [rt-users] RT::Attribute::Name Unimplemented (RT 3.4.4)
>    
> *  Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] 
>
>   _____  
>
> Jesse;
>   
>>
>> On Sun, Oct 09, 2005 at 11:17:00PM +0100, Raed El - Hames wrote:
>>     
>>> Sorry about earlier posting not sure what happened there:
>>>
>>> The below error from un-customised rt with populated database:
>>>       error:  RT::Attribute::Name Unimplemented in RT::Attributes.
>>> (/opt/rt3/lib/RT/Attributes_Overlay.pm line 81)
>>>       
>> Just before that line (        push @{$self->{'attr'}->{$attr->Name}},
>>     
> $attr; ),
>   
>> insert the following debugging lines:
>>
>> $RT::Logger->crit("Loading an attribute - ".ref($attr) .' - '.
>>     
> $attr->_Value('Name'));
>   
>> $RT::Logger->crit("It can name" ) if $attr->can('Name');
>>
>> Then see what you get in the logs just before this error.
>>     
>  
> few lines
> [Mon Oct 10 22:20:05 2005] [debug]: RT::CustomField -> QueueObj
> deprecated
> (/opt/rt3/lib/RT/CustomField_Overlay.pm:753)
> [Mon Oct 10 22:20:05 2005] [warning]: Use of uninitialized value in
> concatenation (.) or string at
> /opt/rt3/share/html/Search/Elements/BuildFormatString line 128.
> (/opt/rt3/lib/RT.pm:287)
> Then this beauty
> [Mon Oct 10 22:30:06 2005] [warning]: Argument "\x{36}\x{3e}..." isn't
> numeric in array element at
> /opt/rt3/share/html/Search/Elements/BuildFormatString line 153.
> (/opt/rt3/lib/RT.pm:287)
>  
> followed by few lines of
> [Mon Oct 10 22:16:02 2005] [warning]: Use of uninitialized value in join
> or
> string at /opt/rt3/share/html/Elements/SelectBoolean line 48.
> (/opt/rt3/lib/RT.pm:287)
> followed by few (100 or so lines of )
> [Mon Oct 10 22:14:26 2005] [warning]: Use of uninitialized value in
> string
> eq at /opt/rt3/share/html/Elements/SelectCustomFieldOperator line 50.
> (/opt/rt3/lib/RT.pm:287)
>  
> The "Argument "\x{36}\x{3e}" line appear only when the Attribute::Name
> error
> pops up, the other lines are always there, looking at RT.pm line 153,
> its
> the ConnectToDatabase function, I have the database on a remote server
> (is
> that causing the problem??- it was fine with 3.2.3), I am confident the
> network connection/commnication is not a problem??
>  
> Roy
>  
>
>  
>
>
>
>   
> ------------------------------------------------------------------------
>
> _______________________________________________
> 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/about/jobs.html




More information about the rt-users mailing list