[Maypole] "Can't locate...db_Main" errors
Jesse Sheidlower
jester@panix.com
Thu, 3 Jun 2004 16:57:24 -0400
This is a little odd. When trying to hit a particular table,
BookDB::Image, which has_a BookDB::Image_Category, I'm dying
with a "Can't locate object method "db_Main" via package
"BookDB::Image_Category" at...Ima/DBI.pm line 386" error.
This used to work; I recently upgraded my Perl from 5.8.2
to 5.8.4, but rebuilt all the dependencies, so I don't think
this could be it. Also, all the other tables are working just
fine.
I've reduced Image_Category.pm, which was small to begin with,
to the bare-bones
package BookDB::Image_Category;
use base 'BookDB::Model';
1;
But it still dies with the same error. I see there have been
other reports of this, with no explanation though. Any ideas?
Jesse Sheidlower