[Dbix-class] User error? SQLite problem? with DBIx::Class::Fixtures and populate

Jonathan Rockway jon at jrock.us
Wed Oct 8 18:35:41 BST 2008


* On Tue, Oct 07 2008, Ashley wrote:
> I'm messing around with writing some tests with DBIx::Class::Fixtures
> and getting stuck. Trying to see if it's something obvious I'm doing
> wrong or there is currently an sqlite problem. The code below runs
> fine except the final step: $fixtures->populate. This is the error it
> gives-
>
> SQL was:
>  DROP TABLE account
> DBIx::Class::Fixtures::populate(): DBI Exception: DBD::SQLite::db do
> failed: no such table: account(1) at dbdimp.c line 271 [for Statement
> "DROP TABLE account"] at ./fixture-test.pl line 40
> 1..2
>
> There is a table "account" and it's in the MyApp-Test-Schema-1-
> SQLite.sql as well as the dumped $schema object. My DBIC modules are
> all current.

FWIW, this is the sort of message you'd get if you typo'd the filename
of your database.

Regards,
Jonathan Rockway

--
print just => another => perl => hacker => if $,=$"



More information about the DBIx-Class mailing list