[Catalyst] Can't seem to run Tutorial::AdvancedCRUD::FormFu due to DBD::SQLite problems

kakimoto at tpg.com.au kakimoto at tpg.com.au
Mon Jul 14 02:00:59 BST 2008


hello there, 
 I am trying to run the example for the Tutorial::AdvancedCRUD::FormFu tute.
This is because I m trying to see how constraints work in HTML::FormFu.

I have the error below:


[error] DBIx::Class::ResultSet::create(): DBI Exception: DBD::SQLite::st
execute failed: not an error(21) at dbdimp.c line 376 [for Statement
"INSERT INTO books (rating, title) VALUES (?, ?)"] at
/home/anexiole/codes/CatalystTutorial/AdvancedCRUD/script/../lib/MyApp/Controller/Books.pm
line 135


My myapp.db file is set to 777 and permissions to myself (including
group). I got the error above as soon as I try to submit the page,
"http://localhost:3000/books/form_create_do"

Here's what myapp.db looks like in the eyes of "ls -la myapp.db"
-rwxrwxrwx 1 kakimoto kakimoto 11264 2008-07-14 00:51 myapp.db


Help please :)








More information about the Catalyst mailing list