taps icon indicating copy to clipboard operation
taps copied to clipboard

unable to open database file (Sequel::DatabaseConnectionError)

Open jeffshadap opened this issue 14 years ago • 3 comments

$ heroku db:push Loaded Taps v0.3.11 Auto-detected local database: sqlite://db/development.sqlite3 Warning: Data in the app 'afternoon-autumn-56' will be overwritten and will not be recoverable. Are you sure you wish to continue? (y/n)? y Sending schema c:/ruby/lib/ruby/gems/1.8/gems/sequel-3.13.0/lib/sequel/adapters/sqlite.rb:36:in initialize': SQLite3::CantOpenExceptio n: unable to open database file (Sequel::DatabaseConnectionError) from c:/ruby/lib/ruby/gems/1.8/gems/sequel-3.13.0/lib/sequel/adapters/sqlite.rb:36:innew' from c:/ruby/lib/ruby/gems/1.8/gems/sequel-3.13.0/lib/sequel/adapters/sqlite.rb:36:in connect' from c:/ruby/lib/ruby/gems/1.8/gems/sequel-3.13.0/lib/sequel/database/misc.rb:44 from c:/ruby/lib/ruby/gems/1.8/gems/sequel-3.13.0/lib/sequel/connection_pool.rb:92:incall' from c:/ruby/lib/ruby/gems/1.8/gems/sequel-3.13.0/lib/sequel/connection_pool.rb:92:in make_new' from c:/ruby/lib/ruby/gems/1.8/gems/sequel-3.13.0/lib/sequel/connection_pool/threaded.rb:126:inmake_new' from c:/ruby/lib/ruby/gems/1.8/gems/sequel-3.13.0/lib/sequel/connection_pool/threaded.rb:112:in available' from c:/ruby/lib/ruby/gems/1.8/gems/sequel-3.13.0/lib/sequel/connection_pool/threaded.rb:102:inacquire' from c:/ruby/lib/ruby/gems/1.8/gems/sequel-3.13.0/lib/sequel/connection_pool/threaded.rb:146:in sync' from c:/ruby/lib/ruby/gems/1.8/gems/sequel-3.13.0/lib/sequel/connection_pool/threaded.rb:146:insynchronize' from c:/ruby/lib/ruby/gems/1.8/gems/sequel-3.13.0/lib/sequel/connection_pool/threaded.rb:146:in sync' from c:/ruby/lib/ruby/gems/1.8/gems/sequel-3.13.0/lib/sequel/connection_pool/threaded.rb:101:inacquire' from c:/ruby/lib/ruby/gems/1.8/gems/sequel-3.13.0/lib/sequel/connection_pool/threaded.rb:74:in hold' from c:/ruby/lib/ruby/gems/1.8/gems/sequel-3.13.0/lib/sequel/database/connecting.rb:189:insynchronize' from c:/ruby/lib/ruby/gems/1.8/gems/sequel-3.13.0/lib/sequel/adapters/sqlite.rb:115:in _execute' from c:/ruby/lib/ruby/gems/1.8/gems/sequel-3.13.0/lib/sequel/adapters/sqlite.rb:80:inexecute' from c:/ruby/lib/ruby/gems/1.8/gems/sequel-3.13.0/lib/sequel/dataset/actions.rb:392:in execute' from c:/ruby/lib/ruby/gems/1.8/gems/sequel-3.13.0/lib/sequel/adapters/sqlite.rb:272:infetch_rows' from c:/ruby/lib/ruby/gems/1.8/gems/sequel-3.13.0/lib/sequel/dataset/actions.rb:101:in each' from c:/ruby/lib/ruby/gems/1.8/gems/sequel-3.13.0/lib/sequel/dataset/actions.rb:248:inmap' from c:/ruby/lib/ruby/gems/1.8/gems/sequel-3.13.0/lib/sequel/dataset/actions.rb:248:in map' from c:/ruby/lib/ruby/gems/1.8/gems/sequel-3.13.0/lib/sequel/adapters/shared/sqlite.rb:249:inparse_pragma' from c:/ruby/lib/ruby/gems/1.8/gems/sequel-3.13.0/lib/sequel/adapters/shared/sqlite.rb:270:in schema_parse_tabl e' from c:/ruby/lib/ruby/gems/1.8/gems/sequel-3.13.0/lib/sequel/database/query.rb:129:inschema' from c:/ruby/lib/ruby/gems/1.8/gems/sequel-3.13.0/lib/sequel/extensions/schema_dumper.rb:57:in dump_table_schem a' from c:/ruby/lib/ruby/gems/1.8/gems/taps-0.3.11/bin/../lib/taps/schema.rb:22:indump_table' from c:/ruby/lib/ruby/gems/1.8/gems/sequel-3.13.0/lib/sequel/database/connecting.rb:73:in connect' from c:/ruby/lib/ruby/gems/1.8/gems/sequel-3.13.0/lib/sequel/core.rb:111:inconnect' from c:/ruby/lib/ruby/gems/1.8/gems/taps-0.3.11/bin/../lib/taps/schema.rb:18:in dump_table' from c:/ruby/lib/ruby/gems/1.8/gems/taps-0.3.11/bin/schema:32 Schema: 100% |==========================================| Time: 00:00:03 c:/ruby/lib/ruby/gems/1.8/gems/sequel-3.13.0/lib/sequel/adapters/sqlite.rb:36:ininitialize': SQLite3::CantOpenExceptio n: unable to open database file (Sequel::DatabaseConnectionError) from c:/ruby/lib/ruby/gems/1.8/gems/sequel-3.13.0/lib/sequel/adapters/sqlite.rb:36:in new' from c:/ruby/lib/ruby/gems/1.8/gems/sequel-3.13.0/lib/sequel/adapters/sqlite.rb:36:inconnect' from c:/ruby/lib/ruby/gems/1.8/gems/sequel-3.13.0/lib/sequel/database/misc.rb:44 from c:/ruby/lib/ruby/gems/1.8/gems/sequel-3.13.0/lib/sequel/connection_pool.rb:92:in call' from c:/ruby/lib/ruby/gems/1.8/gems/sequel-3.13.0/lib/sequel/connection_pool.rb:92:inmake_new' from c:/ruby/lib/ruby/gems/1.8/gems/sequel-3.13.0/lib/sequel/connection_pool/threaded.rb:126:in make_new' from c:/ruby/lib/ruby/gems/1.8/gems/sequel-3.13.0/lib/sequel/connection_pool/threaded.rb:112:inavailable' from c:/ruby/lib/ruby/gems/1.8/gems/sequel-3.13.0/lib/sequel/connection_pool/threaded.rb:102:in acquire' from c:/ruby/lib/ruby/gems/1.8/gems/sequel-3.13.0/lib/sequel/connection_pool/threaded.rb:146:insync' from c:/ruby/lib/ruby/gems/1.8/gems/sequel-3.13.0/lib/sequel/connection_pool/threaded.rb:146:in synchronize' from c:/ruby/lib/ruby/gems/1.8/gems/sequel-3.13.0/lib/sequel/connection_pool/threaded.rb:146:insync' from c:/ruby/lib/ruby/gems/1.8/gems/sequel-3.13.0/lib/sequel/connection_pool/threaded.rb:101:in acquire' from c:/ruby/lib/ruby/gems/1.8/gems/sequel-3.13.0/lib/sequel/connection_pool/threaded.rb:74:inhold' from c:/ruby/lib/ruby/gems/1.8/gems/sequel-3.13.0/lib/sequel/database/connecting.rb:189:in synchronize' from c:/ruby/lib/ruby/gems/1.8/gems/sequel-3.13.0/lib/sequel/adapters/sqlite.rb:115:in_execute' from c:/ruby/lib/ruby/gems/1.8/gems/sequel-3.13.0/lib/sequel/adapters/sqlite.rb:80:in execute' from c:/ruby/lib/ruby/gems/1.8/gems/sequel-3.13.0/lib/sequel/dataset/actions.rb:392:inexecute' from c:/ruby/lib/ruby/gems/1.8/gems/sequel-3.13.0/lib/sequel/adapters/sqlite.rb:272:in fetch_rows' from c:/ruby/lib/ruby/gems/1.8/gems/sequel-3.13.0/lib/sequel/dataset/actions.rb:101:ineach' from c:/ruby/lib/ruby/gems/1.8/gems/sequel-3.13.0/lib/sequel/dataset/actions.rb:248:in map' from c:/ruby/lib/ruby/gems/1.8/gems/sequel-3.13.0/lib/sequel/dataset/actions.rb:248:inmap' from c:/ruby/lib/ruby/gems/1.8/gems/sequel-3.13.0/lib/sequel/adapters/shared/sqlite.rb:122:in tables' from c:/ruby/lib/ruby/gems/1.8/gems/taps-0.3.11/bin/../lib/taps/schema.rb:41:inindexes_individual' from c:/ruby/lib/ruby/gems/1.8/gems/sequel-3.13.0/lib/sequel/database/connecting.rb:73:in connect' from c:/ruby/lib/ruby/gems/1.8/gems/sequel-3.13.0/lib/sequel/core.rb:111:inconnect' from c:/ruby/lib/ruby/gems/1.8/gems/taps-0.3.11/bin/../lib/taps/schema.rb:40:in indexes_individual' from c:/ruby/lib/ruby/gems/1.8/gems/taps-0.3.11/bin/schema:36 c:/ruby/lib/ruby/gems/1.8/gems/json_pure-1.4.3/lib/json/pure/parser.rb:146:inparse': source did not contain any JSON! (JSON::ParserError) from c:/ruby/lib/ruby/gems/1.8/gems/json_pure-1.4.3/lib/json/common.rb:146:in parse' from c:/ruby/lib/ruby/gems/1.8/gems/taps-0.3.11/lib/taps/operation.rb:410:inpush_indexes' from c:/ruby/lib/ruby/gems/1.8/gems/taps-0.3.11/lib/taps/operation.rb:388:in run' from c:/ruby/lib/ruby/gems/1.8/gems/taps-0.3.11/lib/taps/cli.rb:164:inclientxfer' from c:/ruby/lib/ruby/gems/1.8/gems/heroku-1.9.13/lib/heroku/commands/db.rb:156:in taps_client' from c:/ruby/lib/ruby/gems/1.8/gems/heroku-1.9.13/lib/heroku/commands/db.rb:13:inpush' from c:/ruby/lib/ruby/gems/1.8/gems/heroku-1.9.13/lib/heroku/command.rb:48:in send' from c:/ruby/lib/ruby/gems/1.8/gems/heroku-1.9.13/lib/heroku/command.rb:48:inrun_internal' from c:/ruby/lib/ruby/gems/1.8/gems/heroku-1.9.13/lib/heroku/command.rb:20:in run' from c:/ruby/lib/ruby/gems/1.8/gems/heroku-1.9.13/bin/heroku:13 from c:/ruby/bin/heroku:19:inload' from c:/ruby/bin/heroku:19

jeffshadap avatar Aug 13 '10 16:08 jeffshadap

I have the same problem - did you manage to solve it?

lloydb avatar Sep 06 '10 09:09 lloydb

Same problem here too.

mrdizzy avatar Oct 23 '10 16:10 mrdizzy

I updated heroku and taps gems and it is now working fine.

lloydb avatar Oct 25 '10 10:10 lloydb