Thanks for your help Not got RVM installed just now, this is really the only app I'm working on, do I need to bother with RVM, or can I just switch to ruby 1.9.2 and hope for the best?
M On Oct 17, 1:37 am, kowsik <kow...@gmail.com> wrote: > I've seen this error when running 'heroku' command line with 1.8.7. If > you are using rvm, switch to 1.9.2. > > K. > ---http://blitz.io > @pcapr > > > > > > > > On Sun, Oct 16, 2011 at 5:28 PM, Michael Baldock <michaelb1...@gmail.com> > wrote: > > Hi, > > > I've been doing some maintenace on a site, and I needed to push a load > > of data from local machine to heroku, I've done this loads of time > > before with no problem using taps heroku db:push. > > > Now I cant get it to work, it sends the schema, but immediately > > crashes on trying to send the data, it's a real problem, the site's > > had to be pulled down until I get this fixed. > > > versions : > > heroku-gem/2.9.0 > > taps 0.3.23 > > ruby 1.8.7 (2010-01-10 patchlevel 249) [universal-darwin10.0] > > > here's the error logs : > > > Sending data > > 27 tables, 6,800 records > > /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/ > > 1.8/net/protocol.rb:177:in `write': Invalid argument (Errno::EINVAL) > > from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ > > ruby/1.8/net/protocol.rb:177:in `write0' > > from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ > > ruby/1.8/net/protocol.rb:153:in `write' > > from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ > > ruby/1.8/net/protocol.rb:168:in `writing' > > from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ > > ruby/1.8/net/protocol.rb:152:in `write' > > from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ > > ruby/1.8/net/http.rb:1561:in `send_request_with_body_stream' > > from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ > > ruby/1.8/net/http.rb:1531:in `exec' > > from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ > > ruby/1.8/net/http.rb:1048:in `__request__' > > from /Library/Ruby/Gems/1.8/gems/rest-client-1.6.1/lib/restclient/ > > net_http_ext.rb:15:in `request' > > from /Library/Ruby/Gems/1.8/gems/rest-client-1.6.1/lib/restclient/ > > request.rb:167:in `transmit' > > from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ > > ruby/1.8/net/http.rb:543:in `start' > > from /Library/Ruby/Gems/1.8/gems/rest-client-1.6.1/lib/restclient/ > > request.rb:166:in `transmit' > > from /Library/Ruby/Gems/1.8/gems/rest-client-1.6.1/lib/restclient/ > > request.rb:60:in `execute' > > from /Library/Ruby/Gems/1.8/gems/rest-client-1.6.1/lib/restclient/ > > request.rb:31:in `execute' > > from /Library/Ruby/Gems/1.8/gems/rest-client-1.6.1/lib/restclient/ > > resource.rb:63:in `post' > > from /Library/Ruby/Gems/1.8/gems/taps-0.3.23/lib/taps/operation.rb: > > 519:in `push_data_from_table' > > from /Library/Ruby/Gems/1.8/gems/taps-0.3.23/lib/taps/utils.rb:102:in > > `calculate_chunksize' > > from /Library/Ruby/Gems/1.8/gems/taps-0.3.23/lib/taps/operation.rb: > > 491:in `push_data_from_table' > > from /Library/Ruby/Gems/1.8/gems/taps-0.3.23/lib/taps/operation.rb: > > 481:in `loop' > > from /Library/Ruby/Gems/1.8/gems/taps-0.3.23/lib/taps/operation.rb: > > 481:in `push_data_from_table' > > from /Library/Ruby/Gems/1.8/gems/taps-0.3.23/lib/taps/operation.rb: > > 476:in `push_data' > > from /Library/Ruby/Gems/1.8/gems/taps-0.3.23/lib/taps/operation.rb: > > 471:in `each' > > from /Library/Ruby/Gems/1.8/gems/taps-0.3.23/lib/taps/operation.rb: > > 471:in `push_data' > > from /Library/Ruby/Gems/1.8/gems/taps-0.3.23/lib/taps/operation.rb: > > 412:in `run' > > from /Library/Ruby/Gems/1.8/gems/taps-0.3.23/lib/taps/operation.rb: > > 203:in `call' > > from /Library/Ruby/Gems/1.8/gems/taps-0.3.23/lib/taps/operation.rb: > > 203:in `catch_errors' > > from /Library/Ruby/Gems/1.8/gems/taps-0.3.23/lib/taps/operation.rb: > > 405:in `run' > > from /Library/Ruby/Gems/1.8/gems/taps-0.3.23/lib/taps/cli.rb:171:in > > `clientxfer' > > from /Users/MichaelB/.heroku/client/lib/heroku/command/db.rb:191:in > > `taps_client' > > from /Users/MichaelB/.heroku/client/lib/heroku/command/db.rb:34:in > > `push' > > from /Users/MichaelB/.heroku/client/lib/heroku/command.rb:114:in > > `send' > > from /Users/MichaelB/.heroku/client/lib/heroku/command.rb:114:in > > `run' > > from /Library/Ruby/Gems/1.8/gems/heroku-2.9.0/bin/heroku:14 > > from /usr/bin/heroku:19:in `load' > > from /usr/bin/heroku:19 > > > Any help would be REALLY appreciated! What should I start updating?? > > Any ideas what I might need to re-install?? > > > Thanks > > > -- > > You received this message because you are subscribed to the Google Groups > > "Heroku" group. > > To post to this group, send email to heroku@googlegroups.com. > > To unsubscribe from this group, send email to > > heroku+unsubscr...@googlegroups.com. > > For more options, visit this group > > athttp://groups.google.com/group/heroku?hl=en. -- You received this message because you are subscribed to the Google Groups "Heroku" group. To post to this group, send email to heroku@googlegroups.com. To unsubscribe from this group, send email to heroku+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/heroku?hl=en.