Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test suite failures #4

Open
Pistos opened this issue Jul 15, 2011 · 2 comments
Open

Test suite failures #4

Pistos opened this issue Jul 15, 2011 · 2 comments
Assignees

Comments

@Pistos
Copy link
Member

Pistos commented Jul 15, 2011

Is this driver still maintained? I get some test suite failures:

  1) Error:
test_09_basic_schema(TestDatabase):
NoMethodError: undefined method `primary_key=' for #<RDBI::Column:0x0000000123c2a0>
    /misc/git/rdbi-driver-sqlite3/lib/rdbi/driver/sqlite3.rb:71:in `block in table_schema'
    /home/pistos/.rvm/gems/ruby-1.9.2-p180@rdbi-tmp/gems/sqlite3-1.3.3/lib/sqlite3/pragmas.rb:239:in `block in table_info'
    /home/pistos/.rvm/gems/ruby-1.9.2-p180@rdbi-tmp/gems/sqlite3-1.3.3/lib/sqlite3/statement.rb:110:in `block in each'
    /home/pistos/.rvm/gems/ruby-1.9.2-p180@rdbi-tmp/gems/sqlite3-1.3.3/lib/sqlite3/statement.rb:107:in `loop'
    /home/pistos/.rvm/gems/ruby-1.9.2-p180@rdbi-tmp/gems/sqlite3-1.3.3/lib/sqlite3/statement.rb:107:in `each'
    /home/pistos/.rvm/gems/ruby-1.9.2-p180@rdbi-tmp/gems/sqlite3-1.3.3/lib/sqlite3/pragmas.rb:227:in `table_info'
    /misc/git/rdbi-driver-sqlite3/lib/rdbi/driver/sqlite3.rb:65:in `table_schema'
    /misc/git/rdbi-driver-sqlite3/lib/rdbi/driver/sqlite3.rb:51:in `block in schema'
    /misc/git/rdbi-driver-sqlite3/lib/rdbi/driver/sqlite3.rb:49:in `each'
    /misc/git/rdbi-driver-sqlite3/lib/rdbi/driver/sqlite3.rb:49:in `schema'
    /misc/git/rdbi-driver-sqlite3/test/test_database.rb:161:in `test_09_basic_schema'

  2) Error:
test_09_basic_schema(TestDatabase):
SQLite3::BusyException: unable to close due to unfinalised statements
    /misc/git/rdbi-driver-sqlite3/lib/rdbi/driver/sqlite3.rb:33:in `close'
    /misc/git/rdbi-driver-sqlite3/lib/rdbi/driver/sqlite3.rb:33:in `disconnect'
    /misc/git/rdbi-driver-sqlite3/test/test_database.rb:8:in `teardown'

  3) Error:
test_10_table_schema(TestDatabase):
NoMethodError: undefined method `primary_key=' for #<RDBI::Column:0x0000000121f7e0>
    /misc/git/rdbi-driver-sqlite3/lib/rdbi/driver/sqlite3.rb:71:in `block in table_schema'
    /home/pistos/.rvm/gems/ruby-1.9.2-p180@rdbi-tmp/gems/sqlite3-1.3.3/lib/sqlite3/pragmas.rb:239:in `block in table_info'
    /home/pistos/.rvm/gems/ruby-1.9.2-p180@rdbi-tmp/gems/sqlite3-1.3.3/lib/sqlite3/statement.rb:110:in `block in each'
    /home/pistos/.rvm/gems/ruby-1.9.2-p180@rdbi-tmp/gems/sqlite3-1.3.3/lib/sqlite3/statement.rb:107:in `loop'
    /home/pistos/.rvm/gems/ruby-1.9.2-p180@rdbi-tmp/gems/sqlite3-1.3.3/lib/sqlite3/statement.rb:107:in `each'
    /home/pistos/.rvm/gems/ruby-1.9.2-p180@rdbi-tmp/gems/sqlite3-1.3.3/lib/sqlite3/pragmas.rb:227:in `table_info'
    /misc/git/rdbi-driver-sqlite3/lib/rdbi/driver/sqlite3.rb:65:in `table_schema'
    /misc/git/rdbi-driver-sqlite3/test/test_database.rb:186:in `test_10_table_schema'

  4) Error:
test_10_table_schema(TestDatabase):
SQLite3::BusyException: unable to close due to unfinalised statements
    /misc/git/rdbi-driver-sqlite3/lib/rdbi/driver/sqlite3.rb:33:in `close'
    /misc/git/rdbi-driver-sqlite3/lib/rdbi/driver/sqlite3.rb:33:in `disconnect'
    /misc/git/rdbi-driver-sqlite3/test/test_database.rb:8:in `teardown'
@pilcrow
Copy link
Member

pilcrow commented Jul 15, 2011

What version RDBI (from master)?

@ghost ghost assigned pilcrow Jul 15, 2011
@Pistos
Copy link
Member Author

Pistos commented Jul 15, 2011

I think it's using a gem version, so: rdbi (0.9.1)

What's the proper way to set up a dev env and run the test suite?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants