[Catalyst] Can't infer join condition

hkclark at gmail.com hkclark at gmail.com
Wed Feb 15 15:42:42 CET 2006


On 1/16/06, Chisel Wright <chisel at herlpacker.co.uk> wrote:
>
> All of my tables in this schema *do* have primary keys, of the form
> <table>_id
>
> I'll run the app later with debug => 1 to see what DBIC thinks the
> relationships are.
>
> At the moment I'm wrestling with (as yet unknown) differences between
> versions 0.09 and 0.12 of DBIx::Class::Loader
>
> It's been one of those days :)
>
> Chisel

Hi Chisel (& everyone else),

Was a solution ever found to this problem.  I'm trying to run Parley
0.08 and I get the following output when I run
script/parley_server.pl:

Too late to run INIT block at
/usr/lib/perl5/site_perl/5.8.5/Class/C3.pm line 52, <DATA> line 1.
Couldn't load "Parley::Model::ParleyDB::Person",
"DBIx::Class::Relationship::BelongsTo::belongs_to(): Can't infer join
condition for authentication on Parley::Model::ParleyDB::Person;
unable to load Parley::Model::ParleyDB::Authentication at
/home/kclark/dev/Parley-0.08/script/../lib/Parley/Model/ParleyDB/Person.pm
line 10
Compilation failed in require at
/usr/lib/perl5/site_perl/5.8.5/Module/Pluggable/Fast.pm line 82,
<DATA> line 1.
" at /usr/lib/perl5/site_perl/5.8.5/Module/Pluggable/Fast.pm line 84,
<DATA> line 1.
Compilation failed in require at script/parley_server.pl line 49, <DATA> line 1.

I found some discussion about the "Too late to run INIT block" issue
and it sounds like that's just something to ignore for now.  But the
"Can't infer join condition" appears to be a show stopper.

Thanks,
H



More information about the Catalyst mailing list