[Dbix-class] Error: Can't call errstr method on handle after take_imp_data()

Jonathan Rockway jon at jrock.us
Thu Mar 6 22:53:44 GMT 2008


* On Thu, Mar 06 2008, Jonas Alves wrote:
> Hi,
> I'm using DBIC with mysql and I'm seeing in the error log a lot of
> errors like this:
> Can't call errstr method on handle DBI::db=HASH(0xbcad1cbc) after
> take_imp_data() at
> /usr/lib/perl5/site_perl/5.8.8/DBIx/Class/Storage/DBI.pm line 1194.

A test case (just a runnable example), or at least a stack trace of
where the error occurs, would help debug this.  Try perl -MCarp::Always
your_test.pl to get a longmess stacktrace.  DBIC_TRACE=1 might also
help.

Regards,
Jonathan Rockway



More information about the DBIx-Class mailing list