Having trouble stopping flying sphinx

vincew's Avatar

vincew

29 Sep, 2011 06:35 AM

I'm having trouble, not only indexing, but stopping flying sphinx as well. When I run heroku fs:stop I get this error. I tried rolling back to multi_json 1.0.1 too but it didn't help. Seems like it all worked a few days ago..

** Execute fs:stop Stopping Sphinx...
rake aborted!
uninitialized constant OkJson::Error
/app/.bundle/gems/ruby/1.8/gems/activesupport-2.3.14/lib/active_support/dependencies.rb:466:in load_missing_constant' /app/.bundle/gems/ruby/1.8/gems/activesupport-2.3.14/lib/active_support/dependencies.rb:106:inconst_missing' /app/.bundle/gems/ruby/1.8/gems/multi_json-1.0.3/lib/multi_json/engines/ok_json.rb:6 /app/.bundle/gems/ruby/1.8/gems/activesupport-2.3.14/lib/active_support/dependencies.rb:182:in require' /app/.bundle/gems/ruby/1.8/gems/activesupport-2.3.14/lib/active_support/dependencies.rb:182:inrequire' /app/.bundle/gems/ruby/1.8/gems/activesupport-2.3.14/lib/active_support/dependencies.rb:547:in new_constants_in' /app/.bundle/gems/ruby/1.8/gems/activesupport-2.3.14/lib/active_support/dependencies.rb:182:inrequire' /app/.bundle/gems/ruby/1.8/gems/multi_json-1.0.3/lib/multi_json.rb:50:in engine=' /app/.bundle/gems/ruby/1.8/gems/multi_json-1.0.3/lib/multi_json.rb:10:inengine' /app/.bundle/gems/ruby/1.8/gems/multi_json-1.0.3/lib/multi_json.rb:66:in decode' /app/.bundle/gems/ruby/1.8/gems/faraday_middleware-0.6.5/lib/faraday/response/parse_json.rb:16:inparse' /app/.bundle/gems/ruby/1.8/gems/faraday-0.6.1/lib/faraday/response.rb:17:in on_complete' /app/.bundle/gems/ruby/1.8/gems/faraday-0.6.1/lib/faraday/response.rb:9:incall' /app/.bundle/gems/ruby/1.8/gems/faraday-0.6.1/lib/faraday/response.rb:62:in on_complete' /app/.bundle/gems/ruby/1.8/gems/faraday-0.6.1/lib/faraday/response.rb:8:incall' /app/.bundle/gems/ruby/1.8/gems/faraday-0.6.1/lib/faraday/response.rb:8:in call' /app/.bundle/gems/ruby/1.8/gems/faraday-0.6.1/lib/faraday/request/url_encoded.rb:14:incall' /app/.bundle/gems/ruby/1.8/gems/faraday-0.6.1/lib/faraday/request.rb:88:in run' /app/.bundle/gems/ruby/1.8/gems/faraday-0.6.1/lib/faraday/request.rb:28:inrun' /app/.bundle/gems/ruby/1.8/gems/faraday-0.6.1/lib/faraday/connection.rb:170:in run_request' /app/.bundle/gems/ruby/1.8/gems/faraday-0.6.1/lib/faraday/connection.rb:69:inpost' /app/.bundle/gems/ruby/1.8/gems/flying-sphinx-0.6.0/lib/flying_sphinx/api.rb:28:in post' /app/.bundle/gems/ruby/1.8/gems/flying-sphinx-0.6.0/lib/flying_sphinx/api.rb:68:incall' /app/.bundle/gems/ruby/1.8/gems/flying-sphinx-0.6.0/lib/flying_sphinx/api.rb:68:in log' /app/.bundle/gems/ruby/1.8/gems/flying-sphinx-0.6.0/lib/flying_sphinx/api.rb:27:inpost' /app/.bundle/gems/ruby/1.8/gems/flying-sphinx-0.6.0/lib/flying_sphinx/configuration.rb:44:in stop_sphinx' /app/.bundle/gems/ruby/1.8/gems/flying-sphinx-0.6.0/lib/flying_sphinx/tasks.rb:19 /app/.bundle/gems/ruby/1.8/gems/rake-0.8.7/lib/rake.rb:636:incall' /app/.bundle/gems/ruby/1.8/gems/rake-0.8.7/lib/rake.rb:636:in execute' /app/.bundle/gems/ruby/1.8/gems/rake-0.8.7/lib/rake.rb:631:ineach' /app/.bundle/gems/ruby/1.8/gems/rake-0.8.7/lib/rake.rb:631:in execute' /app/.bundle/gems/ruby/1.8/gems/rake-0.8.7/lib/rake.rb:597:ininvoke_with_call_chain' /usr/ruby1.8.7/lib/ruby/1.8/monitor.rb:242:in synchronize' /app/.bundle/gems/ruby/1.8/gems/rake-0.8.7/lib/rake.rb:590:ininvoke_with_call_chain' /app/.bundle/gems/ruby/1.8/gems/rake-0.8.7/lib/rake.rb:583:in invoke' /app/.bundle/gems/ruby/1.8/gems/rake-0.8.7/lib/rake.rb:2051:ininvoke_task' /app/.bundle/gems/ruby/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in top_level' /app/.bundle/gems/ruby/1.8/gems/rake-0.8.7/lib/rake.rb:2029:ineach' /app/.bundle/gems/ruby/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in top_level' /app/.bundle/gems/ruby/1.8/gems/rake-0.8.7/lib/rake.rb:2068:instandard_exception_handling' /app/.bundle/gems/ruby/1.8/gems/rake-0.8.7/lib/rake.rb:2023:in top_level' /app/.bundle/gems/ruby/1.8/gems/rake-0.8.7/lib/rake.rb:2001:inrun' /app/.bundle/gems/ruby/1.8/gems/rake-0.8.7/lib/rake.rb:2068:in standard_exception_handling' /app/.bundle/gems/ruby/1.8/gems/rake-0.8.7/lib/rake.rb:1998:inrun' /app/.bundle/gems/ruby/1.8/gems/rake-0.8.7/bin/rake:31 /app/.bundle/gems/ruby/1.8/bin/rake:19:in `load' /app/.bundle/gems/ruby/1.8/bin/rake:19

  1. 1 Posted by vincew on 29 Sep, 2011 07:54 AM

    vincew's Avatar

    Ok, turns out the problem was a conflict with the heroku gem. Updating heroku to 2.8.4 solved my issue. Sorry for the heartburn!

  2. Support Staff 2 Posted by Pat Allan on 29 Sep, 2011 08:05 AM

    Pat Allan's Avatar

    Heya Vince

    Sorry I'd not gotten back to you sooner! Today's been a little flat out. Has this fixed both issues? Or are you still getting the frozen string problem?

    Pat

  3. 3 Posted by vincew on 29 Sep, 2011 08:07 AM

    vincew's Avatar

    Hi Pat, I'm all set --- frozen string problem seems to have been fixed as well!

    -Vince

  4. Support Staff 4 Posted by Pat Allan on 29 Sep, 2011 08:10 AM

    Pat Allan's Avatar

    Ah great :)

    Pat

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac