[jifty-devel] jifty on windows

James Strzelec jstrzelec at wsipc.org
Mon Mar 5 13:56:56 EST 2007


 
 
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.
 
 
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.
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.bestpractical.com/pipermail/jifty-devel/attachments/20070305/ea0e3c7e/attachment.htm


More information about the jifty-devel mailing list