Skip to content

rabl.pl create TestBlog gives error: ... Can't locate Rapi/Blog/DB_RefSchema_nYl3Y.pm #2

Description

@joshrabinowitz

Hey, was just taking a look at Rapi::Blog and ran into this issue in rabl.pl with perl 5.24.0

% rabl.pl create RABLTest
==> creating directory 'RABLTest'

** Choose a skeleton scaffold to use to initialize your new site...
   There are currently 2 built-in scaffolds available:

    [ 1 ]  bootstrap-blog   (**default**)
    [ 2 ]  keep-it-simple

Type the number of the scaffold you would like to use
 (or hit Enter to use the default 'bootstrap-blog')
 ==> 1

Initializing scaffold using the built-in skeleton 'bootstrap-blog':

[[[ STUFF REMOVED ]]]

((stack 19))    [44] Catalyst::setup_component
((stack 18))  [3216] (eval)
((stack 17))  [3215] Catalyst::Model::DBIC::Schema::COMPONENT
((stack 16))    [95] Catalyst::Model::DBIC::Schema::_wrapped_COMPONENT
((stack 15))    [44] CatalystX::Component::Traits::COMPONENT
((stack 14))   [144] MooseX::Traits::Pluggable::new_with_traits
((stack 13))   [116] MooseX::Traits::Pluggable::_build_instance_with_traits
((stack 12))   [185] Rapi::Blog::Model::DB::new
((stack 11))    [28] Moose::Meta::Class::new_object
((stack 10))   [279] Moose::Object::BUILDALL
((stack  9))    [54] Class::MOP::Method::execute
((stack  8))   [128] Catalyst::Model::DBIC::Schema::BUILD
((stack  7))   [493] Rapi::Blog::Model::DB::setup
((stack  6))     [4] Rapi::Blog::Model::DB::__ANON__
((stack  5))    [29] DBIx::Class::ResultSet::find_or_create
((stack  4))  [2970] DBIx::Class::ResultSet::find
((stack  3))   [910] DBIx::Class::ResultSet::single
((stack  2))  [1101] DBIx::Class::Storage::DBI::select_single
((stack  1))  [2586] DBIx::Class::Storage::DBI::_select
((stack  0))    [28] DBIx::Class::Storage::DBI::_execute
[28] DBIx::Class::Storage::DBI::SQLite=HASH(0x66215b8)->_execute(5):
SELECT "me"."id", "me"."username", "me"."full_name", "me"."image", "me"."email", "me"."admin", "me"."author", "me"."comment" FROM "user" "me" WHERE ( "me"."id" = ? ): '0'
3 [0.001|0.001]

((stack 19))  [3216] (eval)
((stack 18))  [3215] Catalyst::Model::DBIC::Schema::COMPONENT
((stack 17))    [95] Catalyst::Model::DBIC::Schema::_wrapped_COMPONENT
((stack 16))    [44] CatalystX::Component::Traits::COMPONENT
((stack 15))   [144] MooseX::Traits::Pluggable::new_with_traits
((stack 14))   [116] MooseX::Traits::Pluggable::_build_instance_with_traits
((stack 13))   [185] Rapi::Blog::Model::DB::new
((stack 12))    [28] Moose::Meta::Class::new_object
((stack 11))   [279] Moose::Object::BUILDALL
((stack 10))    [54] Class::MOP::Method::execute
((stack  9))   [128] Catalyst::Model::DBIC::Schema::BUILD
((stack  8))   [493] Rapi::Blog::Model::DB::setup
((stack  7))     [4] Rapi::Blog::Model::DB::__ANON__
((stack  6))    [29] DBIx::Class::ResultSet::find_or_create
((stack  5))  [2973] Rapi::Blog::DB::Result::User::insert
((stack  4))   [108] Rapi::Blog::DB::Component::SafeResult::insert
((stack  3))    [27] RapidApp::DBIC::Component::VirtualColumnsExt::insert
((stack  2))   [257] DBIx::Class::Row::insert
((stack  1))   [408] DBIx::Class::Storage::DBI::insert
((stack  0))    [28] DBIx::Class::Storage::DBI::_execute
[28] DBIx::Class::Storage::DBI::SQLite=HASH(0x66215b8)->_execute(4):
INSERT INTO "user" ( "admin", "full_name", "id", "username") VALUES ( ?, ?, ?, ? ): '1', '[System Acount]', '0', '(system)'
6 [0.001|0.001]
PRAGMA foreign_keys = ON:
Couldn't instantiate component "Rapi::Blog::App::Model::DB", "coercion for "_schema_diff" failed: coercion for "new_schema" failed: coercion for "schema" failed: Can't locate Rapi/Blog/DB_RefSchema_SAh9c.pm in @INC (you may need to install the Rapi::Blog::DB_RefSchema_SAh9c module) 
(@INC contains: /opt/perlbrew/perls/perl-5.24.0/lib/site_perl/5.24.0/x86_64-linux /opt/perlbrew/perls/perl-5.24.0/lib/site_perl/5.24.0 /opt/perlbrew/perls/perl-5.24.0/lib/5.24.0/x86_64-linux /opt/perlbrew/perls/perl-5.24.0/lib/5.24.0 .) at /opt/perlbrew/perls/perl-5.24.0/lib/site_perl/5.24.0/Module/Runtime.pm line 317."%

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions