[rt-devel] database integrity check

Jamie Wilkinson jaq at spacepants.org
Fri May 30 01:01:22 EDT 2003


This one time, at band camp, Jamie Wilkinson wrote:
>This one time, at band camp, Jesse Vincent wrote:
>>Can you try backing down that Searchbuilder down to the last release?
>>Perl modules with _ in the version string are "dev version, use at your
>>own risk".  CPAN won't auto-install them for you.
>
>I rolled back to 0.81_03, which I had been using.  I'll install the latest
>stable version and see what happens.  I've also rolled back RT to 3.0.1 and
>things are working again, so I don't think I've broken the database...
>though if you'd like a feature request, a "make dbcheck" target that checks
>your database schema matches the schema file would be great.

I just installed DBIx::SearchBuilder 0.82 and was greeted with this error
message:

error:  Can't locate object method "dbh" via package "RT::Tickets" at
/usr/lib/perl5/site_perl/5.8.0/DBIx/SearchBuilder.pm line 1302.
context: ...
    277: }
    278:
    279: # All errors returned from this subroutine will be in exception
form
    280: local $SIG{'__DIE__'} = sub {
    281: rethrow_exception($_[0]);
    282: };
    283:
    284: #
    285: # $m is a dynamically scoped global containing this
    ...
code stack: /usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm:281
    /usr/lib/perl5/site_perl/5.8.0/DBIx/SearchBuilder.pm:1302
    /usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm:1049

Still with RT 3.0.1, this was whilst loading the front page after an apache
restart.

-- 
jaq at spacepants.org                           http://spacepants.org/jaq.gpg



More information about the Rt-devel mailing list