[jifty-devel] jifty on windows

Ishigaki Kenichi ishigaki at tcool.org
Tue Mar 6 01:29:40 EST 2007


James Strzelec wrote on Mon, 5 Mar 2007 10:56:56 -0800
>I'm trying to follow the simple steps in the Jifty::Manual::Tutorial, on
>Windows XP.
>I have Jifty version 0.70117 and Jifty-DBI version 0.21 installed.

Apparently your Jifty::DBI is too old.
Bump it up to the latest version on the CPAN, or my ppm repo,
or official subversion repository (best), and the problem
would go away.

Best,

Kenichi aka charsbar/tcool

> 
> 
>When I run 'jifty schema --setup', I get the following:
>
>WARN - Couldn't require MyWebLog3::Model::Post : Base of schema class
>MyWebLog3:
>:Model::Post is not a Jifty::DBI::Record at
>C:\jifty\MyWebLog3/lib/MyWebLog3/Mod
>el/Post.pm line 8
>BEGIN failed--compilation aborted at
>C:\jifty\MyWebLog3/lib/MyWebLog3/Model/Post
>.pm line 17.
>Compilation failed in require at (eval 329) line 3.
> at C:/Perl/site/lib/Module/Pluggable.pm line 28
>ERROR - Can't locate MyWebLog3/Action/CreatePost.pm in @INC (@INC
>contains: C:\j
>ifty\MyWebLog3/lib C:/Perl/site/lib C:/Perl/lib .
>Jifty::ClassLoader=HASH(0x38e9
>52c)) at C:/Perl/site/lib/Jifty/ClassLoader.pm line 221
> 
>ERROR - Can't locate MyWebLog3/Action/UpdatePost.pm in @INC (@INC
>contains: C:\j
>ifty\MyWebLog3/lib C:/Perl/site/lib C:/Perl/lib .
>Jifty::ClassLoader=HASH(0x38e9
>52c)) at C:/Perl/site/lib/Jifty/ClassLoader.pm line 221
> 
>ERROR - Can't locate MyWebLog3/Action/DeletePost.pm in @INC (@INC
>contains: C:\j
>ifty\MyWebLog3/lib C:/Perl/site/lib C:/Perl/lib .
>Jifty::ClassLoader=HASH(0x38e9
>52c)) at C:/Perl/site/lib/Jifty/ClassLoader.pm line 221
> 
>ERROR - Can't locate MyWebLog3/Action/SearchPost.pm in @INC (@INC
>contains: C:\j
>ifty\MyWebLog3/lib C:/Perl/site/lib C:/Perl/lib .
>Jifty::ClassLoader=HASH(0x38e9
>52c)) at C:/Perl/site/lib/Jifty/ClassLoader.pm line 221
> 
>Here's my Post.pm:
> 
> 
>use strict;
>use warnings;
>package MyWebLog3::Model::Post;
>use Jifty::DBI::Schema;
>use MyWebLog3::Record schema {
>column title =>
>type is 'text',
>label is 'Title',
>default is 'Untitled post';
>column body => 
>type is 'text',
>label is 'Content',
>render_as 'Textarea';
>};
># Your model-specific methods go here.
>1;
> 
>Any help would be appreciated.
> 


More information about the jifty-devel mailing list