spree-contrib / spree_drop_ship

Spree Drop Shipping Extension
BSD 3-Clause "New" or "Revised" License
104 stars 120 forks source link

Heroku.... Something went wrong when creating a new supplier #23

Closed Jaffery5 closed 11 years ago

Jaffery5 commented 11 years ago

Hi,

screen shot 2013-08-10 at 11 41 23 pm

*Gemfile:

source 'https://rubygems.org'

gem 'rails', '3.2.14' gem 'jquery-rails', "~> 3.0.0" gem 'spree', github: 'spree/spree', branch: '2-0-stable' gem 'spree_gateway', :git => 'https://github.com/spree/spree_gateway.git', :branch => '2-0-stable' gem 'spree_auth_devise', :git => 'https://github.com/spree/spree_auth_devise.git', :branch => '2-0-stable' gem 'spree_marketplace', github: 'jdutil/spree_marketplace' gem 'spree_drop_ship', github: 'jdutil/spree_drop_ship'

group :assets do gem 'sass-rails', '~> 3.2.3' gem 'coffee-rails', '~> 3.2.1' gem 'uglifier', '>= 1.0.3' end

group :development do

gem 'better_errors'

gem 'binding_of_caller'

gem 'sqlite3' end

group :production do gem 'pg' end

*Logs

2013-08-11T03:37:50.077391+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/actionpack-3.2.14/lib/action_controller/metal/implicit_render.rb:5:in `send_action'
2013-08-11T03:37:50.077861+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/journey-1.0.4/lib/journey/router.rb:68:in `block in call'
2013-08-11T03:37:50.077084+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/activesupport-3.2.14/lib/active_support/core_ext/benchmark.rb:5:in `ms'
2013-08-11T03:37:50.077084+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/actionpack-3.2.14/lib/action_controller/metal/rendering.rb:16:in `render'
2013-08-11T03:37:50.077559+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/actionpack-3.2.14/lib/action_controller/metal/params_wrapper.rb:207:in `process_action'
2013-08-11T03:37:50.077559+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/activerecord-3.2.14/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
2013-08-11T03:37:50.077559+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/actionpack-3.2.14/lib/abstract_controller/base.rb:121:in `process'
2013-08-11T03:37:50.076619+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/actionpack-3.2.14/lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument'
2013-08-11T03:37:50.077391+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/activesupport-3.2.14/lib/active_support/callbacks.rb:502:in `_run__1309090207214565798__process_action__62016820550858863__callbacks'
2013-08-11T03:37:50.078030+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/railties-3.2.14/lib/rails/railtie/configurable.rb:30:in `method_missing'
2013-08-11T03:37:50.078030+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/warden-1.2.3/lib/warden/manager.rb:34:in `catch'
2013-08-11T03:37:50.077391+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/actionpack-3.2.14/lib/action_controller/metal/implicit_render.rb:10:in `default_render'
2013-08-11T03:37:50.076924+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/actionpack-3.2.14/lib/action_view/renderer/renderer.rb:17:in `render'
2013-08-11T03:37:50.077861+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/actionpack-3.2.14/lib/action_dispatch/routing/route_set.rb:608:in `call'
2013-08-11T03:37:50.077559+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/actionpack-3.2.14/lib/abstract_controller/rendering.rb:45:in `process'
2013-08-11T03:37:50.076619+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/actionpack-3.2.14/lib/action_view/renderer/abstract_renderer.rb:38:in `instrument'
2013-08-11T03:37:50.077391+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/activesupport-3.2.14/lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks'
2013-08-11T03:37:50.078489+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/railties-3.2.14/lib/rails/rack/logger.rb:32:in `call_app'
2013-08-11T03:37:50.077861+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/actionpack-3.2.14/lib/action_dispatch/routing/route_set.rb:36:in `call'
2013-08-11T03:37:50.077861+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/actionpack-3.2.14/lib/action_dispatch/routing/route_set.rb:73:in `call'
2013-08-11T03:37:50.077861+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/journey-1.0.4/lib/journey/router.rb:56:in `each'
2013-08-11T03:37:50.078030+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/journey-1.0.4/lib/journey/router.rb:56:in `call'
2013-08-11T03:37:50.077084+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/actionpack-3.2.14/lib/abstract_controller/rendering.rb:88:in `render'
2013-08-11T03:37:50.077084+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/actionpack-3.2.14/lib/action_controller/metal/instrumentation.rb:40:in `block (2 levels) in render'
2013-08-11T03:37:50.078789+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/actionpack-3.2.14/lib/action_dispatch/middleware/request_id.rb:22:in `call'
2013-08-11T03:37:50.078956+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/railties-3.2.14/lib/rails/rack/log_tailer.rb:17:in `call'
# I think this is where it breaks.....
2013-08-11T03:37:50.079505+00:00 app[web.1]: Completed 500 Internal Server Error in 33ms  # I think this is the error message.
2013-08-11T03:37:50.076924+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/actionpack-3.2.14/lib/action_controller/metal/streaming.rb:225:in `_render_template'
2013-08-11T03:37:50.078030+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/warden-1.2.3/lib/warden/manager.rb:35:in `block in call'
2013-08-11T03:37:50.078030+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/actionpack-3.2.14/lib/action_dispatch/routing/route_set.rb:608:in `call'
2013-08-11T03:37:50.077391+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/actionpack-3.2.14/lib/abstract_controller/callbacks.rb:18:in `block in process_action'
2013-08-11T03:37:50.078323+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/actionpack-3.2.14/lib/action_dispatch/middleware/cookies.rb:341:in `call'
2013-08-11T03:37:50.078323+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/activerecord-3.2.14/lib/active_record/query_cache.rb:64:in `call'
2013-08-11T03:37:50.078489+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/activesupport-3.2.14/lib/active_support/callbacks.rb:405:in `__run_callback'
2013-08-11T03:37:50.077084+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/activerecord-3.2.14/lib/active_record/railties/controller_runtime.rb:24:in `cleanup_view_runtime'
2013-08-11T03:37:50.077084+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/actionpack-3.2.14/lib/action_controller/metal/instrumentation.rb:83:in `cleanup_view_runtime'
2013-08-11T03:37:50.078323+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/activerecord-3.2.14/lib/active_record/connection_adapters/abstract/connection_pool.rb:479:in `call'
2013-08-11T03:37:50.078323+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/rack-1.4.5/lib/rack/conditionalget.rb:25:in `call'
2013-08-11T03:37:50.078489+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/activesupport-3.2.14/lib/active_support/callbacks.rb:405:in `_run__2272497358341345119__call__809429143824528470__callbacks'
2013-08-11T03:37:50.078030+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/actionpack-3.2.14/lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
2013-08-11T03:37:50.077861+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/actionpack-3.2.14/lib/action_controller/metal.rb:246:in `block in action'
2013-08-11T03:37:50.077861+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/journey-1.0.4/lib/journey/router.rb:56:in `call'
2013-08-11T03:37:50.078030+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/railties-3.2.14/lib/rails/engine.rb:484:in `call'
2013-08-11T03:37:50.078030+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/warden-1.2.3/lib/warden/manager.rb:34:in `call'
2013-08-11T03:37:50.078323+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/rack-1.4.5/lib/rack/etag.rb:23:in `call'
2013-08-11T03:37:50.078323+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/actionpack-3.2.14/lib/action_dispatch/middleware/params_parser.rb:21:in `call'
2013-08-11T03:37:50.078789+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/actionpack-3.2.14/lib/action_dispatch/middleware/static.rb:63:in `call'
2013-08-11T03:37:50.078789+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/rack-1.4.5/lib/rack/methodoverride.rb:21:in `call'
2013-08-11T03:37:50.078789+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/rack-1.4.5/lib/rack/runtime.rb:17:in `call'
2013-08-11T03:37:50.077559+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/activesupport-3.2.14/lib/active_support/notifications.rb:123:in `instrument'
2013-08-11T03:37:50.077861+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/actionpack-3.2.14/lib/action_controller/metal.rb:203:in `dispatch'
2013-08-11T03:37:50.077861+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/actionpack-3.2.14/lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
2013-08-11T03:37:50.077391+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/actionpack-3.2.14/lib/abstract_controller/base.rb:167:in `process_action'
2013-08-11T03:37:50.077391+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/activesupport-3.2.14/lib/active_support/callbacks.rb:405:in `__run_callback'
2013-08-11T03:37:50.078489+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/actionpack-3.2.14/lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
2013-08-11T03:37:50.078789+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/activesupport-3.2.14/lib/active_support/cache/strategy/local_cache.rb:72:in `call'
2013-08-11T03:37:50.078489+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/actionpack-3.2.14/lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
2013-08-11T03:37:50.078789+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/railties-3.2.14/lib/rails/rack/logger.rb:16:in `call'
2013-08-11T03:37:50.078956+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/rack-1.4.5/lib/rack/handler/webrick.rb:59:in `service'
2013-08-11T03:37:50.079258+00:00 app[web.1]: 
2013-08-11T03:37:50.078030+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/journey-1.0.4/lib/journey/router.rb:68:in `block in call'
2013-08-11T03:37:50.078323+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/actionpack-3.2.14/lib/action_dispatch/middleware/head.rb:14:in `call'
2013-08-11T03:37:50.078489+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/activesupport-3.2.14/lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
2013-08-11T03:37:50.078323+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/rack-1.4.5/lib/rack/session/abstract/id.rb:205:in `call'
2013-08-11T03:37:50.078489+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/actionpack-3.2.14/lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
2013-08-11T03:37:50.078956+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/rack-cache-1.2/lib/rack/cache/context.rb:51:in `call'
2013-08-11T03:37:50.078956+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/railties-3.2.14/lib/rails/engine.rb:484:in `call'
2013-08-11T03:37:50.079258+00:00 app[web.1]:   Rendered vendor/bundle/ruby/2.0.0/bundler/gems/spree-f31f77afb420/core/app/views/spree/shared/_error_messages.html.erb (0.1ms)
2013-08-11T03:37:50.078030+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/journey-1.0.4/lib/journey/router.rb:56:in `each'
2013-08-11T03:37:50.078323+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/actionpack-3.2.14/lib/action_dispatch/middleware/flash.rb:242:in `call'
2013-08-11T03:37:50.077391+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/activesupport-3.2.14/lib/active_support/callbacks.rb:81:in `run_callbacks'
2013-08-11T03:37:50.077391+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/actionpack-3.2.14/lib/abstract_controller/callbacks.rb:17:in `process_action'
2013-08-11T03:37:50.077559+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/actionpack-3.2.14/lib/action_controller/metal/rescue.rb:29:in `process_action'
2013-08-11T03:37:50.078789+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/rack-1.4.5/lib/rack/lock.rb:15:in `call'
2013-08-11T03:37:50.078956+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/rack-1.4.5/lib/rack/content_length.rb:14:in `call'
2013-08-11T03:37:50.079258+00:00 app[web.1]: 
2013-08-11T03:37:50.078956+00:00 app[web.1]:   vendor/ruby-2.0.0/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
2013-08-11T03:37:50.079258+00:00 app[web.1]: Processing by Spree::SuppliersController#new as HTML
2013-08-11T03:37:50.079258+00:00 app[web.1]:   Rendered vendor/bundle/ruby/2.0.0/bundler/gems/spree-f31f77afb420/frontend/app/views/spree/address/_form.html.erb (11.0ms)
2013-08-11T03:37:50.078489+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/actionpack-3.2.14/lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
2013-08-11T03:37:50.078789+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/activesupport-3.2.14/lib/active_support/tagged_logging.rb:22:in `tagged'
2013-08-11T03:37:50.079258+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/logging-1.8.1/lib/logging/diagnostic_context.rb:323:in `block in create_with_logging_context'
2013-08-11T03:37:50.078489+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/activesupport-3.2.14/lib/active_support/callbacks.rb:81:in `run_callbacks'
2013-08-11T03:37:50.079258+00:00 app[web.1]:   vendor/ruby-2.0.0/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
2013-08-11T03:37:50.079258+00:00 app[web.1]:   vendor/ruby-2.0.0/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
2013-08-11T03:37:50.077559+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/actionpack-3.2.14/lib/action_controller/metal/instrumentation.rb:30:in `block in process_action'
2013-08-11T03:37:50.077559+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/activesupport-3.2.14/lib/active_support/notifications.rb:123:in `block in instrument'
2013-08-11T03:37:50.079258+00:00 app[web.1]:   Rendered vendor/bundle/ruby/2.0.0/bundler/gems/spree_drop_ship-ca82dea8cf2d/app/views/spree/suppliers/new.html.erb within spree/layouts/spree_application (14.1ms)
2013-08-11T03:37:50.078956+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/rack-cache-1.2/lib/rack/cache/context.rb:185:in `lookup'
2013-08-11T03:37:50.078956+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/railties-3.2.14/lib/rails/application.rb:231:in `call'
2013-08-11T03:37:50.079258+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/logging-1.8.1/lib/logging/diagnostic_context.rb:323:in `call'
2013-08-11T03:37:50.077559+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/activesupport-3.2.14/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
2013-08-11T03:37:50.077559+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/actionpack-3.2.14/lib/action_controller/metal/instrumentation.rb:29:in `process_action'
2013-08-11T03:37:50.077861+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/actionpack-3.2.14/lib/action_dispatch/routing/route_set.rb:73:in `dispatch'
2013-08-11T03:37:50.078323+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/rack-1.4.5/lib/rack/session/abstract/id.rb:210:in `context'
2013-08-11T03:37:50.078489+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/actionpack-3.2.14/lib/action_dispatch/middleware/callbacks.rb:27:in `call'
2013-08-11T03:37:50.078789+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/railties-3.2.14/lib/rails/rack/logger.rb:16:in `block in call'
2013-08-11T03:37:50.078789+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/rack-cache-1.2/lib/rack/cache/context.rb:136:in `forward'
2013-08-11T03:37:50.078956+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/rack-cache-1.2/lib/rack/cache/context.rb:245:in `fetch'
2013-08-11T03:37:50.078956+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/rack-cache-1.2/lib/rack/cache/context.rb:66:in `call!'
2013-08-11T03:37:50.456698+00:00 heroku[router]: at=info method=GET path=/favicon.ico host=afternoon-wildwood-2709.herokuapp.com fwd="100.2.204.151" dyno=web.1 connect=2ms service=5ms status=304 bytes=0
2013-08-11T03:37:30.968954+00:00 heroku[router]: at=info method=GET path=/account host=afternoon-wildwood-2709.herokuapp.com fwd="100.2.204.151" dyno=web.1 connect=1ms service=55ms status=301 bytes=119

Thank you.

JDutil commented 11 years ago

Please use ``` before and after your log lines to have them formatted nicely.

Unfortunately I do not see anything in your stack trace related to this extension. You will need to provide the exact steps to reproduce this error otherwise I do not know what your having problems with, but I highly doubt it is this extension since it is working fine for me and the test suite passes.

iftikhar0005 commented 11 years ago

@jdutil I have turned on the full_error option in production environemnt and this is the error, I guess Heroku is not liking something about the state field in the address form. Note: This happens even before the signup supplier form renders.

vendor/bundle/ruby/2.0.0/bundler/gems/spree-f31f77afb420/frontend/app/views/spree/address/_form.html.erb:38:in `_aa035a85732c41534779eda1def58b09'
vendor/bundle/ruby/2.0.0/gems/actionpack-3.2.14/lib/action_view/template.rb:145:in `block in render'
vendor/bundle/ruby/2.0.0/gems/activesupport-3.2.14/lib/active_support/notifications.rb:125:in `instrument'
vendor/bundle/ruby/2.0.0/gems/actionpack-3.2.14/lib/action_view/template.rb:143:in `render'
vendor/bundle/ruby/2.0.0/gems/deface-0.9.1/lib/deface/action_view_extensions.rb:37:in `render'
vendor/bundle/ruby/2.0.0/gems/actionpack-3.2.14/lib/action_view/renderer/partial_renderer.rb:265:in `render_partial'
vendor/bundle/ruby/2.0.0/gems/actionpack-3.2.14/lib/action_view/renderer/partial_renderer.rb:238:in `block in render'
vendor/bundle/ruby/2.0.0/gems/actionpack-3.2.14/lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument'
vendor/bundle/ruby/2.0.0/gems/activesupport-3.2.14/lib/active_support/notifications.rb:123:in `block in instrument'
vendor/bundle/ruby/2.0.0/gems/activesupport-3.2.14/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
vendor/bundle/ruby/2.0.0/gems/activesupport-3.2.14/lib/active_support/notifications.rb:123:in `instrument'
vendor/bundle/ruby/2.0.0/gems/actionpack-3.2.14/lib/action_view/renderer/abstract_renderer.rb:38:in `instrument'
vendor/bundle/ruby/2.0.0/gems/actionpack-3.2.14/lib/action_view/renderer/partial_renderer.rb:237:in `render'
vendor/bundle/ruby/2.0.0/gems/actionpack-3.2.14/lib/action_view/renderer/renderer.rb:41:in `render_partial'
vendor/bundle/ruby/2.0.0/gems/actionpack-3.2.14/lib/action_view/renderer/renderer.rb:15:in `render'
vendor/bundle/ruby/2.0.0/gems/actionpack-3.2.14/lib/action_view/helpers/rendering_helper.rb:24:in `render'
vendor/bundle/ruby/2.0.0/bundler/gems/spree_drop_ship-ca82dea8cf2d/app/views/spree/suppliers/new.html.erb:25:in `block (2 levels) in _96c6879775fe328afdc0d4e2b78c1415'
vendor/bundle/ruby/2.0.0/gems/actionpack-3.2.14/lib/action_view/helpers/capture_helper.rb:40:in `block in capture'
vendor/bundle/ruby/2.0.0/gems/actionpack-3.2.14/lib/action_view/helpers/capture_helper.rb:187:in `with_output_buffer'
vendor/bundle/ruby/2.0.0/gems/actionpack-3.2.14/lib/action_view/helpers/capture_helper.rb:40:in `capture'
vendor/bundle/ruby/2.0.0/gems/actionpack-3.2.14/lib/action_view/helpers/form_helper.rb:605:in `fields_for'
vendor/bundle/ruby/2.0.0/gems/actionpack-3.2.14/lib/action_view/helpers/form_helper.rb:1466:in `fields_for_nested_model'
vendor/bundle/ruby/2.0.0/gems/actionpack-3.2.14/lib/action_view/helpers/form_helper.rb:1456:in `fields_for_with_nested_attributes'
vendor/bundle/ruby/2.0.0/gems/actionpack-3.2.14/lib/action_view/helpers/form_helper.rb:1301:in `fields_for'
vendor/bundle/ruby/2.0.0/bundler/gems/spree_drop_ship-ca82dea8cf2d/app/views/spree/suppliers/new.html.erb:23:in `block in _96c6879775fe328afdc0d4e2b78c1415'
vendor/bundle/ruby/2.0.0/gems/actionpack-3.2.14/lib/action_view/helpers/capture_helper.rb:40:in `block in capture'
vendor/bundle/ruby/2.0.0/gems/actionpack-3.2.14/lib/action_view/helpers/capture_helper.rb:187:in `with_output_buffer'
vendor/bundle/ruby/2.0.0/gems/actionpack-3.2.14/lib/action_view/helpers/capture_helper.rb:40:in `capture'
vendor/bundle/ruby/2.0.0/gems/actionpack-3.2.14/lib/action_view/helpers/form_helper.rb:378:in `form_for'
vendor/bundle/ruby/2.0.0/bundler/gems/spree_drop_ship-ca82dea8cf2d/app/views/spree/suppliers/new.html.erb:15:in `_96c6879775fe328afdc0d4e2b78c1415'
vendor/bundle/ruby/2.0.0/gems/actionpack-3.2.14/lib/action_view/template.rb:145:in `block in render'
vendor/bundle/ruby/2.0.0/gems/activesupport-3.2.14/lib/active_support/notifications.rb:125:in `instrument'
vendor/bundle/ruby/2.0.0/gems/actionpack-3.2.14/lib/action_view/template.rb:143:in `render'
vendor/bundle/ruby/2.0.0/gems/deface-0.9.1/lib/deface/action_view_extensions.rb:37:in `render'
vendor/bundle/ruby/2.0.0/gems/actionpack-3.2.14/lib/action_view/renderer/template_renderer.rb:48:in `block (2 levels) in render_template'
vendor/bundle/ruby/2.0.0/gems/actionpack-3.2.14/lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument'
vendor/bundle/ruby/2.0.0/gems/activesupport-3.2.14/lib/active_support/notifications.rb:123:in `block in instrument'
vendor/bundle/ruby/2.0.0/gems/activesupport-3.2.14/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
vendor/bundle/ruby/2.0.0/gems/activesupport-3.2.14/lib/active_support/notifications.rb:123:in `instrument'
vendor/bundle/ruby/2.0.0/gems/actionpack-3.2.14/lib/action_view/renderer/abstract_renderer.rb:38:in `instrument'
vendor/bundle/ruby/2.0.0/gems/actionpack-3.2.14/lib/action_view/renderer/template_renderer.rb:47:in `block in render_template'
vendor/bundle/ruby/2.0.0/gems/actionpack-3.2.14/lib/action_view/renderer/template_renderer.rb:55:in `render_with_layout'
vendor/bundle/ruby/2.0.0/gems/actionpack-3.2.14/lib/action_view/renderer/template_renderer.rb:46:in `render_template'
vendor/bundle/ruby/2.0.0/gems/actionpack-3.2.14/lib/action_view/renderer/template_renderer.rb:19:in `render'
vendor/bundle/ruby/2.0.0/gems/actionpack-3.2.14/lib/action_view/renderer/renderer.rb:36:in `render_template'
vendor/bundle/ruby/2.0.0/gems/actionpack-3.2.14/lib/action_view/renderer/renderer.rb:17:in `render'
vendor/bundle/ruby/2.0.0/gems/actionpack-3.2.14/lib/abstract_controller/rendering.rb:110:in `_render_template'
vendor/bundle/ruby/2.0.0/gems/actionpack-3.2.14/lib/action_controller/metal/streaming.rb:225:in `_render_template'
vendor/bundle/ruby/2.0.0/gems/actionpack-3.2.14/lib/abstract_controller/rendering.rb:103:in `render_to_body'
vendor/bundle/ruby/2.0.0/gems/actionpack-3.2.14/lib/action_controller/metal/renderers.rb:28:in `render_to_body'
vendor/bundle/ruby/2.0.0/gems/actionpack-3.2.14/lib/action_controller/metal/compatibility.rb:50:in `render_to_body'
vendor/bundle/ruby/2.0.0/gems/actionpack-3.2.14/lib/abstract_controller/rendering.rb:88:in `render'
vendor/bundle/ruby/2.0.0/gems/actionpack-3.2.14/lib/action_controller/metal/rendering.rb:16:in `render'
vendor/bundle/ruby/2.0.0/gems/actionpack-3.2.14/lib/action_controller/metal/instrumentation.rb:40:in `block (2 levels) in render'
vendor/bundle/ruby/2.0.0/gems/activesupport-3.2.14/lib/active_support/core_ext/benchmark.rb:5:in `block in ms'
vendor/ruby-2.0.0/lib/ruby/2.0.0/benchmark.rb:296:in `realtime'
vendor/bundle/ruby/2.0.0/gems/activesupport-3.2.14/lib/active_support/core_ext/benchmark.rb:5:in `ms'
vendor/bundle/ruby/2.0.0/gems/actionpack-3.2.14/lib/action_controller/metal/instrumentation.rb:40:in `block in render'
vendor/bundle/ruby/2.0.0/gems/actionpack-3.2.14/lib/action_controller/metal/instrumentation.rb:83:in `cleanup_view_runtime'
vendor/bundle/ruby/2.0.0/gems/activerecord-3.2.14/lib/active_record/railties/controller_runtime.rb:24:in `cleanup_view_runtime'
vendor/bundle/ruby/2.0.0/gems/actionpack-3.2.14/lib/action_controller/metal/instrumentation.rb:39:in `render'
vendor/bundle/ruby/2.0.0/gems/actionpack-3.2.14/lib/action_controller/metal/implicit_render.rb:10:in `default_render'
vendor/bundle/ruby/2.0.0/gems/actionpack-3.2.14/lib/action_controller/metal/implicit_render.rb:5:in `send_action'
vendor/bundle/ruby/2.0.0/gems/actionpack-3.2.14/lib/abstract_controller/base.rb:167:in `process_action'
vendor/bundle/ruby/2.0.0/gems/actionpack-3.2.14/lib/action_controller/metal/rendering.rb:10:in `process_action'
vendor/bundle/ruby/2.0.0/gems/actionpack-3.2.14/lib/abstract_controller/callbacks.rb:18:in `block in process_action'
vendor/bundle/ruby/2.0.0/gems/activesupport-3.2.14/lib/active_support/callbacks.rb:502:in `_run__1635875023930240125__process_action__2192408027121235332__callbacks'
vendor/bundle/ruby/2.0.0/gems/activesupport-3.2.14/lib/active_support/callbacks.rb:405:in `__run_callback'
vendor/bundle/ruby/2.0.0/gems/activesupport-3.2.14/lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks'
vendor/bundle/ruby/2.0.0/gems/activesupport-3.2.14/lib/active_support/callbacks.rb:81:in `run_callbacks'
vendor/bundle/ruby/2.0.0/gems/actionpack-3.2.14/lib/abstract_controller/callbacks.rb:17:in `process_action'
vendor/bundle/ruby/2.0.0/gems/actionpack-3.2.14/lib/action_controller/metal/rescue.rb:29:in `process_action'
vendor/bundle/ruby/2.0.0/gems/actionpack-3.2.14/lib/action_controller/metal/instrumentation.rb:30:in `block in process_action'
vendor/bundle/ruby/2.0.0/gems/activesupport-3.2.14/lib/active_support/notifications.rb:123:in `block in instrument'
vendor/bundle/ruby/2.0.0/gems/activesupport-3.2.14/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
vendor/bundle/ruby/2.0.0/gems/activesupport-3.2.14/lib/active_support/notifications.rb:123:in `instrument'
vendor/bundle/ruby/2.0.0/gems/actionpack-3.2.14/lib/action_controller/metal/instrumentation.rb:29:in `process_action'
vendor/bundle/ruby/2.0.0/gems/actionpack-3.2.14/lib/action_controller/metal/params_wrapper.rb:207:in `process_action'
vendor/bundle/ruby/2.0.0/gems/activerecord-3.2.14/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
vendor/bundle/ruby/2.0.0/gems/actionpack-3.2.14/lib/abstract_controller/base.rb:121:in `process'
vendor/bundle/ruby/2.0.0/gems/actionpack-3.2.14/lib/abstract_controller/rendering.rb:45:in `process'
vendor/bundle/ruby/2.0.0/gems/actionpack-3.2.14/lib/action_controller/metal.rb:203:in `dispatch'
vendor/bundle/ruby/2.0.0/gems/actionpack-3.2.14/lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
vendor/bundle/ruby/2.0.0/gems/actionpack-3.2.14/lib/action_controller/metal.rb:246:in `block in action'
vendor/bundle/ruby/2.0.0/gems/actionpack-3.2.14/lib/action_dispatch/routing/route_set.rb:73:in `call'
vendor/bundle/ruby/2.0.0/gems/actionpack-3.2.14/lib/action_dispatch/routing/route_set.rb:73:in `dispatch'
vendor/bundle/ruby/2.0.0/gems/actionpack-3.2.14/lib/action_dispatch/routing/route_set.rb:36:in `call'
vendor/bundle/ruby/2.0.0/gems/journey-1.0.4/lib/journey/router.rb:68:in `block in call'
vendor/bundle/ruby/2.0.0/gems/journey-1.0.4/lib/journey/router.rb:56:in `each'
vendor/bundle/ruby/2.0.0/gems/journey-1.0.4/lib/journey/router.rb:56:in `call'
vendor/bundle/ruby/2.0.0/gems/actionpack-3.2.14/lib/action_dispatch/routing/route_set.rb:608:in `call'
vendor/bundle/ruby/2.0.0/gems/railties-3.2.14/lib/rails/engine.rb:484:in `call'
vendor/bundle/ruby/2.0.0/gems/railties-3.2.14/lib/rails/railtie/configurable.rb:30:in `method_missing'
vendor/bundle/ruby/2.0.0/gems/journey-1.0.4/lib/journey/router.rb:68:in `block in call'
vendor/bundle/ruby/2.0.0/gems/journey-1.0.4/lib/journey/router.rb:56:in `each'
vendor/bundle/ruby/2.0.0/gems/journey-1.0.4/lib/journey/router.rb:56:in `call'
vendor/bundle/ruby/2.0.0/gems/actionpack-3.2.14/lib/action_dispatch/routing/route_set.rb:608:in `call'
vendor/bundle/ruby/2.0.0/gems/warden-1.2.3/lib/warden/manager.rb:35:in `block in call'
vendor/bundle/ruby/2.0.0/gems/warden-1.2.3/lib/warden/manager.rb:34:in `catch'
vendor/bundle/ruby/2.0.0/gems/warden-1.2.3/lib/warden/manager.rb:34:in `call'
vendor/bundle/ruby/2.0.0/gems/actionpack-3.2.14/lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
vendor/bundle/ruby/2.0.0/gems/rack-1.4.5/lib/rack/etag.rb:23:in `call'
vendor/bundle/ruby/2.0.0/gems/rack-1.4.5/lib/rack/conditionalget.rb:25:in `call'
vendor/bundle/ruby/2.0.0/gems/actionpack-3.2.14/lib/action_dispatch/middleware/head.rb:14:in `call'
vendor/bundle/ruby/2.0.0/gems/actionpack-3.2.14/lib/action_dispatch/middleware/params_parser.rb:21:in `call'
vendor/bundle/ruby/2.0.0/gems/actionpack-3.2.14/lib/action_dispatch/middleware/flash.rb:242:in `call'
vendor/bundle/ruby/2.0.0/gems/rack-1.4.5/lib/rack/session/abstract/id.rb:210:in `context'
vendor/bundle/ruby/2.0.0/gems/rack-1.4.5/lib/rack/session/abstract/id.rb:205:in `call'
vendor/bundle/ruby/2.0.0/gems/actionpack-3.2.14/lib/action_dispatch/middleware/cookies.rb:341:in `call'
vendor/bundle/ruby/2.0.0/gems/activerecord-3.2.14/lib/active_record/query_cache.rb:64:in `call'
vendor/bundle/ruby/2.0.0/gems/activerecord-3.2.14/lib/active_record/connection_adapters/abstract/connection_pool.rb:479:in `call'
vendor/bundle/ruby/2.0.0/gems/actionpack-3.2.14/lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
vendor/bundle/ruby/2.0.0/gems/activesupport-3.2.14/lib/active_support/callbacks.rb:405:in `_run__877227347581049966__call__3777735217478743465__callbacks'
vendor/bundle/ruby/2.0.0/gems/activesupport-3.2.14/lib/active_support/callbacks.rb:405:in `__run_callback'
vendor/bundle/ruby/2.0.0/gems/activesupport-3.2.14/lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
vendor/bundle/ruby/2.0.0/gems/activesupport-3.2.14/lib/active_support/callbacks.rb:81:in `run_callbacks'
vendor/bundle/ruby/2.0.0/gems/actionpack-3.2.14/lib/action_dispatch/middleware/callbacks.rb:27:in `call'
vendor/bundle/ruby/2.0.0/gems/actionpack-3.2.14/lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
vendor/bundle/ruby/2.0.0/gems/actionpack-3.2.14/lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
vendor/bundle/ruby/2.0.0/gems/actionpack-3.2.14/lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
vendor/bundle/ruby/2.0.0/gems/railties-3.2.14/lib/rails/rack/logger.rb:32:in `call_app'
vendor/bundle/ruby/2.0.0/gems/railties-3.2.14/lib/rails/rack/logger.rb:16:in `block in call'
vendor/bundle/ruby/2.0.0/gems/activesupport-3.2.14/lib/active_support/tagged_logging.rb:22:in `tagged'
vendor/bundle/ruby/2.0.0/gems/railties-3.2.14/lib/rails/rack/logger.rb:16:in `call'
vendor/bundle/ruby/2.0.0/gems/actionpack-3.2.14/lib/action_dispatch/middleware/request_id.rb:22:in `call'
vendor/bundle/ruby/2.0.0/gems/rack-1.4.5/lib/rack/methodoverride.rb:21:in `call'
vendor/bundle/ruby/2.0.0/gems/rack-1.4.5/lib/rack/runtime.rb:17:in `call'
vendor/bundle/ruby/2.0.0/gems/activesupport-3.2.14/lib/active_support/cache/strategy/local_cache.rb:72:in `call'
vendor/bundle/ruby/2.0.0/gems/rack-1.4.5/lib/rack/lock.rb:15:in `call'
vendor/bundle/ruby/2.0.0/gems/actionpack-3.2.14/lib/action_dispatch/middleware/static.rb:63:in `call'
vendor/bundle/ruby/2.0.0/gems/rack-cache-1.2/lib/rack/cache/context.rb:136:in `forward'
vendor/bundle/ruby/2.0.0/gems/rack-cache-1.2/lib/rack/cache/context.rb:245:in `fetch'
vendor/bundle/ruby/2.0.0/gems/rack-cache-1.2/lib/rack/cache/context.rb:185:in `lookup'
vendor/bundle/ruby/2.0.0/gems/rack-cache-1.2/lib/rack/cache/context.rb:66:in `call!'
vendor/bundle/ruby/2.0.0/gems/rack-cache-1.2/lib/rack/cache/context.rb:51:in `call'
vendor/bundle/ruby/2.0.0/gems/railties-3.2.14/lib/rails/engine.rb:484:in `call'
vendor/bundle/ruby/2.0.0/gems/railties-3.2.14/lib/rails/application.rb:231:in `call'
vendor/bundle/ruby/2.0.0/gems/rack-1.4.5/lib/rack/content_length.rb:14:in `call'
vendor/bundle/ruby/2.0.0/gems/railties-3.2.14/lib/rails/rack/log_tailer.rb:17:in `call'
vendor/bundle/ruby/2.0.0/gems/rack-1.4.5/lib/rack/handler/webrick.rb:59:in `service'
vendor/ruby-2.0.0/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
vendor/ruby-2.0.0/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
vendor/ruby-2.0.0/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
vendor/bundle/ruby/2.0.0/gems/logging-1.8.1/lib/logging/diagnostic_context.rb:323:in `call'
vendor/bundle/ruby/2.0.0/gems/logging-1.8.1/lib/logging/diagnostic_context.rb:323:in `block in create_with_logging_context'

Thank you.

JDutil commented 11 years ago

This is a duplicate of https://github.com/jdutil/spree_drop_ship/issues/21

iftikhar0005 commented 11 years ago

@jdutil The #21 occurs when the supplier is created, but the issue mentioned above occurs when the supplier form is called to be filled in . Does "Signup for supplier" requires a pre-filled address form? Because as the user signs up for the first time by providing email and password, it should be able to signup for a supplier.

JDutil commented 11 years ago

It is a duplicate of you having the same problem where you have not actually populated your spree store with countries and states. So when the address form tries to render there are no countries or states to populate the form as required. Yes I should make this fail more gracefully, but this is only an issue because you have not actually finished setting up your spree store yet before trying to use this extension.