[Radiant] Database Support

Brian Gernhardt benji at silverinsanity.com
Thu Dec 14 13:58:30 CST 2006


On Dec 14, 2006, at 1:54 PM, John W. Long wrote:

> Tests are now passing for Mysql and Postgres, but Sqlite is bombing  
> out
> on me:
>
> Loaded suite
> /Applications/Locomotive2/Bundles/standardRailsSept2006.locobundle/ 
> powerpc/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake/rake_test_loader
> Started
> ................................................./Applications/ 
> Locomotive2/Bundles/standardRailsSept2006.locobundle/powerpc/lib/ 
> ruby/gems/1.8/gems/sqlite3-ruby-1.1.0/lib/sqlite3/errors.rb:94:in
> `check': SQL logic error or missing database (SQLite3::SQLException)
>
> Which is kind of odd. Anybody have a fix for this or know what is
> causing it?

I get a slightly different error out of `rake test`:

/sw/var/lib/gems/1.8/gems/sqlite3-ruby-1.1.0/lib/sqlite3/errors.rb: 
94:in `check': cannot rollback - no transaction is active  
(SQLite3::SQLException)

Turning off transactional fixtures solves the error and allows most  
tests to complete successfully.  It does fail on one test:

test_new__post_with_parts(Admin::PageControllerTest) [./test/ 
functional/admin/page_controller_test.rb:123]:
<["test-part-1", "test-part-2"]> expected but was
<["test-part-1", "test-part-1", "test-part-2"]>.

This is in mental, revision 207.

~~ Brian



More information about the Radiant mailing list