Created
June 29, 2011 15:05
-
-
Save sandipransing/1054026 to your computer and use it in GitHub Desktop.
heroku db pull error
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| heroku db:pull mysql://root@localhost/otz_production --app otz-production | |
| Loaded Taps v0.3.23 | |
| Warning: Data in the database 'mysql://root@localhost/otz_production' will be overwritten and will not be recoverable. | |
| ! WARNING: Potentially Destructive Action | |
| ! This command will affect the app: otz-production | |
| ! To proceed, type "otz-production" or re-run this command with --confirm otz-production | |
| > otz-production | |
| Receiving schema | |
| Schema: 100% |==========================================| Time: 00:00:21 | |
| Receiving indexes | |
| storefronts: 100% |==========================================| Time: 00:00:01 | |
| schema_migrat: 100% |==========================================| Time: 00:00:00 | |
| Receiving data | |
| 9 tables, 1,800 records | |
| coupons: 100% |==========================================| Time: 00:00:06 | |
| storefronts: 100% |==========================================| Time: 00:00:14 | |
| schema_migrat: 100% |==========================================| Time: 00:00:01 | |
| deal_alerts: 100% |==========================================| Time: 00:00:07 | |
| payments: 100% |==========================================| Time: 00:00:00 | |
| images: 5% |== | ETA: 00:17:24 | |
| images: 27% |=========== | ETA: 00:16:31 | |
| images: 32% |============= | ETA: 00:20:37 | |
| images: 33% |============= | ETA: 00:20:23 | |
| images: 42% |================= | ETA: 00:23:40 | |
| images: 49% |==================== | ETA: 00:23:02 | |
| /usr/lib/ruby/gems/1.8/gems/taps-0.3.23/lib/taps/data_stream.rb:177:in `fetch_from_resource': uninitialized constant OkJson::Parser (NameError) | |
| from /usr/lib/ruby/gems/1.8/gems/taps-0.3.23/lib/taps/data_stream.rb:131:in `fetch_remote' | |
| from /usr/lib/ruby/gems/1.8/gems/taps-0.3.23/lib/taps/operation.rb:308:in `pull_data_from_table' | |
| from /usr/lib/ruby/gems/1.8/gems/taps-0.3.23/lib/taps/operation.rb:301:in `loop' | |
| from /usr/lib/ruby/gems/1.8/gems/taps-0.3.23/lib/taps/operation.rb:301:in `pull_data_from_table' | |
| from /usr/lib/ruby/gems/1.8/gems/taps-0.3.23/lib/taps/operation.rb:284:in `pull_data' | |
| from /usr/lib/ruby/gems/1.8/gems/taps-0.3.23/lib/taps/operation.rb:278:in `each' | |
| from /usr/lib/ruby/gems/1.8/gems/taps-0.3.23/lib/taps/operation.rb:278:in `pull_data' | |
| from /usr/lib/ruby/gems/1.8/gems/taps-0.3.23/lib/taps/operation.rb:253 | |
| from /usr/lib/ruby/gems/1.8/gems/taps-0.3.23/lib/taps/operation.rb:203:in `call' | |
| from /usr/lib/ruby/gems/1.8/gems/taps-0.3.23/lib/taps/operation.rb:203:in `catch_errors' | |
| from /usr/lib/ruby/gems/1.8/gems/taps-0.3.23/lib/taps/operation.rb:246:in `run' | |
| from /usr/lib/ruby/gems/1.8/gems/taps-0.3.23/lib/taps/cli.rb:171:in `clientxfer' | |
| from /usr/lib/ruby/gems/1.8/gems/heroku-1.17.16/lib/heroku/commands/db.rb:152:in `taps_client' | |
| from /usr/lib/ruby/gems/1.8/gems/heroku-1.17.16/lib/heroku/commands/db.rb:25:in `pull' | |
| from /usr/lib/ruby/gems/1.8/gems/heroku-1.17.16/lib/heroku/command.rb:48:in `send' | |
| from /usr/lib/ruby/gems/1.8/gems/heroku-1.17.16/lib/heroku/command.rb:48:in `run_internal' | |
| from /usr/lib/ruby/gems/1.8/gems/heroku-1.17.16/lib/heroku/command.rb:20:in `run' | |
| from /usr/lib/ruby/gems/1.8/gems/heroku-1.17.16/bin/heroku:13 | |
| from /usr/bin/heroku:19:in `load' | |
| from /usr/bin/heroku:19 |
Author
heroku tap doesn't seems to allow highly loaded db pull operation. So we just skipped this operation and fetched images via URL
is Parser a typo that should actually read ParserError (in ok_json.rb)?
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I am also having the same issue. How is this issue fixed. Please help
Thanks
Amal