Why does RT crash with RT::Attribute::Name?

Hi all,

RT crashes with an Unimplemented RT::Attribute::Name method:

457: else {

458: my ($package, $filename, $line);

459: ($package, $filename, $line) = caller;

460:

461: die “$AUTOLOAD Unimplemented in $package. ($filename line $line)
\n”;

462: }

463:

464: }

465:

code stack:

/usr/lib/perl5/site_perl/5.8.3/DBIx/SearchBuilder/Record.pm:461

/opt/rt-3.2.2-iris.ch/lib/RT/Attributes_Overlay.pm:99

/opt/rt-3.2.2-iris.ch/lib/RT/Attributes_Overlay.pm:91

/opt/rt-3.2.2-iris.ch/lib/RT/Attributes_Overlay.pm:106

/opt/rt-3.2.2-iris.ch/lib/RT/Attributes_Overlay.pm:137

/opt/rt-3.2.2-iris.ch/share/html/Search/Elements/SelectSearchesForObject
s:58

/opt/rt-3.2.2-iris.ch/share/html/Search/Elements/EditSearches:70

/opt/rt-3.2.2-iris.ch/share/html/Search/Build.html:88

/opt/rt-3.2.2-iris.ch/share/html/autohandler:221

I was trying to do a simple query of finding a ticket equal to 6636 and
RT crashed with this error. I went to the homepage and then all started
working fine. Can anyone tell me why I am getting this?

Thanks

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

(402) 504-5180 fax

What version of DBIx::SearchBuilder are you running?On Sun, Feb 12, 2006 at 07:44:11AM -0600, Nathan, Ahalya wrote:

Hi all,

RT crashes with an Unimplemented RT::Attribute::Name method:

457: else {

458: my ($package, $filename, $line);

459: ($package, $filename, $line) = caller;

460:

461: die “$AUTOLOAD Unimplemented in $package. ($filename line $line)
\n”;

462: }

463:

464: }

465:

code stack:

/usr/lib/perl5/site_perl/5.8.3/DBIx/SearchBuilder/Record.pm:461

/opt/rt-3.2.2-iris.ch/lib/RT/Attributes_Overlay.pm:99

/opt/rt-3.2.2-iris.ch/lib/RT/Attributes_Overlay.pm:91

/opt/rt-3.2.2-iris.ch/lib/RT/Attributes_Overlay.pm:106

/opt/rt-3.2.2-iris.ch/lib/RT/Attributes_Overlay.pm:137

/opt/rt-3.2.2-iris.ch/share/html/Search/Elements/SelectSearchesForObject
s:58

/opt/rt-3.2.2-iris.ch/share/html/Search/Elements/EditSearches:70

/opt/rt-3.2.2-iris.ch/share/html/Search/Build.html:88

/opt/rt-3.2.2-iris.ch/share/html/autohandler:221

I was trying to do a simple query of finding a ticket equal to 6636 and
RT crashed with this error. I went to the homepage and then all started
working fine. Can anyone tell me why I am getting this?

Thanks

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

(402) 504-5180 fax


The rt-users Archives

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

How do I find which version I am running?

Thanks
Ahalya Nathan
Senior Programmer / Analyst
Information Technology, Metropolitan Utilities District
(402) 504-7180 phone
(402) 504-5180 faxFrom: Jesse Vincent [mailto:jesse@bestpractical.com]
Sent: Sunday, February 12, 2006 12:17 PM
To: Nathan, Ahalya
Cc: rt-users@lists.bestpractical.com
Subject: Re: [rt-users] Why does RT crash with RT::Attribute::Name?

What version of DBIx::SearchBuilder are you running?

Hi all,

RT crashes with an Unimplemented RT::Attribute::Name method:

457: else {

458: my ($package, $filename, $line);

459: ($package, $filename, $line) = caller;

460:

461: die “$AUTOLOAD Unimplemented in $package. ($filename line $line)
\n”;

462: }

463:

464: }

465:

code stack:

/usr/lib/perl5/site_perl/5.8.3/DBIx/SearchBuilder/Record.pm:461

/opt/rt-3.2.2-iris.ch/lib/RT/Attributes_Overlay.pm:99

/opt/rt-3.2.2-iris.ch/lib/RT/Attributes_Overlay.pm:91

/opt/rt-3.2.2-iris.ch/lib/RT/Attributes_Overlay.pm:106

/opt/rt-3.2.2-iris.ch/lib/RT/Attributes_Overlay.pm:137

/opt/rt-3.2.2-iris.ch/share/html/Search/Elements/SelectSearchesForObject

s:58

/opt/rt-3.2.2-iris.ch/share/html/Search/Elements/EditSearches:70

/opt/rt-3.2.2-iris.ch/share/html/Search/Build.html:88

/opt/rt-3.2.2-iris.ch/share/html/autohandler:221

I was trying to do a simple query of finding a ticket equal to 6636
and
RT crashed with this error. I went to the homepage and then all
started
working fine. Can anyone tell me why I am getting this?

Thanks

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

(402) 504-5180 fax


The rt-users Archives

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

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

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 faxFrom: Stephen Turner [mailto:sturner@MIT.EDU]
Sent: Monday, February 13, 2006 9:01 AM
To: Nathan, Ahalya; Jesse Vincent
Cc: rt-users@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

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 faxFrom: rt-users-bounces@lists.bestpractical.com
[mailto:rt-users-bounces@lists.bestpractical.com] On Behalf Of Nathan,
Ahalya
Sent: Monday, February 13, 2006 9:05 AM
To: Stephen Turner; Jesse Vincent
Cc: rt-users@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

From: Stephen Turner [mailto:sturner@MIT.EDU]
Sent: Monday, February 13, 2006 9:01 AM
To: Nathan, Ahalya; Jesse Vincent
Cc: rt-users@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

Jesse,
Do you think that the 1.35 version of DBIx/SearchBuilder caused RT to
crash? Do I need to upgrade it?

Thanks,
Ahalya Nathan
Senior Programmer / Analyst
Information Technology, Metropolitan Utilities District
(402) 504-7180 phone
(402) 504-5180 faxFrom: rt-users-bounces@lists.bestpractical.com
[mailto:rt-users-bounces@lists.bestpractical.com] On Behalf Of Nathan,
Ahalya
Sent: Monday, February 13, 2006 9:16 AM
To: Jesse Vincent
Cc: rt-users@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

From: rt-users-bounces@lists.bestpractical.com
[mailto:rt-users-bounces@lists.bestpractical.com] On Behalf Of Nathan,
Ahalya
Sent: Monday, February 13, 2006 9:05 AM
To: Stephen Turner; Jesse Vincent
Cc: rt-users@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

From: Stephen Turner [mailto:sturner@MIT.EDU]
Sent: Monday, February 13, 2006 9:01 AM
To: Nathan, Ahalya; Jesse Vincent
Cc: rt-users@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

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

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?

Ahalya Nathan
Senior Programmer / Analyst
Information Technology, Metropolitan Utilities District
(402) 504-7180 phone
(402) 504-5180 faxFrom: Jesse Vincent [mailto:jesse@bestpractical.com]
Sent: Monday, February 13, 2006 3:45 PM
To: Nathan, Ahalya
Cc: Jesse Vincent; rt-users@lists.bestpractical.com
Subject: Re: [rt-users] Why does RT crash with RT::Attribute::Name?

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@lists.bestpractical.com
[mailto:rt-users-bounces@lists.bestpractical.com] On Behalf Of Nathan,
Ahalya
Sent: Monday, February 13, 2006 9:16 AM
To: Jesse Vincent
Cc: rt-users@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@lists.bestpractical.com
[mailto:rt-users-bounces@lists.bestpractical.com] On Behalf Of Nathan,
Ahalya
Sent: Monday, February 13, 2006 9:05 AM
To: Stephen Turner; Jesse Vincent
Cc: rt-users@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@MIT.EDU]
Sent: Monday, February 13, 2006 9:01 AM
To: Nathan, Ahalya; Jesse Vincent
Cc: rt-users@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


The rt-users Archives

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


The rt-users Archives

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

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.

Thanks Jesse. I will check out the archives. Will upgrade to 1.38 and
see if I still have a problem.

Ahalya Nathan
Senior Programmer / Analyst
Information Technology, Metropolitan Utilities District
(402) 504-7180 phone
(402) 504-5180 faxFrom: Jesse Vincent [mailto:jesse@bestpractical.com]
Sent: Monday, February 13, 2006 3:49 PM
To: Nathan, Ahalya
Cc: Jesse Vincent; rt-users@lists.bestpractical.com
Subject: Re: [rt-users] Why does RT crash with RT::Attribute::Name?

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@bestpractical.com]
Sent: Monday, February 13, 2006 3:45 PM
To: Nathan, Ahalya
Cc: Jesse Vincent; rt-users@lists.bestpractical.com
Subject: Re: [rt-users] Why does RT crash with RT::Attribute::Name?

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@lists.bestpractical.com
[mailto:rt-users-bounces@lists.bestpractical.com] On Behalf Of
Nathan,
Ahalya
Sent: Monday, February 13, 2006 9:16 AM
To: Jesse Vincent
Cc: rt-users@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@lists.bestpractical.com
[mailto:rt-users-bounces@lists.bestpractical.com] On Behalf Of
Nathan,
Ahalya
Sent: Monday, February 13, 2006 9:05 AM
To: Stephen Turner; Jesse Vincent
Cc: rt-users@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@MIT.EDU]
Sent: Monday, February 13, 2006 9:01 AM
To: Nathan, Ahalya; Jesse Vincent
Cc: rt-users@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


The rt-users Archives

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


The rt-users Archives

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

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 faxFrom: Jesse Vincent [mailto:jesse@bestpractical.com]
Sent: Monday, February 13, 2006 3:49 PM
To: Nathan, Ahalya
Cc: Jesse Vincent; rt-users@lists.bestpractical.com
Subject: Re: [rt-users] Why does RT crash with RT::Attribute::Name?

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@bestpractical.com]
Sent: Monday, February 13, 2006 3:45 PM
To: Nathan, Ahalya
Cc: Jesse Vincent; rt-users@lists.bestpractical.com
Subject: Re: [rt-users] Why does RT crash with RT::Attribute::Name?

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@lists.bestpractical.com
[mailto:rt-users-bounces@lists.bestpractical.com] On Behalf Of
Nathan,
Ahalya
Sent: Monday, February 13, 2006 9:16 AM
To: Jesse Vincent
Cc: rt-users@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@lists.bestpractical.com
[mailto:rt-users-bounces@lists.bestpractical.com] On Behalf Of
Nathan,
Ahalya
Sent: Monday, February 13, 2006 9:05 AM
To: Stephen Turner; Jesse Vincent
Cc: rt-users@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@MIT.EDU]
Sent: Monday, February 13, 2006 9:01 AM
To: Nathan, Ahalya; Jesse Vincent
Cc: rt-users@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


The rt-users Archives

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


The rt-users Archives

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

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

when you ran “perl Makefile.PL” did it warn you that you were missing
the ‘Clone’ module?

Jesse

The way I ran I tried installing SearchBuilder was :
$cpan
cpan> install DBIx::SearchBuilder

That is when I go the error. Is there some other way how I should try
installing the SearchBuilder?

Thanks,
Ahalya Nathan
Senior Programmer / Analyst
Information Technology, Metropolitan Utilities District
(402) 504-7180 phone
(402) 504-5180 faxFrom: Jesse Vincent [mailto:jesse@bestpractical.com]
Sent: Tuesday, February 14, 2006 10:18 AM
To: Nathan, Ahalya
Cc: Jesse Vincent; rt-users@lists.bestpractical.com
Subject: Re: [rt-users] Why does RT crash with RT::Attribute::Name?

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

when you ran “perl Makefile.PL” did it warn you that you were missing
the ‘Clone’ module?

Jesse

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:

The way I ran I tried installing SearchBuilder was :
$cpan
cpan> install DBIx::SearchBuilder

That is when I go the error. Is there some other way how I should try
installing the SearchBuilder?

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@bestpractical.com]
Sent: Tuesday, February 14, 2006 10:18 AM
To: Nathan, Ahalya
Cc: Jesse Vincent; rt-users@lists.bestpractical.com
Subject: Re: [rt-users] Why does RT crash with RT::Attribute::Name?

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

You’re likely not quoting enough of the logs. You probably configured
CPAN to not install dependencies.

cpan Clone

then try again

Got it to work. Thanks Jesse.

Ahalya Nathan
Senior Programmer / Analyst
Information Technology, Metropolitan Utilities District
(402) 504-7180 phone
(402) 504-5180 faxFrom: Jesse Vincent [mailto:jesse@bestpractical.com]
Sent: Tuesday, February 14, 2006 11:41 AM
To: Nathan, Ahalya
Cc: Jesse Vincent; rt-users@lists.bestpractical.com
Subject: Re: [rt-users] Why does RT crash with RT::Attribute::Name?

The way I ran I tried installing SearchBuilder was :
$cpan
cpan> install DBIx::SearchBuilder

That is when I go the error. Is there some other way how I should try
installing the SearchBuilder?

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@bestpractical.com]
Sent: Tuesday, February 14, 2006 10:18 AM
To: Nathan, Ahalya
Cc: Jesse Vincent; rt-users@lists.bestpractical.com
Subject: Re: [rt-users] Why does RT crash with RT::Attribute::Name?

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

You’re likely not quoting enough of the logs. You probably configured
CPAN to not install dependencies.

cpan Clone

then try again

How’s 1.38 working out for you?
True push email for the Treo Smartphone
http://get.chatteremail.comFrom: “Nathan, Ahalya” Ahalya_Nathan@mudnebr.com
Date: Monday, Feb 13, 2006 4:56 pm
Subject: RE: [rt-users] Why does RT crash with RT::Attribute::Name?

Thanks Jesse. I will check out the archives. Will upgrade to 1.38 and
see if I still have a problem.

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

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

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@bestpractical.com]> Sent: Monday, February 13, 2006 3:45 PM
To: Nathan, Ahalya
Cc: Jesse Vincent; rt-users@lists.bestpractical.com
Subject: Re: [rt-users] Why does RT crash with RT::Attribute::Name?

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@lists.bestpractical.com
[mailto:rt-users-bounces@lists.bestpractical.com] On Behalf Of
Nathan,
Ahalya
Sent: Monday, February 13, 2006 9:16 AM
To: Jesse Vincent
Cc: rt-users@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@lists.bestpractical.com
[mailto:rt-users-bounces@lists.bestpractical.com] On Behalf Of
Nathan,
Ahalya
Sent: Monday, February 13, 2006 9:05 AM
To: Stephen Turner; Jesse Vincent
Cc: rt-users@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@MIT.EDU]> > Sent: Monday, February 13, 2006 9:01 AM
To: Nathan, Ahalya; Jesse Vincent
Cc: rt-users@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> >> > _______________________________________________
The rt-users Archives
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


The rt-users Archives

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