[rt-users] Why does RT crash with RT::Attribute::Name?

Nathan, Ahalya Ahalya_Nathan at mudnebr.com
Tue Feb 14 10:04:29 EST 2006


Jesse,
When I tried installing the latest version of SearchBuilder from CPAN,
it gave me this error. Any idea what I am doing wrong?

Running make test
PERL_DL_NONLAZY=1 /usr/local/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/00.load.t
t/01basics.t t/01nocap_api.t t/01records.t t/01searches.t
t/02records_object.t t/03rebless.t t/10schema.t t/11schema_records.t
t/pod.t
t/00.load.............
#     Failed test (t/00.load.t at line 3)
#     Tried to use 'DBIx::SearchBuilder'.
#     Error:  Can't locate Clone.pm in @INC (@INC contains:
/root/.cpan/build/DBIx-SearchBuilder-1.38/inc
/root/.cpan/build/DBIx-SearchBuilder-1.38/blib/lib
/root/.cpan/build/DBIx-SearchBuilder-1.38/blib/arch
/usr/local/lib/perl5/5.8.6/i686-linux
/usr/local/lib/perl5/5.8.6/i686-linux /usr/local/lib/perl5/5.8.6
/usr/local/lib/perl5/site_perl/5.8.6/i686-linux
/usr/local/lib/perl5/site_perl/5.8.6/i686-linux
/usr/local/lib/perl5/site_perl/5.8.6
/usr/local/lib/perl5/site_perl/5.8.6/i686-linux
/usr/local/lib/perl5/site_perl/5.8.6 /usr/local/lib/perl5/site_perl .
/usr/local/lib/perl5/5.8.6/i686-linux /usr/local/lib/perl5/5.8.6
/usr/local/lib/perl5/site_perl/5.8.6/i686-linux
/usr/local/lib/perl5/site_perl/5.8.6 /usr/local/lib/perl5/site_perl .)
at
/root/.cpan/build/DBIx-SearchBuilder-1.38/blib/lib/DBIx/SearchBuilder.pm
line 9.
# BEGIN failed--compilation aborted at t/00.load.t line 3.
# Compilation failed in require at (eval 3) line 2.
# BEGIN failed--compilation aborted at (eval 3) line 2.
t/00.load.............ok 12/12# Looks like you failed 1 test of 12.
t/00.load.............dubious
        Test returned status 1 (wstat 256, 0x100)
DIED. FAILED test 1
        Failed 1/12 tests, 91.67% okay
t/01basics............ok
t/01nocap_api.........skipped
        all skipped: capitalization pragma is not installed
t/01records...........ok
        65/130 skipped: No schema for 'Oracle' driver
        4/8 skipped: ENV is not defined for driver 'Oracle'
t/10schema............ok
        28/31 skipped: first goal is to work on Pg
t/11schema_records....Can't locate Clone.pm in @INC (@INC contains:
/root/.cpan/build/DBIx-SearchBuilder-1.38/inc
/root/.cpan/build/DBIx-SearchBuilder-1.38/blib/lib
/root/.cpan/build/DBIx-SearchBuilder-1.38/blib/arch
/usr/local/lib/perl5/5.8.6/i686-linux
/usr/local/lib/perl5/5.8.6/i686-linux /usr/local/lib/perl5/5.8.6
/usr/local/lib/perl5/site_perl/5.8.6/i686-linux
/usr/local/lib/perl5/site_perl/5.8.6/i686-linux
/usr/local/lib/perl5/site_perl/5.8.6
/usr/local/lib/perl5/site_perl/5.8.6/i686-linux
/usr/local/lib/perl5/site_perl/5.8.6 /usr/local/lib/perl5/site_perl .
/usr/local/lib/perl5/5.8.6/i686-linux /usr/local/lib/perl5/5.8.6
/usr/local/lib/perl5/site_perl/5.8.6/i686-linux
/usr/local/lib/perl5/site_perl/5.8.6 /usr/local/lib/perl5/site_perl .)
at
/root/.cpan/build/DBIx-SearchBuilder-1.38/blib/lib/DBIx/SearchBuilder.pm
line 9.
BEGIN failed--compilation aborted at
/root/.cpan/build/DBIx-SearchBuilder-1.38/blib/lib/DBIx/SearchBuilder.pm
line 9.
Compilation failed in require at (eval 14) line 3.
        ...propagated at /usr/local/lib/perl5/5.8.6/base.pm line 85.
BEGIN failed--compilation aborted at t/11schema_records.t line 276.
# Looks like your test died before it could output anything.
t/11schema_records....dubious
        Test returned status 255 (wstat 65280, 0xff00)
t/pod.................skipped
        all skipped: Test::Pod 1.00 required for testing POD
Failed Test          Stat Wstat Total Fail  Failed  List of Failed
------------------------------------------------------------------------
-------
t/00.load.t             1   256    12    1   8.33%  1
t/01searches.t        255 65280    ??   ??       %  ??
t/11schema_records.t  255 65280    ??   ??       %  ??
2 tests and 108 subtests skipped.
Failed 3/10 test scripts, 70.00% okay. 1/211 subtests failed, 99.53%
okay.
make: *** [test_dynamic] Error 255
  /usr/bin/make test -- NOT OK
Running make install
  make test had returned bad status, won't install without force

Thanks,
Ahalya Nathan
Senior Programmer / Analyst
Information Technology, Metropolitan Utilities District 
(402) 504-7180 phone
(402) 504-5180 fax



-----Original Message-----
From: Jesse Vincent [mailto:jesse at bestpractical.com] 
Sent: Monday, February 13, 2006 3:49 PM
To: Nathan, Ahalya
Cc: Jesse Vincent; rt-users at lists.bestpractical.com
Subject: Re: [rt-users] Why does RT crash with RT::Attribute::Name?




On Mon, Feb 13, 2006 at 03:46:02PM -0600, Nathan, Ahalya wrote:
> Any idea why this is happening since the error says that:
> Scrip Prepare 41 died. - RT::Attribute::Name Unimplemented in
> RT::Attributes. (/usr/local/rt/lib/RT/Attributes_Overlay.pm line 81
> 
> Is it because, the records are not fetched by the DBIX handle?

There's been extensive discussion of this on rt-users and rt-devel over
the past several months. Please have a look through the archives.

> 
> Ahalya Nathan
> Senior Programmer / Analyst
> Information Technology, Metropolitan Utilities District 
> (402) 504-7180 phone
> (402) 504-5180 fax
> 
> 
> 
> -----Original Message-----
> From: Jesse Vincent [mailto:jesse at bestpractical.com] 
> Sent: Monday, February 13, 2006 3:45 PM
> To: Nathan, Ahalya
> Cc: Jesse Vincent; rt-users at lists.bestpractical.com
> Subject: Re: [rt-users] Why does RT crash with RT::Attribute::Name?
> 
> 
> 
> 
> On Mon, Feb 13, 2006 at 03:39:37PM -0600, Nathan, Ahalya wrote:
> > Jesse,
> > Do you think that the 1.35 version of DBIx/SearchBuilder caused RT
to
> > crash? Do I need to upgrade it?
> 
> It'd be interesting to know if you still see this issue with 1.38
> 
> > 
> > Thanks,
> > Ahalya Nathan
> > Senior Programmer / Analyst
> > Information Technology, Metropolitan Utilities District 
> > (402) 504-7180 phone
> > (402) 504-5180 fax
> > 
> > 
> > 
> > -----Original Message-----
> > From: rt-users-bounces at lists.bestpractical.com
> > [mailto:rt-users-bounces at lists.bestpractical.com] On Behalf Of
Nathan,
> > Ahalya
> > Sent: Monday, February 13, 2006 9:16 AM
> > To: Jesse Vincent
> > Cc: rt-users at lists.bestpractical.com
> > Subject: RE: [rt-users] Why does RT crash with RT::Attribute::Name?
> > 
> > This is a more detailed description that I got from the log:
> > 
> > Scrip Prepare 41 died. - RT::Attribute::Name Unimplemented in
> > RT::Attributes. (/usr/local/rt/lib/RT/Attributes_Overlay.pm line 81)
> > 
> > Stack:
> >  
> >
>
[/usr/local/lib/perl5/site_perl/5.8.6/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/local/lib/RT/Ticket_Overlay.pm:1624]
> >   [/usr/local/rt/lib/RT/Action/SendEmail.pm:563]
> >   [/usr/local/rt/lib/RT/Action/SendEmail.pm:126]
> >   [/usr/local/rt/lib/RT/Action/Notify.pm:65]
> >   [/usr/local/rt/lib/RT/ScripAction_Overlay.pm:233]
> >   [/usr/local/rt/lib/RT/Scrip_Overlay.pm:478]
> >   [/usr/local/rt/lib/RT/Scrips_Overlay.pm:236]
> >   [/usr/local/rt/local/lib/RT/Transaction_Overlay.pm:169]
> >   [/usr/local/rt/lib/RT/Record.pm:1431]
> >   [/usr/local/rt/local/lib/RT/Ticket_Overlay.pm:3052]
> >   [/usr/local/rt/lib/RT/Interface/Web.pm:1096]
> >   [/usr/local/rt/share/html/Ticket/ModifyAll.html:178]
> >   [/usr/local/rt/local/html/autohandler:194]
> >  (/usr/local/rt/lib/RT/Scrip_Overlay.pm:481)
> > 
> > It says the scrip prepare died, what does that mean?
> > 
> > Thanks,
> > Ahalya Nathan
> > Senior Programmer / Analyst
> > Information Technology, Metropolitan Utilities District 
> > (402) 504-7180 phone
> > (402) 504-5180 fax
> > 
> > 
> > 
> > -----Original Message-----
> > From: rt-users-bounces at lists.bestpractical.com
> > [mailto:rt-users-bounces at lists.bestpractical.com] On Behalf Of
Nathan,
> > Ahalya
> > Sent: Monday, February 13, 2006 9:05 AM
> > To: Stephen Turner; Jesse Vincent
> > Cc: rt-users at lists.bestpractical.com
> > Subject: RE: [rt-users] Why does RT crash with RT::Attribute::Name?
> > 
> > Thanks Steve, I found it. Jesse, the version that I am running is
> 1.35.
> > 
> > Ahalya Nathan
> > Senior Programmer / Analyst
> > Information Technology, Metropolitan Utilities District 
> > (402) 504-7180 phone
> > (402) 504-5180 fax
> > 
> > 
> > 
> > -----Original Message-----
> > From: Stephen Turner [mailto:sturner at MIT.EDU] 
> > Sent: Monday, February 13, 2006 9:01 AM
> > To: Nathan, Ahalya; Jesse Vincent
> > Cc: rt-users at lists.bestpractical.com
> > Subject: RE: [rt-users] Why does RT crash with RT::Attribute::Name?
> > 
> > At Monday 2/13/2006 09:34 AM, Nathan, Ahalya wrote:
> > >How do I find which version I am running?
> > 
> > If you look in DBIx/SearchBuilder.pm under your perl installation,
the
> 
> > version is near the top of the file.
> > 
> > Steve 
> > 
> > _______________________________________________
> > http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
> > 
> > Be sure to check out the RT Wiki at http://wiki.bestpractical.com
> > 
> > Download a free sample chapter of RT Essentials from O'Reilly Media
at
> > http://rtbook.bestpractical.com
> > 
> > WE'RE COMING TO YOUR TOWN SOON - RT Training in Amsterdam, Boston
and
> > San Francisco - Find out more at
> > http://bestpractical.com/services/training.html
> > _______________________________________________
> > http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
> > 
> > Be sure to check out the RT Wiki at http://wiki.bestpractical.com
> > 
> > Download a free sample chapter of RT Essentials from O'Reilly Media
at
> > http://rtbook.bestpractical.com
> > 
> > WE'RE COMING TO YOUR TOWN SOON - RT Training in Amsterdam, Boston
and
> > San Francisco - Find out more at
> > http://bestpractical.com/services/training.html
> > 
> 
> -- 
> 

-- 



More information about the rt-users mailing list