{"content":"\nThe error message if PROPHET_REPLICA_TYPE=sqlite isn't as bad as if\nit's unset.  Compare:\n\nDBD::SQLite::db prepare failed: no such table: records(1) at dbdimp.c line 278 at /usr/lib/perl5/site_perl/5.8.8/Prophet/Replica/sqlite.pm line 758.\nDBD::SQLite::db prepare failed: no such table: records(1) at dbdimp.c line 278 at /usr/lib/perl5/site_perl/5.8.8/Prophet/Replica/sqlite.pm line 758.\nNo SD database was found at sqlite:file:///home/chmrr/.sd-sd/moose\nType \"/usr/bin/sd help init\" or \"/usr/bin/sd help environment\" for tips on how to sort that out.\n\n....versus:\n\nAttribute (original_source_uuid) does not pass the type constraint because: Validation failed for 'Str' failed with value undef at /usr/lib/perl5/site_perl/5.8.8/Mouse/Meta/Attribute.pm line 240\n        Mouse::Meta::Attribute::verify_type_constraint_error('Mouse::Meta::Attribute=HASH(0x8e81040)', 'original_source_uuid', 'undef', 'Mouse::Meta::TypeConstraint=HASH(0x85aa764)') called at /usr/lib/perl5/site_perl/5.8.8/Mouse/Meta/Method/Accessor.pm line 45\n        Mouse::Meta::Method::Accessor::__ANON__('Prophet::ChangeSet=HASH(0x8e738d0)', 'undef') called at /usr/lib/perl5/site_perl/5.8.8/Prophet/Replica/prophet.pm line 670\n        Prophet::Replica::prophet::commit_edit('Prophet::Replica::prophet=HASH(0x88c0268)') called at /usr/lib/perl5/site_perl/5.8.8/Prophet/Replica/prophet.pm line 726\n        Prophet::Replica::prophet::create_record('undef', 'props', 'HASH(0x8e3e70c)', 'uuid', 'C879A68F-8CFE-44B5-9EDD-14E53933669E', 'type', '__prophet_db_settings') called at /usr/lib/perl5/site_perl/5.8.8/Prophet/Record.pm line 227\n        Prophet::Record::_create_record('undef', 'uuid', 'C879A68F-8CFE-44B5-9EDD-14E53933669E', 'props', 'HASH(0x8e3e70c)') called at /usr/lib/perl5/site_perl/5.8.8/Prophet/DatabaseSetting.pm line 58\n        Prophet::DatabaseSetting::set('Prophet::DatabaseSetting=HASH(0x8e3ea3c)', 'new') called at /usr/lib/perl5/site_perl/5.8.8/Prophet/DatabaseSetting.pm line 29\n        Prophet::DatabaseSetting::initialize('Prophet::DatabaseSetting=HASH(0x8e3ea3c)') called at /usr/lib/perl5/site_perl/5.8.8/Prophet/DatabaseSetting.pm line 22\n        Prophet::DatabaseSetting::BUILD('Prophet::DatabaseSetting=HASH(0x8e3ea3c)', 'HASH(0x8bf42a0)') called at (eval 1170) line 89\n        Mouse::Meta::Method::Constructor::__ANON__('Prophet::DatabaseSetting', 'handle', 'Prophet::Replica::prophet=HASH(0x88c0268)', 'uuid', 'C879A68F-8CFE-44B5-9EDD-14E53933669E', 'default', 'new', 'label', 'active_statuses', ...) called at /usr/lib/perl5/site_perl/5.8.8/Prophet/App.pm line 197\n        Prophet::App::setting('undef', 'label', 'active_statuses') called at /usr/lib/perl5/site_perl/5.8.8/App/SD/Model/Ticket.pm line 18\n        App::SD::Model::Ticket::BUILD('App::SD::Model::Ticket=HASH(0x8beb1c8)', 'HASH(0x8bf41c8)') called at (eval 1164) line 70\n        Mouse::Meta::Method::Constructor::__ANON__('App::SD::Model::Ticket', 'HASH(0x8beb1d4)') called at /usr/lib/perl5/site_perl/5.8.8/Prophet/CLI/RecordCommand.pm line 50\n        Prophet::CLI::RecordCommand::_get_record_object('undef', 'type', 'ticket') called at /usr/lib/perl5/site_perl/5.8.8/Prophet/CLI/CollectionCommand.pm line 13\n        Prophet::CLI::CollectionCommand::get_collection_object('undef') called at /usr/lib/perl5/site_perl/5.8.8/Prophet/CLI/Command/Search.pm line 115\n        Prophet::CLI::Command::Search::run('App::SD::CLI::Command::Ticket::Search=HASH(0x88a1a98)') called at /usr/lib/perl5/site_perl/5.8.8/App/SD/CLI/Command/Ticket/Search.pm line 74\n        App::SD::CLI::Command::Ticket::Search::run('App::SD::CLI::Command::Ticket::Search=HASH(0x88a1a98)') called at /usr/lib/perl5/site_perl/5.8.8/Prophet/CLI/Dispatcher.pm line 100\n        Prophet::CLI::Dispatcher::__ANON__('App::SD::CLI::Dispatcher=HASH(0x88c0388)') called at /usr/lib/perl5/site_perl/5.8.8/Path/Dispatcher/Rule.pm line 68\n        Path::Dispatcher::Rule::run('Path::Dispatcher::Rule::Tokens=HASH(0x881425c)', 'App::SD::CLI::Dispatcher=HASH(0x88c0388)') called at /usr/lib/perl5/site_perl/5.8.8/Path/Dispatcher/Match.pm line 51\n        Path::Dispatcher::Match::__ANON__() called at /usr/lib/perl5/site_perl/5.8.8/Path/Dispatcher/Match.pm line 78\n        Path::Dispatcher::Match::run_with_number_vars('Path::Dispatcher::Match=HASH(0x88a0bf8)', 'CODE(0x8aceabc)', 'list') called at /usr/lib/perl5/site_perl/5.8.8/Path/Dispatcher/Match.pm line 49\n        Path::Dispatcher::Match::run('Path::Dispatcher::Match=HASH(0x88a0bf8)', 'App::SD::CLI::Dispatcher=HASH(0x88c0388)') called at /usr/lib/perl5/site_perl/5.8.8/Path/Dispatcher/Dispatch.pm line 43\n        eval {...} called at /usr/lib/perl5/site_perl/5.8.8/Path/Dispatcher/Dispatch.pm line 37\n        Path::Dispatcher::Dispatch::run('Path::Dispatcher::Dispatch=HASH(0x889f7b0)', 'App::SD::CLI::Dispatcher=HASH(0x88c0388)') called at /usr/lib/perl5/site_perl/5.8.8/Prophet/CLI.pm line 108\n        Prophet::CLI::run_one_command('App::SD::CLI=HASH(0x84ab09c)', 'ticket', 'list') called at /usr/bin/sd line 25\nNo SD database was found at file:///home/chmrr/.sd-sd/moose\nType \"/usr/bin/sd help init\" or \"/usr/bin/sd help environment\" for tips on how to sort that out.","created":"2009-04-25 00:29:32","creator":"alexmv@bestpractical.com","original_replica":"7E876522-2559-11DE-BB97-7FF09DA06D6A","ticket":"257DEA86-3130-11DE-8420-D4FBC71F1893"}