-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
I'd suspect that it may have had something to do with http://blog.del.icio.us/blog/2005/12/power_failure.html . - --j. Jeremy Dunck writes: > Seems to have been momentary: > > $ date > Wed Dec 14 14:40:04 CST 2005 > ---- > > System error > error: Can't call method "prepare" on an undefined value at > /www/del.icio.us/comp/user/get line 13. > context: > ... > 9: my $usedb = 'master'; > 10: my $ret; > 11: > 12: if (!$auth_user) { $usedb = 'user' } > 13: if (!exists ($db->{$usedb})) { $usedb = 'master' } > 14: $user_name_q->{$usedb} = $db->{$usedb}->prepare('select * from > users where user_name = ?'); > 15: my $query = $user_name_q->{$usedb}; > 16: $query->execute(lc($user_name)); > 17: > ... > code stack: /www/del.icio.us/comp/user/get:13 > /www/del.icio.us/comp/posts/all:35 > /www/del.icio.us/site/index:82 > /www/del.icio.us/site/autohandler:110 > raw error > > > Can't call method "prepare" on an undefined value at > /www/del.icio.us/comp/user/get line 13. > > > Trace begun at /usr/share/perl5/HTML/Mason/Exceptions.pm line 131 > HTML::Mason::Exceptions::rethrow_exception('Can\'t call method > "prepare" on an undefined value at /www/del.icio.us/comp/user/get line > 13.^J') called at /www/del.icio.us/comp/user/get line 13 > HTML::Mason::Commands::__ANON__('dbh', undef, 'user_name', 'jdunck') > called at /usr/share/perl5/HTML/Mason/Component.pm line 134 > HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x1d74670)', > 'dbh', undef, 'user_name', 'jdunck') called at > /usr/share/perl5/HTML/Mason/Request.pm line 1069 > eval {...} at /usr/share/perl5/HTML/Mason/Request.pm line 1068 > HTML::Mason::Request::comp(undef, undef, 'dbh', undef, 'user_name', > 'jdunck') called at /www/del.icio.us/comp/posts/all line 35 > HTML::Mason::Commands::__ANON__('dbh', undef, 'auth_user', 'jdunck', > 'count', 20, 'mp3', 0, 'time_format', 'by-second') called at > /usr/share/perl5/HTML/Mason/Component.pm line 134 > HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x1d62c50)', > 'dbh', undef, 'auth_user', 'jdunck', 'count', 20, 'mp3', 0, > 'time_format', 'by-second') called at > /usr/share/perl5/HTML/Mason/Request.pm line 1074 > eval {...} at /usr/share/perl5/HTML/Mason/Request.pm line 1068 > HTML::Mason::Request::comp(undef, undef, 'dbh', undef, 'auth_user', > 'jdunck', 'count', 20, 'mp3', 0, 'time_format', 'by-second') called at > /www/del.icio.us/site/index line 82 > HTML::Mason::Commands::__ANON__('dbh', undef, 'auth_user', 'jdunck', > 'items', 10, 'tagview', 'list', 'tagsort', 'alpha', 'bundleview', > 'show', 'cookies', 'HASH(0x1ce3af0)', 'browser', 'ff') called at > /usr/share/perl5/HTML/Mason/Component.pm line 134 > HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x1cfba30)', > 'dbh', undef, 'auth_user', 'jdunck', 'items', 10, 'tagview', 'list', > 'tagsort', 'alpha', 'bundleview', 'show', 'cookies', > 'HASH(0x1ce3af0)', 'browser', 'ff') called at > /usr/share/perl5/HTML/Mason/Request.pm line 1074 > eval {...} at /usr/share/perl5/HTML/Mason/Request.pm line 1068 > HTML::Mason::Request::comp(undef, undef, 'dbh', undef, 'auth_user', > 'jdunck', 'items', 10, 'tagview', 'list', 'tagsort', 'alpha', > 'bundleview', 'show', 'cookies', 'HASH(0x1ce3af0)', 'browser', 'ff') > called at /usr/share/perl5/HTML/Mason/Request.pm line 760 > HTML::Mason::Request::call_next('HTML::Mason::Request::ApacheHandler=HASH(0x1b547d0)', > 'dbh', undef, 'auth_user', 'jdunck', 'items', 10, 'tagview', 'list', > 'tagsort', 'alpha', 'bundleview', 'show', 'cookies', > 'HASH(0x1ce3af0)', 'browser', 'ff') called at > /www/del.icio.us/site/autohandler line 110 > HTML::Mason::Commands::__ANON__ at > /usr/share/perl5/HTML/Mason/Component.pm line 134 > HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x1aeeb10)') > called at /usr/share/perl5/HTML/Mason/Request.pm line 1069 > eval {...} at /usr/share/perl5/HTML/Mason/Request.pm line 1068 > HTML::Mason::Request::comp(undef, undef, undef) called at > /usr/share/perl5/HTML/Mason/Request.pm line 338 > eval {...} at /usr/share/perl5/HTML/Mason/Request.pm line 338 > eval {...} at /usr/share/perl5/HTML/Mason/Request.pm line 297 > HTML::Mason::Request::exec('HTML::Mason::Request::ApacheHandler=HASH(0x1b547d0)') > called at /usr/share/perl5/HTML/Mason/ApacheHandler.pm line 134 > eval {...} at /usr/share/perl5/HTML/Mason/ApacheHandler.pm line 134 > HTML::Mason::Request::ApacheHandler::exec('HTML::Mason::Request::ApacheHandler=HASH(0x1b547d0)') > called at /usr/share/perl5/HTML/Mason/ApacheHandler.pm line 793 > HTML::Mason::ApacheHandler::handle_request('HTML::Mason::ApacheHandler=HASH(0x1aac7e0)', > 'Apache=SCALAR(0x1cc95b0)') called at (eval 43) line 8 > HTML::Mason::ApacheHandler::handler('HTML::Mason::ApacheHandler', > 'Apache=SCALAR(0x1cc95b0)') called at /dev/null line 0 > eval {...} at /dev/null line 0 > _______________________________________________ > discuss mailing list > discuss@del.icio.us > http://lists.del.icio.us/cgi-bin/mailman/listinfo/discuss -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) Comment: Exmh CVS iD8DBQFDoJS1MJF5cimLx9ARAj4cAKCOXfAdhXVxjYiScsmwY1Td0FVWbACgm2KY kvxW9LpIIwFWkGC+j1lDDu0= =ADbo -----END PGP SIGNATURE----- _______________________________________________ discuss mailing list discuss@del.icio.us http://lists.del.icio.us/cgi-bin/mailman/listinfo/discuss