The error message if PROPHET_REPLICA_TYPE=sqlite isn't as bad as if
it's unset. Compare:
DBD::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.
DBD::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.
No SD database was found at sqlite:file:///home/chmrr/.sd-sd/moose
Type "/usr/bin/sd help init" or "/usr/bin/sd help environment" for tips on how to sort that out.
....versus:
Attribute (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
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
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
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
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
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
Prophet::DatabaseSetting::set('Prophet::DatabaseSetting=HASH(0x8e3ea3c)', 'new') called at /usr/lib/perl5/site_perl/5.8.8/Prophet/DatabaseSetting.pm line 29
Prophet::DatabaseSetting::initialize('Prophet::DatabaseSetting=HASH(0x8e3ea3c)') called at /usr/lib/perl5/site_perl/5.8.8/Prophet/DatabaseSetting.pm line 22
Prophet::DatabaseSetting::BUILD('Prophet::DatabaseSetting=HASH(0x8e3ea3c)', 'HASH(0x8bf42a0)') called at (eval 1170) line 89
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
Prophet::App::setting('undef', 'label', 'active_statuses') called at /usr/lib/perl5/site_perl/5.8.8/App/SD/Model/Ticket.pm line 18
App::SD::Model::Ticket::BUILD('App::SD::Model::Ticket=HASH(0x8beb1c8)', 'HASH(0x8bf41c8)') called at (eval 1164) line 70
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
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
Prophet::CLI::CollectionCommand::get_collection_object('undef') called at /usr/lib/perl5/site_perl/5.8.8/Prophet/CLI/Command/Search.pm line 115
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
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
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
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
Path::Dispatcher::Match::__ANON__() called at /usr/lib/perl5/site_perl/5.8.8/Path/Dispatcher/Match.pm line 78
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
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
eval {...} called at /usr/lib/perl5/site_perl/5.8.8/Path/Dispatcher/Dispatch.pm line 37
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
Prophet::CLI::run_one_command('App::SD::CLI=HASH(0x84ab09c)', 'ticket', 'list') called at /usr/bin/sd line 25
No SD database was found at file:///home/chmrr/.sd-sd/moose
Type "/usr/bin/sd help init" or "/usr/bin/sd help environment" for tips on how to sort that out.