Actually scrap that. I am noticing that no 'Schema' subdirectory has been created hence no model files were even made.
I switched the command back to what's in the tute. Here is how it looks like: kakim...@moomba-water-fest:~/projects/myApp/script$ ./myApp_create.pl model myAppDB DBIC::Schema myApp::Schema create=static components=TimeStamp dbi:Pg:dbname=myApp:Username=test_user:Password=password11 exists "/home/kakimoto/projects/myApp/script/../lib/myApp/Model" exists "/home/kakimoto/projects/myApp/script/../t" DBIx::Class::Schema::Loader::make_schema_at(): DBI Connection failed: Can't connect to data source 'components=TimeStamp' because I can't work out what driver to use (it doesn't seem to contain a 'dbi:driver:' prefix and the DBI_DRIVER env var is not set) at /usr/local/share/perl/5.8.8/DBIx/Class/Storage/DBI.pm line 839 Guys, any ideas? Thanks Quoting [email protected]: > hi everyone, > > I just followed the tute in > http://search.cpan.org/~hkclark/Catalyst-Manual-5.7018/lib/Catalyst/Manual/Tutorial/BasicCRUD.pod > to regenerate my schema (model) files to use DBIx::Class::TimeStamp. > > I refered to the section "Update DBIC to Automatically Handle the > Datetime Columns". > > I ran my command following this order, > "script/myapp_create.pl model DB DBIC::Schema MyApp::Schema \ > create=static components=TimeStamp dbi:SQLite:myapp.db" > > and it fails. I have the latest version of catalyst and all related > DBIX > modules installed in my machine. > > > > Running the command above with 'components=TimeStamp' before > 'create=static' worked fine > ( ie. > > "script/myapp_create.pl model DB DBIC::Schema MyApp::Schema \ > components=TimeStamp create=static dbi:SQLite:myapp.db " > ). > > > > I would suggest for the command in the tutorial to be updated. > > > thanks > > K. akimoto > > _______________________________________________ > List: [email protected] > Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst > Searchable archive: > http://www.mail-archive.com/[email protected]/ > Dev site: http://dev.catalyst.perl.org/ > > > _______________________________________________ List: [email protected] Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/[email protected]/ Dev site: http://dev.catalyst.perl.org/
