taps icon indicating copy to clipboard operation
taps copied to clipboard

Taps forgets which sequel database adapter to use

Open dcunited001 opened this issue 13 years ago • 7 comments

About to look through the stack trace

David-Conners-MacBook-Pro:StartNorfolk davidconner$ heroku db:push Loaded Taps v0.3.23 Auto-detected local database: postgres://testapp:[email protected]/startnorfolk_development?encoding=utf8 Warning: Data in the app 'startnorfolk' will be overwritten and will not be recoverable.

! WARNING: Potentially Destructive Action ! This command will affect the app: startnorfolk ! To proceed, type "startnorfolk" or re-run this command with --confirm startnorfolk

startnorfolk Sending schema Schema: 100% |==========================================| Time: 00:00:30 Sending indexes users: 100% |==========================================| Time: 00:00:00 schema_migrat: 100% |==========================================| Time: 00:00:00 slugs: 100% |==========================================| Time: 00:00:01 seo_meta: 100% |==========================================| Time: 00:00:01 refinery_sett: 100% |==========================================| Time: 00:00:00 participants: 100% |==========================================| Time: 00:00:00 roles_users: 100% |==========================================| Time: 00:00:01 inquiries: 100% |==========================================| Time: 00:00:01 blog_comments: 100% |==========================================| Time: 00:00:00 sponsors: 100% |==========================================| Time: 00:00:00 user_plugins: 100% |==========================================| Time: 00:00:01 blog_categori: 100% |==========================================| Time: 00:00:00 sponsorship_t: 100% |==========================================| Time: 00:00:00 blog_categori: 100% |==========================================| Time: 00:00:00 inquiry_types: 100% |==========================================| Time: 00:00:00 page_parts: 100% |==========================================| Time: 00:00:01 blog_posts: 100% |==========================================| Time: 00:00:00 pages: 100% |==========================================| Time: 00:00:04 page_part_tra: 100% |==========================================| Time: 00:00:00 taggings: 100% |==========================================| Time: 00:00:01 page_translat: 100% |==========================================| Time: 00:00:00 participant_t: 100% |==========================================| Time: 00:00:00 Sending data 27 tables, 213 records users: 0% | | ETA: --:--:-- Saving session to push_201107122113.dat.. !!! Caught Server Exception HTTP CODE: 500 Taps Server Error: LoadError: no such file to load -- sequel/adapters/ ["/app/.bundle/gems/ruby/1.9.1/gems/sequel-3.20.0/lib/sequel/core.rb:249:in require'", "/app/.bundle/gems/ruby/1.9.1/gems/sequel-3.20.0/lib/sequel/core.rb:249:inblock in tsk_require'", "/app/.bundle/gems/ruby/1.9.1/gems/sequel-3.20.0/lib/sequel/core.rb:72:in block in check_requiring_thread'", "<internal:prelude>:10:insynchronize'", "/app/.bundle/gems/ruby/1.9.1/gems/sequel-3.20.0/lib/sequel/core.rb:69:in check_requiring_thread'", "/app/.bundle/gems/ruby/1.9.1/gems/sequel-3.20.0/lib/sequel/core.rb:249:intsk_require'", "/app/.bundle/gems/ruby/1.9.1/gems/sequel-3.20.0/lib/sequel/database/connecting.rb:25:in adapter_class'", "/app/.bundle/gems/ruby/1.9.1/gems/sequel-3.20.0/lib/sequel/database/connecting.rb:54:inconnect'", "/app/.bundle/gems/ruby/1.9.1/gems/sequel-3.20.0/lib/sequel/core.rb:119:in connect'", "/app/lib/taps/db_session.rb:14:inconn'", "/app/lib/taps/server.rb:91:in block in <class:Server>'", "/app/.bundle/gems/ruby/1.9.1/gems/sinatra-1.0/lib/sinatra/base.rb:865:incall'", "/app/.bundle/gems/ruby/1.9.1/gems/sinatra-1.0/lib/sinatra/base.rb:865:in block in route'", "/app/.bundle/gems/ruby/1.9.1/gems/sinatra-1.0/lib/sinatra/base.rb:521:ininstance_eval'", "/app/.bundle/gems/ruby/1.9.1/gems/sinatra-1.0/lib/sinatra/base.rb:521:in route_eval'", "/app/.bundle/gems/ruby/1.9.1/gems/sinatra-1.0/lib/sinatra/base.rb:500:inblock (2 levels) in route!'", "/app/.bundle/gems/ruby/1.9.1/gems/sinatra-1.0/lib/sinatra/base.rb:497:in catch'", "/app/.bundle/gems/ruby/1.9.1/gems/sinatra-1.0/lib/sinatra/base.rb:497:inblock in route!'", "/app/.bundle/gems/ruby/1.9.1/gems/sinatra-1.0/lib/sinatra/base.rb:476:in each'", "/app/.bundle/gems/ruby/1.9.1/gems/sinatra-1.0/lib/sinatra/base.rb:476:inroute!'", "/app/.bundle/gems/ruby/1.9.1/gems/sinatra-1.0/lib/sinatra/base.rb:601:in dispatch!'", "/app/.bundle/gems/ruby/1.9.1/gems/sinatra-1.0/lib/sinatra/base.rb:411:inblock in call!'", "/app/.bundle/gems/ruby/1.9.1/gems/sinatra-1.0/lib/sinatra/base.rb:566:in instance_eval'", "/app/.bundle/gems/ruby/1.9.1/gems/sinatra-1.0/lib/sinatra/base.rb:566:inblock in invoke'", "/app/.bundle/gems/ruby/1.9.1/gems/sinatra-1.0/lib/sinatra/base.rb:566:in catch'", "/app/.bundle/gems/ruby/1.9.1/gems/sinatra-1.0/lib/sinatra/base.rb:566:ininvoke'", "/app/.bundle/gems/ruby/1.9.1/gems/sinatra-1.0/lib/sinatra/base.rb:411:in call!'", "/app/.bundle/gems/ruby/1.9.1/gems/sinatra-1.0/lib/sinatra/base.rb:399:incall'", "/app/.bundle/gems/ruby/1.9.1/gems/rack-1.2.1/lib/rack/auth/basic.rb:25:in call'", "/app/.bundle/gems/ruby/1.9.1/gems/sinatra-1.0/lib/sinatra/base.rb:979:inblock in call'", "/app/.bundle/gems/ruby/1.9.1/gems/sinatra-1.0/lib/sinatra/base.rb:1005:in synchronize'", "/app/.bundle/gems/ruby/1.9.1/gems/sinatra-1.0/lib/sinatra/base.rb:979:incall'", "/home/heroku_rack/lib/static_assets.rb:9:in call'", "/home/heroku_rack/lib/last_access.rb:15:incall'", "/app/.bundle/gems/ruby/1.9.1/gems/rack-1.2.1/lib/rack/urlmap.rb:47:in block in call'", "/app/.bundle/gems/ruby/1.9.1/gems/rack-1.2.1/lib/rack/urlmap.rb:41:ineach'", "/app/.bundle/gems/ruby/1.9.1/gems/rack-1.2.1/lib/rack/urlmap.rb:41:in call'", "/home/heroku_rack/lib/date_header.rb:14:incall'", "/app/.bundle/gems/ruby/1.9.1/gems/rack-1.2.1/lib/rack/builder.rb:77:in call'", "/app/.bundle/gems/ruby/1.9.1/gems/thin-1.2.7/lib/thin/connection.rb:76:inblock in pre_process'", "/app/.bundle/gems/ruby/1.9.1/gems/thin-1.2.7/lib/thin/connection.rb:74:in catch'", "/app/.bundle/gems/ruby/1.9.1/gems/thin-1.2.7/lib/thin/connection.rb:74:inpre_process'", "/app/.bundle/gems/ruby/1.9.1/gems/thin-1.2.7/lib/thin/connection.rb:57:in process'", "/app/.bundle/gems/ruby/1.9.1/gems/thin-1.2.7/lib/thin/connection.rb:42:inreceive_data'", "/app/.bundle/gems/ruby/1.9.1/gems/eventmachine-0.12.10/lib/eventmachine.rb:256:in run_machine'", "/app/.bundle/gems/ruby/1.9.1/gems/eventmachine-0.12.10/lib/eventmachine.rb:256:inrun'", "/app/.bundle/gems/ruby/1.9.1/gems/thin-1.2.7/lib/thin/backends/base.rb:57:in start'", "/app/.bundle/gems/ruby/1.9.1/gems/thin-1.2.7/lib/thin/server.rb:156:instart'", "/app/.bundle/gems/ruby/1.9.1/gems/thin-1.2.7/lib/thin/controllers/controller.rb:80:in start'", "/app/.bundle/gems/ruby/1.9.1/gems/thin-1.2.7/lib/thin/runner.rb:177:inrun_command'", "/app/.bundle/gems/ruby/1.9.1/gems/thin-1.2.7/lib/thin/runner.rb:143:in run!'", "/app/.bundle/gems/ruby/1.9.1/gems/thin-1.2.7/bin/thin:6:in<top (required)>'", "/usr/ruby1.9.2/bin/thin:19:in load'", "/usr/ruby1.9.2/bin/thin:19:in

'"]

dcunited001 avatar Jul 13 '11 17:07 dcunited001

Also running into this issue. This is the only result found via Google for that exception. If I figure it out, I'll post the solution.

kevinmtrowbridge avatar Aug 19 '11 19:08 kevinmtrowbridge

when i was running into this it was when i was trying to db:push to heroku. what had happened in believe was my # of dyno's had wound down to 0 for that particular heroku app. so i reset the number of dynos to 1 and that fixed it.

On Fri, Aug 19, 2011 at 3:06 PM, kevinmtrowbridge < [email protected]>wrote:

Also running into this issue. This is the only result found via Google for that exception. If I figure it out, I'll post the solution.

Reply to this email directly or view it on GitHub: https://github.com/ricardochimal/taps/issues/86#issuecomment-1855180

dcunited001 avatar Aug 19 '11 19:08 dcunited001

dcunited001 -- thanks for replying so quickly! Unfortunately my problem was even more brain-dead, I had neglected to push the code up to the server, before trying to push the db up. I've been doing a lot of Heroku work lately, so maybe that's my excuse.

Git push before trying to to use taps to populate the db, lesson duly noted.

kevinmtrowbridge avatar Aug 19 '11 19:08 kevinmtrowbridge

Stil got that Problem and my app is pushed to Heroku and has one dyno

mortik avatar Sep 15 '11 08:09 mortik

I was getting this error because I had not promoted (pg:promote) any database, so the ENV['DATABASE_URL'] was not set.

rpmessner avatar Dec 20 '11 18:12 rpmessner

thanks @rpmessner your comment saved me

econnally avatar Oct 10 '12 18:10 econnally

yes, @rpmessner , 8 months later and it saved me too :+1:

spicymaya avatar Jun 01 '13 22:06 spicymaya