#89 ✓resolved
atmorell

Problem with "Setup a Basic Site" and "Add a Blog to your Site" Wizard

Reported by atmorell | September 1st, 2010 @ 01:09 PM

Hello,

There seems to be a small problem with the basic site and blog wizards. The member wizard works without any problems.

Setup a Basic Site crash:
Date: Wed, 1 Sep 2010 18:47:09 +0200
From: noreply@mywebiva.com
Subject: New mywebiva.com Issue #3: A NameError Exception occurred in structure#wizard
Mime-Version: 1.0
Content-Type: text/html; charset=utf-8

Issue #3 - reported

Reported By:

Administrative User

Location: cms:/website/structure/wizard/wizards/simple_site

Reported Type: auto

Reporting Domain: mywebiva.com

Behavior


A NameError Exception occurred in structure#wizard

uninitialized constant ActiveWebService::HTTParty
[RAILS_ROOT]/vendor/rails/activesupport/lib/active_support/dependencies.rb:105:in `const_missing'

* URL: http://www.mywebiva.com/website/structure/wizard/wizards/simple_site
* Parameters: {"commit"=>"Submit", "wizard"=>{"name"=>"Mywebiva", "pages"=>"Home\r\nAbout\r\nNews\r\nContact"}, "action"=>"wizard", "authenticity_token"=>"TYpfEePMTHcQ3tpjVq1hiD+9h6y0m/2/eMyH0/pE52o=", "version"=>"1", "path"=>["wizards", "simple_site"], "controller"=>"structure"}
* Rails root: /home/Webiva
* User Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; da; rv:1.9.2.8) Gecko/20100722 Firefox/3.6.8* Process: 5919
* Server : ubuntu

[RAILS_ROOT]/vendor/rails/activesupport/lib/active_support/dependencies.rb:105:in `const_missing'
[RAILS_ROOT]/lib/active_web_service.rb:90
[RAILS_ROOT]/vendor/rails/activesupport/lib/active_support/dependencies.rb:380:in `load_without_new_constant_marking'
[RAILS_ROOT]/vendor/rails/activesupport/lib/active_support/dependencies.rb:380:in `load_file'
[RAILS_ROOT]/vendor/rails/activesupport/lib/active_support/dependencies.rb:521:in `new_constants_in'
[RAILS_ROOT]/vendor/rails/activesupport/lib/active_support/dependencies.rb:379:in `load_file'
[RAILS_ROOT]/vendor/rails/activesupport/lib/active_support/dependencies.rb:259:in `require_or_load'
[RAILS_ROOT]/vendor/rails/activesupport/lib/active_support/dependencies.rb:425:in `load_missing_constant'
[RAILS_ROOT]/vendor/rails/activesupport/lib/active_support/dependencies.rb:80:in `rails_official_const_missing'
[RAILS_ROOT]/lib/webiva_monkey_patches.rb:94:in `const_missing'
[RAILS_ROOT]/vendor/rails/activesupport/lib/active_support/dependencies.rb:92:in `const_missing'
[RAILS_ROOT]/vendor/rails/activesupport/lib/active_support/dependencies.rb:98:in `send'
[RAILS_ROOT]/vendor/rails/activesupport/lib/active_support/dependencies.rb:98:in `const_missing'
[RAILS_ROOT]/lib/dummy_text.rb:48
[RAILS_ROOT]/vendor/rails/activesupport/lib/active_support/dependencies.rb:380:in `load_without_new_constant_marking'
[RAILS_ROOT]/vendor/rails/activesupport/lib/active_support/dependencies.rb:380:in `load_file'
[RAILS_ROOT]/vendor/rails/activesupport/lib/active_support/dependencies.rb:521:in `new_constants_in'
[RAILS_ROOT]/vendor/rails/activesupport/lib/active_support/dependencies.rb:379:in `load_file'
[RAILS_ROOT]/vendor/rails/activesupport/lib/active_support/dependencies.rb:259:in `require_or_load'
[RAILS_ROOT]/vendor/rails/activesupport/lib/active_support/dependencies.rb:425:in `load_missing_constant'
[RAILS_ROOT]/vendor/rails/activesupport/lib/active_support/dependencies.rb:80:in `rails_official_const_missing'
[RAILS_ROOT]/lib/webiva_monkey_patches.rb:94:in `const_missing'
[RAILS_ROOT]/vendor/rails/activesupport/lib/active_support/dependencies.rb:92:in `const_missing'
[RAILS_ROOT]/vendor/rails/activesupport/lib/active_support/dependencies.rb:437:in `load_missing_constant'
[RAILS_ROOT]/vendor/rails/activesupport/lib/active_support/dependencies.rb:80:in `rails_official_const_missing'
[RAILS_ROOT]/lib/webiva_monkey_patches.rb:94:in `const_missing'
[RAILS_ROOT]/vendor/rails/activesupport/lib/active_support/dependencies.rb:98:in `send'
[RAILS_ROOT]/vendor/rails/activesupport/lib/active_support/dependencies.rb:98:in `const_missing'
[RAILS_ROOT]/app/models/wizards/simple_site.rb:58:in `run_wizard'
[RAILS_ROOT]/app/models/page_revision.rb:288:in `push_paragraph'
[RAILS_ROOT]/app/models/wizards/simple_site.rb:57:in `run_wizard'
[RAILS_ROOT]/app/models/site_node.rb:152:in `push_subpage'
[RAILS_ROOT]/app/models/wizards/simple_site.rb:54:in `run_wizard'
[RAILS_ROOT]/app/models/wizards/simple_site.rb:51:in `each'
[RAILS_ROOT]/app/models/wizards/simple_site.rb:51:in `run_wizard'
[RAILS_ROOT]/app/controllers/structure_controller.rb:90:in `wizard'
[RAILS_ROOT]/vendor/rails/actionpack/lib/action_controller/base.rb:1331:in `send'
[RAILS_ROOT]/vendor/rails/actionpack/lib/action_controller/base.rb:1331:in `perform_action_without_filters'
[RAILS_ROOT]/vendor/rails/actionpack/lib/action_controller/filters.rb:617:in `call_filters'
[RAILS_ROOT]/vendor/rails/actionpack/lib/action_controller/filters.rb:610:in `perform_action_without_benchmark'
[RAILS_ROOT]/vendor/rails/actionpack/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue'
[RAILS_ROOT]/vendor/rails/activesupport/lib/active_support/core_ext/benchmark.rb:17:in `ms'
/usr/lib/ruby/1.8/benchmark.rb:308:in `realtime'
[RAILS_ROOT]/vendor/rails/activesupport/lib/active_support/core_ext/benchmark.rb:17:in `ms'
[RAILS_ROOT]/vendor/rails/actionpack/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue'
[RAILS_ROOT]/vendor/rails/actionpack/lib/action_controller/rescue.rb:160:in `perform_action_without_flash'
[RAILS_ROOT]/vendor/rails/actionpack/lib/action_controller/flash.rb:146:in `perform_action'
[RAILS_ROOT]/vendor/rails/actionpack/lib/action_controller/base.rb:532:in `send'
[RAILS_ROOT]/vendor/rails/actionpack/lib/action_controller/base.rb:532:in `process_without_filters'
[RAILS_ROOT]/vendor/rails/actionpack/lib/action_controller/filters.rb:606:in `process'
[RAILS_ROOT]/vendor/rails/actionpack/lib/action_controller/base.rb:391:in `process'
[RAILS_ROOT]/vendor/rails/actionpack/lib/action_controller/base.rb:386:in `call'
[RAILS_ROOT]/vendor/rails/actionpack/lib/action_controller/routing/route_set.rb:437:in `call'
[RAILS_ROOT]/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:87:in `dispatch'
[RAILS_ROOT]/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:121:in `_call'
[RAILS_ROOT]/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:130
[RAILS_ROOT]/vendor/rails/activerecord/lib/active_record/query_cache.rb:29:in `call'
[RAILS_ROOT]/vendor/rails/activerecord/lib/active_record/query_cache.rb:29:in `call'
[RAILS_ROOT]/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/query_cache.rb:34:in `cache'
[RAILS_ROOT]/vendor/rails/activerecord/lib/active_record/query_cache.rb:9:in `cache'
[RAILS_ROOT]/vendor/rails/activerecord/lib/active_record/query_cache.rb:28:in `call'
[RAILS_ROOT]/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb:361:in `call'
[RAILS_ROOT]/vendor/gems/rack-1.0.0/lib/rack/head.rb:9:in `call'
[RAILS_ROOT]/vendor/gems/rack-1.0.0/lib/rack/methodoverride.rb:24:in `call'
[RAILS_ROOT]/vendor/rails/actionpack/lib/action_controller/params_parser.rb:15:in `call'
[RAILS_ROOT]/vendor/rails/actionpack/lib/action_controller/session/abstract_store.rb:122:in `call'
[RAILS_ROOT]/vendor/rails/actionpack/lib/action_controller/failsafe.rb:26:in `call'
[RAILS_ROOT]/vendor/gems/rack-1.0.0/lib/rack/lock.rb:11:in `call'
[RAILS_ROOT]/vendor/gems/rack-1.0.0/lib/rack/lock.rb:11:in `synchronize'
[RAILS_ROOT]/vendor/gems/rack-1.0.0/lib/rack/lock.rb:11:in `call'
[RAILS_ROOT]/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:114:in `call'
[RAILS_ROOT]/vendor/rails/actionpack/lib/action_controller/reloader.rb:34:in `run'
[RAILS_ROOT]/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:108:in `call'
[RAILS_ROOT]/vendor/rails/railties/lib/rails/rack/static.rb:31:in `call'
[RAILS_ROOT]/vendor/gems/rack-1.0.0/lib/rack/urlmap.rb:46:in `call'
[RAILS_ROOT]/vendor/gems/rack-1.0.0/lib/rack/urlmap.rb:40:in `each'
[RAILS_ROOT]/vendor/gems/rack-1.0.0/lib/rack/urlmap.rb:40:in `call'
[RAILS_ROOT]/vendor/rails/railties/lib/rails/rack/log_tailer.rb:17:in `call'
[RAILS_ROOT]/vendor/gems/rack-1.0.0/lib/rack/content_length.rb:13:in `call'
[RAILS_ROOT]/vendor/gems/rack-1.0.0/lib/rack/chunked.rb:15:in `call'
[RAILS_ROOT]/vendor/gems/rack-1.0.0/lib/rack/handler/mongrel.rb:61:in `process'
/var/lib/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:159:in `process_client'
/var/lib/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:158:in `each'
/var/lib/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:158:in `process_client'
/var/lib/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `run'
/var/lib/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `initialize'
/var/lib/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `new'
/var/lib/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `run'
/var/lib/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `initialize'
/var/lib/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `new'
/var/lib/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `run'
[RAILS_ROOT]/vendor/gems/rack-1.0.0/lib/rack/handler/mongrel.rb:34:in `run'
[RAILS_ROOT]/vendor/rails/railties/lib/commands/server.rb:111
/usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
/usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `require'
script/server:3

Notes

"Add a Blog to your Site" crash: Date: Wed, 1 Sep 2010 19:07:57 +0200
From: noreply@mywebiva.com
Subject: New mywebiva.com Issue #9: A NameError Exception occurred in structure#wizard
Mime-Version: 1.0
Content-Type: text/html; charset=utf-8

Issue #9 - reported

Reported By:

Administrative User

Location: cms:/website/structure/wizard/blog/add_blog_wizard

Reported Type: auto

Reporting Domain: mywebiva.com

Behavior


A NameError Exception occurred in structure#wizard

uninitialized constant ActiveWebService::HTTParty
[RAILS_ROOT]/vendor/rails/activesupport/lib/active_support/dependencies.rb:105:in `const_missing'

* URL: http://www.mywebiva.com/website/structure/wizard/blog/add_blog_wizard
* Parameters: {"commit"=>"Submit", "wizard"=>{"number_of_dummy_posts"=>"3", "opts"=>[""], "add_to_subpage"=>"blog", "add_to_id"=>"2", "blog_id"=>"1", "add_to_existing"=>""}, "action"=>"wizard", "authenticity_token"=>"ocjICdEVBi7G++A4PIusJ9RUSjWauv+6RlPD0u5M4ZM=", "version"=>"1", "path"=>["blog", "add_blog_wizard"], "controller"=>"structure"}
* Rails root: /home/Webiva
* User Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; da; rv:1.9.2.8) Gecko/20100722 Firefox/3.6.8* Process: 5919
* Server : ubuntu

[RAILS_ROOT]/vendor/rails/activesupport/lib/active_support/dependencies.rb:105:in `const_missing'
[RAILS_ROOT]/lib/active_web_service.rb:90
[RAILS_ROOT]/vendor/rails/activesupport/lib/active_support/dependencies.rb:380:in `load_without_new_constant_marking'
[RAILS_ROOT]/vendor/rails/activesupport/lib/active_support/dependencies.rb:380:in `load_file'
[RAILS_ROOT]/vendor/rails/activesupport/lib/active_support/dependencies.rb:521:in `new_constants_in'
[RAILS_ROOT]/vendor/rails/activesupport/lib/active_support/dependencies.rb:379:in `load_file'
[RAILS_ROOT]/vendor/rails/activesupport/lib/active_support/dependencies.rb:259:in `require_or_load'
[RAILS_ROOT]/vendor/rails/activesupport/lib/active_support/dependencies.rb:425:in `load_missing_constant'
[RAILS_ROOT]/vendor/rails/activesupport/lib/active_support/dependencies.rb:80:in `rails_official_const_missing'
[RAILS_ROOT]/lib/webiva_monkey_patches.rb:94:in `const_missing'
[RAILS_ROOT]/vendor/rails/activesupport/lib/active_support/dependencies.rb:92:in `const_missing'
[RAILS_ROOT]/vendor/rails/activesupport/lib/active_support/dependencies.rb:98:in `send'
[RAILS_ROOT]/vendor/rails/activesupport/lib/active_support/dependencies.rb:98:in `const_missing'
[RAILS_ROOT]/lib/dummy_text.rb:48
[RAILS_ROOT]/vendor/rails/activesupport/lib/active_support/dependencies.rb:380:in `load_without_new_constant_marking'
[RAILS_ROOT]/vendor/rails/activesupport/lib/active_support/dependencies.rb:380:in `load_file'
[RAILS_ROOT]/vendor/rails/activesupport/lib/active_support/dependencies.rb:521:in `new_constants_in'
[RAILS_ROOT]/vendor/rails/activesupport/lib/active_support/dependencies.rb:379:in `load_file'
[RAILS_ROOT]/vendor/rails/activesupport/lib/active_support/dependencies.rb:259:in `require_or_load'
[RAILS_ROOT]/vendor/rails/activesupport/lib/active_support/dependencies.rb:425:in `load_missing_constant'
[RAILS_ROOT]/vendor/rails/activesupport/lib/active_support/dependencies.rb:80:in `rails_official_const_missing'
[RAILS_ROOT]/lib/webiva_monkey_patches.rb:94:in `const_missing'
[RAILS_ROOT]/vendor/rails/activesupport/lib/active_support/dependencies.rb:92:in `const_missing'
[RAILS_ROOT]/vendor/rails/activesupport/lib/active_support/dependencies.rb:437:in `load_missing_constant'
[RAILS_ROOT]/vendor/rails/activesupport/lib/active_support/dependencies.rb:80:in `rails_official_const_missing'
[RAILS_ROOT]/lib/webiva_monkey_patches.rb:94:in `const_missing'
[RAILS_ROOT]/vendor/rails/activesupport/lib/active_support/dependencies.rb:98:in `send'
[RAILS_ROOT]/vendor/rails/activesupport/lib/active_support/dependencies.rb:98:in `const_missing'
[RAILS_ROOT]/vendor/modules/blog/app/models/blog/add_blog_wizard.rb:124:in `create_dummy_category'
[RAILS_ROOT]/vendor/modules/blog/app/models/blog/add_blog_wizard.rb:112:in `run_wizard'
[RAILS_ROOT]/app/controllers/structure_controller.rb:90:in `wizard'
[RAILS_ROOT]/vendor/rails/actionpack/lib/action_controller/base.rb:1331:in `send'
[RAILS_ROOT]/vendor/rails/actionpack/lib/action_controller/base.rb:1331:in `perform_action_without_filters'
[RAILS_ROOT]/vendor/rails/actionpack/lib/action_controller/filters.rb:617:in `call_filters'
[RAILS_ROOT]/vendor/rails/actionpack/lib/action_controller/filters.rb:610:in `perform_action_without_benchmark'
[RAILS_ROOT]/vendor/rails/actionpack/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue'
[RAILS_ROOT]/vendor/rails/activesupport/lib/active_support/core_ext/benchmark.rb:17:in `ms'
/usr/lib/ruby/1.8/benchmark.rb:308:in `realtime'
[RAILS_ROOT]/vendor/rails/activesupport/lib/active_support/core_ext/benchmark.rb:17:in `ms'
[RAILS_ROOT]/vendor/rails/actionpack/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue'
[RAILS_ROOT]/vendor/rails/actionpack/lib/action_controller/rescue.rb:160:in `perform_action_without_flash'
[RAILS_ROOT]/vendor/rails/actionpack/lib/action_controller/flash.rb:146:in `perform_action'
[RAILS_ROOT]/vendor/rails/actionpack/lib/action_controller/base.rb:532:in `send'
[RAILS_ROOT]/vendor/rails/actionpack/lib/action_controller/base.rb:532:in `process_without_filters'
[RAILS_ROOT]/vendor/rails/actionpack/lib/action_controller/filters.rb:606:in `process'
[RAILS_ROOT]/vendor/rails/actionpack/lib/action_controller/base.rb:391:in `process'
[RAILS_ROOT]/vendor/rails/actionpack/lib/action_controller/base.rb:386:in `call'
[RAILS_ROOT]/vendor/rails/actionpack/lib/action_controller/routing/route_set.rb:437:in `call'
[RAILS_ROOT]/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:87:in `dispatch'
[RAILS_ROOT]/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:121:in `_call'
[RAILS_ROOT]/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:130
[RAILS_ROOT]/vendor/rails/activerecord/lib/active_record/query_cache.rb:29:in `call'
[RAILS_ROOT]/vendor/rails/activerecord/lib/active_record/query_cache.rb:29:in `call'
[RAILS_ROOT]/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/query_cache.rb:34:in `cache'
[RAILS_ROOT]/vendor/rails/activerecord/lib/active_record/query_cache.rb:9:in `cache'
[RAILS_ROOT]/vendor/rails/activerecord/lib/active_record/query_cache.rb:28:in `call'
[RAILS_ROOT]/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb:361:in `call'
[RAILS_ROOT]/vendor/gems/rack-1.0.0/lib/rack/head.rb:9:in `call'
[RAILS_ROOT]/vendor/gems/rack-1.0.0/lib/rack/methodoverride.rb:24:in `call'
[RAILS_ROOT]/vendor/rails/actionpack/lib/action_controller/params_parser.rb:15:in `call'
[RAILS_ROOT]/vendor/rails/actionpack/lib/action_controller/session/abstract_store.rb:122:in `call'
[RAILS_ROOT]/vendor/rails/actionpack/lib/action_controller/failsafe.rb:26:in `call'
[RAILS_ROOT]/vendor/gems/rack-1.0.0/lib/rack/lock.rb:11:in `call'
[RAILS_ROOT]/vendor/gems/rack-1.0.0/lib/rack/lock.rb:11:in `synchronize'
[RAILS_ROOT]/vendor/gems/rack-1.0.0/lib/rack/lock.rb:11:in `call'
[RAILS_ROOT]/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:114:in `call'
[RAILS_ROOT]/vendor/rails/actionpack/lib/action_controller/reloader.rb:34:in `run'
[RAILS_ROOT]/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:108:in `call'
[RAILS_ROOT]/vendor/rails/railties/lib/rails/rack/static.rb:31:in `call'
[RAILS_ROOT]/vendor/gems/rack-1.0.0/lib/rack/urlmap.rb:46:in `call'
[RAILS_ROOT]/vendor/gems/rack-1.0.0/lib/rack/urlmap.rb:40:in `each'
[RAILS_ROOT]/vendor/gems/rack-1.0.0/lib/rack/urlmap.rb:40:in `call'
[RAILS_ROOT]/vendor/rails/railties/lib/rails/rack/log_tailer.rb:17:in `call'
[RAILS_ROOT]/vendor/gems/rack-1.0.0/lib/rack/content_length.rb:13:in `call'
[RAILS_ROOT]/vendor/gems/rack-1.0.0/lib/rack/chunked.rb:15:in `call'
[RAILS_ROOT]/vendor/gems/rack-1.0.0/lib/rack/handler/mongrel.rb:61:in `process'
/var/lib/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:159:in `process_client'
/var/lib/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:158:in `each'
/var/lib/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:158:in `process_client'
/var/lib/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `run'
/var/lib/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `initialize'
/var/lib/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `new'
/var/lib/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `run'
/var/lib/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `initialize'
/var/lib/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `new'
/var/lib/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `run'
[RAILS_ROOT]/vendor/gems/rack-1.0.0/lib/rack/handler/mongrel.rb:34:in `run'
[RAILS_ROOT]/vendor/rails/railties/lib/commands/server.rb:111
/usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
/usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `require'
script/server:3

Notes

Any thoughts?

Comments and changes to this ticket

  • Pascal Rettig

    Pascal Rettig September 1st, 2010 @ 05:32 PM

    HTTParty is getting pulled in as a dependency when it shouldn't be - you should be ok if you do a

     gem install httparty
    
    • We're removing the dependency in lib/dummy_text.rb as it's no longer used
  • atmorell

    atmorell September 2nd, 2010 @ 06:00 AM

    Installed the gem and added the gem to the enviroments.rb file. Stille getting the same error:

    A NameError Exception occurred in structure#wizard

    uninitialized constant ActiveWebService::HTTParty
    [RAILS_ROOT]/vendor/rails/activesupport/lib/active_support/dependencies.rb:105:in const_missing'

    • URL: http://www.mywebiva.com/website/structure/wizard/wizards/simple_site
    • Parameters: {"commit"=>"Submit", "wizard"=>{"name"=>"Mywebiva", "pages"=>"Home\r\nAbout\r\nNews\r\nContact"}, "action"=>"wizard", "authenticity_token"=>"/iImsyF+yZlJECwauBfC1qqo4aZt3B5qa17cRmxZcAQ=", "version"=>"1", "path"=>["wizards", "simple_site"], "controller"=>"structure"}
    • Rails root: /home/Webiva
    • User Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; da; rv:1.9.2.8) Gecko/20100722 Firefox/3.6.8* Process: 7880
    • Server : ubuntu

    [RAILS_ROOT]/vendor/rails/activesupport/lib/active_support/dependencies.rb:105:in const_missing' [RAILS_ROOT]/lib/active_web_service.rb:90 [RAILS_ROOT]/vendor/rails/activesupport/lib/active_support/dependencies.rb:380:inload_without_new_constant_marking' [RAILS_ROOT]/vendor/rails/activesupport/lib/active_support/dependencies.rb:380:in load_file' [RAILS_ROOT]/vendor/rails/activesupport/lib/active_support/dependencies.rb:521:innew_constants_in' [RAILS_ROOT]/vendor/rails/activesupport/lib/active_support/dependencies.rb:379:in load_file' [RAILS_ROOT]/vendor/rails/activesupport/lib/active_support/dependencies.rb:259:inrequire_or_load' [RAILS_ROOT]/vendor/rails/activesupport/lib/active_support/dependencies.rb:425:in load_missing_constant' [RAILS_ROOT]/vendor/rails/activesupport/lib/active_support/dependencies.rb:80:inrails_official_const_missing' [RAILS_ROOT]/lib/webiva_monkey_patches.rb:94:in const_missing' [RAILS_ROOT]/vendor/rails/activesupport/lib/active_support/dependencies.rb:92:inconst_missing' [RAILS_ROOT]/vendor/rails/activesupport/lib/active_support/dependencies.rb:98:in send' [RAILS_ROOT]/vendor/rails/activesupport/lib/active_support/dependencies.rb:98:inconst_missing' [RAILS_ROOT]/lib/dummy_text.rb:48 [RAILS_ROOT]/vendor/rails/activesupport/lib/active_support/dependencies.rb:380:in load_without_new_constant_marking' [RAILS_ROOT]/vendor/rails/activesupport/lib/active_support/dependencies.rb:380:inload_file' [RAILS_ROOT]/vendor/rails/activesupport/lib/active_support/dependencies.rb:521:in new_constants_in' [RAILS_ROOT]/vendor/rails/activesupport/lib/active_support/dependencies.rb:379:inload_file' [RAILS_ROOT]/vendor/rails/activesupport/lib/active_support/dependencies.rb:259:in require_or_load' [RAILS_ROOT]/vendor/rails/activesupport/lib/active_support/dependencies.rb:425:inload_missing_constant' [RAILS_ROOT]/vendor/rails/activesupport/lib/active_support/dependencies.rb:80:in rails_official_const_missing' [RAILS_ROOT]/lib/webiva_monkey_patches.rb:94:inconst_missing' [RAILS_ROOT]/vendor/rails/activesupport/lib/active_support/dependencies.rb:92:in const_missing' [RAILS_ROOT]/vendor/rails/activesupport/lib/active_support/dependencies.rb:437:inload_missing_constant' [RAILS_ROOT]/vendor/rails/activesupport/lib/active_support/dependencies.rb:80:in rails_official_const_missing' [RAILS_ROOT]/lib/webiva_monkey_patches.rb:94:inconst_missing' [RAILS_ROOT]/vendor/rails/activesupport/lib/active_support/dependencies.rb:98:in send' [RAILS_ROOT]/vendor/rails/activesupport/lib/active_support/dependencies.rb:98:inconst_missing' [RAILS_ROOT]/app/models/wizards/simple_site.rb:58:in run_wizard' [RAILS_ROOT]/app/models/page_revision.rb:288:inpush_paragraph' [RAILS_ROOT]/app/models/wizards/simple_site.rb:57:in run_wizard' [RAILS_ROOT]/app/models/site_node.rb:152:inpush_subpage' [RAILS_ROOT]/app/models/wizards/simple_site.rb:54:in run_wizard' [RAILS_ROOT]/app/models/wizards/simple_site.rb:51:ineach' [RAILS_ROOT]/app/models/wizards/simple_site.rb:51:in run_wizard' [RAILS_ROOT]/app/controllers/structure_controller.rb:90:inwizard' [RAILS_ROOT]/vendor/rails/actionpack/lib/action_controller/base.rb:1331:in send' [RAILS_ROOT]/vendor/rails/actionpack/lib/action_controller/base.rb:1331:inperform_action_without_filters' [RAILS_ROOT]/vendor/rails/actionpack/lib/action_controller/filters.rb:617:in call_filters' [RAILS_ROOT]/vendor/rails/actionpack/lib/action_controller/filters.rb:610:inperform_action_without_benchmark' [RAILS_ROOT]/vendor/rails/actionpack/lib/action_controller/benchmarking.rb:68:in perform_action_without_rescue' [RAILS_ROOT]/vendor/rails/activesupport/lib/active_support/core_ext/benchmark.rb:17:inms' /usr/lib/ruby/1.8/benchmark.rb:308:in realtime' [RAILS_ROOT]/vendor/rails/activesupport/lib/active_support/core_ext/benchmark.rb:17:inms' [RAILS_ROOT]/vendor/rails/actionpack/lib/action_controller/benchmarking.rb:68:in perform_action_without_rescue' [RAILS_ROOT]/vendor/rails/actionpack/lib/action_controller/rescue.rb:160:inperform_action_without_flash' [RAILS_ROOT]/vendor/rails/actionpack/lib/action_controller/flash.rb:146:in perform_action' [RAILS_ROOT]/vendor/rails/actionpack/lib/action_controller/base.rb:532:insend' [RAILS_ROOT]/vendor/rails/actionpack/lib/action_controller/base.rb:532:in process_without_filters' [RAILS_ROOT]/vendor/rails/actionpack/lib/action_controller/filters.rb:606:inprocess' [RAILS_ROOT]/vendor/rails/actionpack/lib/action_controller/base.rb:391:in process' [RAILS_ROOT]/vendor/rails/actionpack/lib/action_controller/base.rb:386:incall' [RAILS_ROOT]/vendor/rails/actionpack/lib/action_controller/routing/route_set.rb:437:in call' [RAILS_ROOT]/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:87:indispatch' [RAILS_ROOT]/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:121:in _call' [RAILS_ROOT]/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:130 [RAILS_ROOT]/vendor/rails/activerecord/lib/active_record/query_cache.rb:29:incall' [RAILS_ROOT]/vendor/rails/activerecord/lib/active_record/query_cache.rb:29:in call' [RAILS_ROOT]/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/query_cache.rb:34:incache' [RAILS_ROOT]/vendor/rails/activerecord/lib/active_record/query_cache.rb:9:in cache' [RAILS_ROOT]/vendor/rails/activerecord/lib/active_record/query_cache.rb:28:incall' [RAILS_ROOT]/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb:361:in call' [RAILS_ROOT]/vendor/gems/rack-1.0.0/lib/rack/head.rb:9:incall' [RAILS_ROOT]/vendor/gems/rack-1.0.0/lib/rack/methodoverride.rb:24:in call' [RAILS_ROOT]/vendor/rails/actionpack/lib/action_controller/params_parser.rb:15:incall' [RAILS_ROOT]/vendor/rails/actionpack/lib/action_controller/session/abstract_store.rb:122:in call' [RAILS_ROOT]/vendor/rails/actionpack/lib/action_controller/failsafe.rb:26:incall' [RAILS_ROOT]/vendor/gems/rack-1.0.0/lib/rack/lock.rb:11:in call' [RAILS_ROOT]/vendor/gems/rack-1.0.0/lib/rack/lock.rb:11:insynchronize' [RAILS_ROOT]/vendor/gems/rack-1.0.0/lib/rack/lock.rb:11:in call' [RAILS_ROOT]/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:114:incall' [RAILS_ROOT]/vendor/rails/actionpack/lib/action_controller/reloader.rb:34:in run' [RAILS_ROOT]/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:108:incall' [RAILS_ROOT]/vendor/rails/railties/lib/rails/rack/static.rb:31:in call' [RAILS_ROOT]/vendor/gems/rack-1.0.0/lib/rack/urlmap.rb:46:incall' [RAILS_ROOT]/vendor/gems/rack-1.0.0/lib/rack/urlmap.rb:40:in each' [RAILS_ROOT]/vendor/gems/rack-1.0.0/lib/rack/urlmap.rb:40:incall' [RAILS_ROOT]/vendor/rails/railties/lib/rails/rack/log_tailer.rb:17:in call' [RAILS_ROOT]/vendor/gems/rack-1.0.0/lib/rack/content_length.rb:13:incall' [RAILS_ROOT]/vendor/gems/rack-1.0.0/lib/rack/chunked.rb:15:in call' [RAILS_ROOT]/vendor/gems/rack-1.0.0/lib/rack/handler/mongrel.rb:61:inprocess' /var/lib/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:159:in process_client' /var/lib/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:158:ineach' /var/lib/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:158:in process_client' /var/lib/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:inrun' /var/lib/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in initialize' /var/lib/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:innew' /var/lib/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in run' /var/lib/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:ininitialize' /var/lib/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in new' /var/lib/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:inrun' [RAILS_ROOT]/vendor/gems/rack-1.0.0/lib/rack/handler/mongrel.rb:34:in run' [RAILS_ROOT]/vendor/rails/railties/lib/commands/server.rb:111 /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:ingem_original_require' /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in require' script/server:3

  • atmorell

    atmorell September 2nd, 2010 @ 06:09 AM

    Installing the httparty plugin fixes the problem with the blog wizard. The dump above is from the "Basic Site" Wizard.

  • Pascal Rettig

    Pascal Rettig September 2nd, 2010 @ 07:55 AM

    • State changed from “new” to “resolved”

    Fixed in the latest push to development - dummy_text.rb no longer uses ActiveWebService

  • atmorell

    atmorell September 2nd, 2010 @ 08:43 AM

    Thanks, so how do I get the update?

    git pull origin

    Already up-to-date.

    git log

    Webiva Version 0.99.1
    

    commit a8e2b979598aa7febd0cb02f62ed653a5a7add1f
    Author: Pascal Rettig pascal@cykod.com
    Date: Mon Aug 16 08:46:05 2010 -0400

    Removed Rails-only .blank?
    

    commit f13b50d1b4c64a3a4dc6d572ccf2c4b4bbb58c8e
    Author: Pascal Rettig pascal@cykod.com
    Date: Mon Aug 16 08:40:02 2010 -0400

    Added pages tag to default feature [[#77](/projects/38599/tickets/77 "Ticket #77") state:resolved]
    

    commit 3ca065e6f76c83a3af668a5abea50e5ba1c8c997
    Author: Pascal Rettig pascal@cykod.com
    Date: Mon Aug 16 08:35:36 2010 -0400

    Force ID of built in classes (transaction test issue)
    
  • Pascal Rettig

    Pascal Rettig September 2nd, 2010 @ 08:54 AM

    Any none numbered updates are on the development branch, you'll have to checkout development to track the latest changes,

       git checkout --track -b development origin/development
       git pull origin development
    

    -Pascal

  • atmorell

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Shared Ticket Bins

People watching this ticket

Tags

Pages