On Oct 29, 2007, at 5:08 PM, John Siracusa wrote: > On 10/29/07 7:41 PM, Jonathan Swartz wrote: >> A few days ago we started getting this error intermittently in >> QueryBuilder::build_select: >> >> error_log.2007-10-29:[Mon Oct 29 15:29:37 2007] [error] [client >> 69.26.166.38] Operation "ne": no method found, left argument has no >> overloaded magic, right argument in overloaded package >> Rose::DB::Object::Metadata::Column::Timestamp >> at /home/webuser/site/vendor/perl/lib/site_perl/5.8.8/Rose/DB/ >> Object/QueryBuilder.pm line 356 > > Can you show me the call that produces this?
Unfortunately, this is an intermittent error from our web server, we've been unable to reproduce it explicitly. > > The most common overload-related problems I've encountered in Perl in > general have happened when I'm dealing with an object (perhaps > thawed or > otherwise deserialized) whose class has not been loaded. That line in > QueryBuilder has one "ne" operation: > > ... $method ne $column ... > > $column is most likely a Rose::DB::Object::Metadata::Column-derived > object > which overloads its stringification operator. $method should just > be a > method name string. The only think I can think of is that perhaps the > particular column class that $column belongs to has not been loaded. > $column is a Rose::DB::Object::Metadata::Column::Timestamp, according to the error. The errors originate from all sorts of operations, but they always end in the exact error message above - it is always Timestamp. I can try loading Timestamp explicitly. But it sort of defies logic - if Timestamp weren't loaded, how would it know that Timestamp is an overloaded package? (Timestamp has no overloading of its own, it inherits it indirectly from Column). Jon ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Rose-db-object mailing list Rose-db-object@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/rose-db-object