[OSM-dev] Crowd Sourced Testing of OSM 0.6 API

Gregory Williams gregory.williams at purplegeodesoftware.co.uk
Thu Dec 11 14:31:00 GMT 2008


Repro steps:

(1) Ensure that you're not logged into the website.
(2) Open http://api06.dev.openstreetmap.org/ in two separate web browser
tabs. Let's call them A and B.
(3) Log in using the site in tab A. Works fine.
(4) Switch to tab B, which still shows the state from before the
successful log in.
(5) Click the Log in link in tab B. Error message reported as below.

Gregory

> -----Original Message-----
> From: dev-bounces at openstreetmap.org [mailto:dev-
> bounces at openstreetmap.org] On Behalf Of Gregory Williams
> Sent: 11 December 2008 14:25
> To: OSM-Dev Openstreetmap
> Subject: Re: [OSM-dev] Crowd Sourced Testing of OSM 0.6 API
> 
> ...and then it happens again!
> 
> I was logged out for a few minutes whilst reporting a separate issue
in
> trac. I then logged back in and get the following error:
> 
> --------
> 
> NoMethodError in User#login
> 
> Showing user/login.rhtml where line #9 raised:
> 
> undefined method `password' for #<User:0xf6a02e44>
> 
> Extracted source (around line #9):
> 
> 6: <br/>
> 7: <table>
> 8:   <tr><td class="fieldName">Email Address or username:</td><td><%=
> text_field('user', 'email',{:size => 50, :maxlength => 255})
> %></td></tr>
> 9:   <tr><td class="fieldName">Password:</td><td><%=
> password_field('user', 'password',{:size => 28, :maxlength => 255}) %>
> <span class="minorNote">(<%= link_to 'Lost your password?',
:controller
> => 'user', :action => 'lost_password' %>)</span></td></tr>
> 10:   <tr><td colspan=2> <!--vertical spacer--></td></tr>
> 11:   <tr><td></td><td align="right"><%= submit_tag 'Login'
> %></td></tr>
> 12: </table>
> 
> RAILS_ROOT: /home/edgemaster/apis/api06
> Application Trace | Framework Trace | Full Trace
> 
> /usr/lib/ruby/gems/1.8/gems/activerecord-
> 2.1.2/lib/active_record/attribu
> te_methods.rb:256:in `method_missing'
> /usr/lib/ruby/gems/1.8/gems/actionpack-
> 2.1.2/lib/action_view/helpers/for
> m_helper.rb:628:in `send'
> /usr/lib/ruby/gems/1.8/gems/actionpack-
> 2.1.2/lib/action_view/helpers/for
> m_helper.rb:628:in `value_before_type_cast'
> /usr/lib/ruby/gems/1.8/gems/actionpack-
> 2.1.2/lib/action_view/helpers/for
> m_helper.rb:616:in `value_before_type_cast'
> /usr/lib/ruby/gems/1.8/gems/actionpack-
> 2.1.2/lib/action_view/helpers/for
> m_helper.rb:535:in `to_input_field_tag'
> /usr/lib/ruby/gems/1.8/gems/actionpack-
> 2.1.2/lib/action_view/helpers/for
> m_helper.rb:380:in `password_field'
> /home/edgemaster/apis/api06/app/views/user/login.rhtml:9:in
> `_run_erb_47app47views47user47login46rhtml'
> /home/edgemaster/apis/api06/app/views/user/login.rhtml:4:in
> `_run_erb_47app47views47user47login46rhtml'
> 
> /usr/lib/ruby/gems/1.8/gems/activerecord-
> 2.1.2/lib/active_record/attribu
> te_methods.rb:256:in `method_missing'
> /usr/lib/ruby/gems/1.8/gems/actionpack-
> 2.1.2/lib/action_view/helpers/for
> m_helper.rb:628:in `send'
> /usr/lib/ruby/gems/1.8/gems/actionpack-
> 2.1.2/lib/action_view/helpers/for
> m_helper.rb:628:in `value_before_type_cast'
> /usr/lib/ruby/gems/1.8/gems/actionpack-
> 2.1.2/lib/action_view/helpers/for
> m_helper.rb:616:in `value_before_type_cast'
> /usr/lib/ruby/gems/1.8/gems/actionpack-
> 2.1.2/lib/action_view/helpers/for
> m_helper.rb:535:in `to_input_field_tag'
> /usr/lib/ruby/gems/1.8/gems/actionpack-
> 2.1.2/lib/action_view/helpers/for
> m_helper.rb:380:in `password_field'
> /usr/lib/ruby/gems/1.8/gems/actionpack-
> 2.1.2/lib/action_view/helpers/cap
> ture_helper.rb:141:in `call'
> /usr/lib/ruby/gems/1.8/gems/actionpack-
> 2.1.2/lib/action_view/helpers/cap
> ture_helper.rb:141:in `capture_erb_with_buffer'
> /usr/lib/ruby/gems/1.8/gems/actionpack-
> 2.1.2/lib/action_view/helpers/cap
> ture_helper.rb:44:in `capture'
> /usr/lib/ruby/gems/1.8/gems/actionpack-
> 2.1.2/lib/action_view/helpers/for
> m_tag_helper.rb:443:in `form_tag_in_block'
> /usr/lib/ruby/gems/1.8/gems/actionpack-
> 2.1.2/lib/action_view/helpers/for
> m_tag_helper.rb:39:in `form_tag'
> /usr/lib/ruby/gems/1.8/gems/actionpack-
> 2.1.2/lib/action_view/base.rb:342
> :in `send'
> /usr/lib/ruby/gems/1.8/gems/actionpack-
> 2.1.2/lib/action_view/base.rb:342
> :in `execute'
> /usr/lib/ruby/gems/1.8/gems/actionpack-
> 2.1.2/lib/action_view/template_ha
> ndlers/compilable.rb:29:in `send'
> /usr/lib/ruby/gems/1.8/gems/actionpack-
> 2.1.2/lib/action_view/template_ha
> ndlers/compilable.rb:29:in `render'
> /usr/lib/ruby/gems/1.8/gems/actionpack-
> 2.1.2/lib/action_view/template.rb
> :35:in `render'
> /usr/lib/ruby/gems/1.8/gems/actionpack-
> 2.1.2/lib/action_view/template.rb
> :22:in `render_template'
> /usr/lib/ruby/gems/1.8/gems/actionpack-
> 2.1.2/lib/action_view/base.rb:248
> :in `render_file'
> /usr/lib/ruby/gems/1.8/gems/actionpack-
> 2.1.2/lib/action_controller/base.
> rb:1112:in `render_for_file'
> /usr/lib/ruby/gems/1.8/gems/actionpack-
> 2.1.2/lib/action_controller/base.
> rb:845:in `render_with_no_layout'
> /usr/lib/ruby/gems/1.8/gems/actionpack-
> 2.1.2/lib/action_controller/layou
> t.rb:251:in `render_without_benchmark'
> /usr/lib/ruby/gems/1.8/gems/actionpack-
> 2.1.2/lib/action_controller/bench
> marking.rb:51:in `render'
> /usr/lib/ruby/gems/1.8/gems/activesupport-
> 2.1.2/lib/active_support/core_
> ext/benchmark.rb:8:in `realtime'
> /usr/lib/ruby/gems/1.8/gems/actionpack-
> 2.1.2/lib/action_controller/bench
> marking.rb:51:in `render'
> /usr/lib/ruby/gems/1.8/gems/actionpack-
> 2.1.2/lib/action_controller/base.
> rb:1161:in `default_render'
> /usr/lib/ruby/gems/1.8/gems/actionpack-
> 2.1.2/lib/action_controller/base.
> rb:1167:in `perform_action_without_filters'
> /usr/lib/ruby/gems/1.8/gems/actionpack-
> 2.1.2/lib/action_controller/filte
> rs.rb:579:in `call_filters'
> /usr/lib/ruby/gems/1.8/gems/actionpack-
> 2.1.2/lib/action_controller/filte
> rs.rb:572:in `perform_action_without_benchmark'
> /usr/lib/ruby/gems/1.8/gems/actionpack-
> 2.1.2/lib/action_controller/bench
> marking.rb:68:in `perform_action_without_rescue'
> /usr/lib/ruby/1.8/benchmark.rb:293:in `measure'
> /usr/lib/ruby/gems/1.8/gems/actionpack-
> 2.1.2/lib/action_controller/bench
> marking.rb:68:in `perform_action_without_rescue'
> /usr/lib/ruby/gems/1.8/gems/actionpack-
> 2.1.2/lib/action_controller/rescu
> e.rb:201:in `perform_action_without_caching'
> /usr/lib/ruby/gems/1.8/gems/actionpack-
> 2.1.2/lib/action_controller/cachi
> ng/sql_cache.rb:13:in `passenger_orig_perform_action'
> /usr/lib/ruby/gems/1.8/gems/activerecord-
> 2.1.2/lib/active_record/connect
> ion_adapters/abstract/query_cache.rb:33:in `cache'
> /usr/lib/ruby/gems/1.8/gems/activerecord-
> 2.1.2/lib/active_record/query_c
> ache.rb:8:in `cache'
> /usr/lib/ruby/gems/1.8/gems/actionpack-
> 2.1.2/lib/action_controller/cachi
> ng/sql_cache.rb:12:in `passenger_orig_perform_action'
> /usr/lib/ruby/gems/1.8/gems/passenger-
> 2.0.5/lib/passenger/railz/request_
> handler.rb:53:in `perform_action'
> /usr/lib/ruby/gems/1.8/gems/actionpack-
> 2.1.2/lib/action_controller/base.
> rb:529:in `send'
> /usr/lib/ruby/gems/1.8/gems/actionpack-
> 2.1.2/lib/action_controller/base.
> rb:529:in `process_without_filters'
> /usr/lib/ruby/gems/1.8/gems/actionpack-
> 2.1.2/lib/action_controller/filte
> rs.rb:568:in `process_without_session_management_support'
> /usr/lib/ruby/gems/1.8/gems/actionpack-
> 2.1.2/lib/action_controller/sessi
> on_management.rb:130:in `process'
> /usr/lib/ruby/gems/1.8/gems/actionpack-
> 2.1.2/lib/action_controller/base.
> rb:389:in `process'
> /usr/lib/ruby/gems/1.8/gems/actionpack-
> 2.1.2/lib/action_controller/dispa
> tcher.rb:149:in `handle_request'
> /usr/lib/ruby/gems/1.8/gems/actionpack-
> 2.1.2/lib/action_controller/dispa
> tcher.rb:107:in `dispatch'
> /usr/lib/ruby/gems/1.8/gems/actionpack-
> 2.1.2/lib/action_controller/dispa
> tcher.rb:104:in `synchronize'
> /usr/lib/ruby/gems/1.8/gems/actionpack-
> 2.1.2/lib/action_controller/dispa
> tcher.rb:104:in `dispatch'
> /usr/lib/ruby/gems/1.8/gems/actionpack-
> 2.1.2/lib/action_controller/dispa
> tcher.rb:120:in `dispatch_cgi'
> /usr/lib/ruby/gems/1.8/gems/actionpack-
> 2.1.2/lib/action_controller/dispa
> tcher.rb:35:in `dispatch'
> /usr/lib/ruby/gems/1.8/gems/passenger-
> 2.0.5/lib/passenger/railz/request_
> handler.rb:38:in `process_request'
> /usr/lib/ruby/gems/1.8/gems/passenger-
> 2.0.5/lib/passenger/abstract_reque
> st_handler.rb:165:in `main_loop'
> /usr/lib/ruby/gems/1.8/gems/passenger-
> 2.0.5/lib/passenger/railz/applicat
> ion_spawner.rb:321:in `start_request_handler'
> /usr/lib/ruby/gems/1.8/gems/passenger-
> 2.0.5/lib/passenger/railz/applicat
> ion_spawner.rb:282:in `handle_spawn_application'
> /usr/lib/ruby/gems/1.8/gems/passenger-
> 2.0.5/lib/passenger/utils.rb:163:i
> n `safe_fork'
> /usr/lib/ruby/gems/1.8/gems/passenger-
> 2.0.5/lib/passenger/utils.rb:161:i
> n `fork'
> /usr/lib/ruby/gems/1.8/gems/passenger-
> 2.0.5/lib/passenger/utils.rb:161:i
> n `safe_fork'
> /usr/lib/ruby/gems/1.8/gems/passenger-
> 2.0.5/lib/passenger/railz/applicat
> ion_spawner.rb:280:in `handle_spawn_application'
> /usr/lib/ruby/gems/1.8/gems/passenger-
> 2.0.5/lib/passenger/utils.rb:163:i
> n `safe_fork'
> /usr/lib/ruby/gems/1.8/gems/passenger-
> 2.0.5/lib/passenger/utils.rb:161:i
> n `fork'
> /usr/lib/ruby/gems/1.8/gems/passenger-
> 2.0.5/lib/passenger/utils.rb:161:i
> n `safe_fork'
> /usr/lib/ruby/gems/1.8/gems/passenger-
> 2.0.5/lib/passenger/railz/applicat
> ion_spawner.rb:279:in `handle_spawn_application'
> /usr/lib/ruby/gems/1.8/gems/passenger-
> 2.0.5/lib/passenger/abstract_serve
> r.rb:317:in `__send__'
> /usr/lib/ruby/gems/1.8/gems/passenger-
> 2.0.5/lib/passenger/abstract_serve
> r.rb:317:in `main_loop'
> /usr/lib/ruby/gems/1.8/gems/passenger-
> 2.0.5/lib/passenger/abstract_serve
> r.rb:168:in `start_synchronously'
> /usr/lib/ruby/gems/1.8/gems/passenger-
> 2.0.5/lib/passenger/abstract_serve
> r.rb:135:in `start'
> /usr/lib/ruby/gems/1.8/gems/passenger-
> 2.0.5/lib/passenger/abstract_serve
> r.rb:112:in `fork'
> /usr/lib/ruby/gems/1.8/gems/passenger-
> 2.0.5/lib/passenger/abstract_serve
> r.rb:112:in `start'
> /usr/lib/ruby/gems/1.8/gems/passenger-
> 2.0.5/lib/passenger/railz/applicat
> ion_spawner.rb:179:in `start'
> /usr/lib/ruby/gems/1.8/gems/passenger-
> 2.0.5/lib/passenger/railz/framewor
> k_spawner.rb:270:in `handle_spawn_application'
> /usr/lib/ruby/gems/1.8/gems/passenger-
> 2.0.5/lib/passenger/railz/framewor
> k_spawner.rb:263:in `synchronize'
> /usr/lib/ruby/gems/1.8/gems/passenger-
> 2.0.5/lib/passenger/railz/framewor
> k_spawner.rb:263:in `handle_spawn_application'
> /usr/lib/ruby/gems/1.8/gems/passenger-
> 2.0.5/lib/passenger/abstract_serve
> r.rb:317:in `__send__'
> /usr/lib/ruby/gems/1.8/gems/passenger-
> 2.0.5/lib/passenger/abstract_serve
> r.rb:317:in `main_loop'
> /usr/lib/ruby/gems/1.8/gems/passenger-
> 2.0.5/lib/passenger/abstract_serve
> r.rb:168:in `start_synchronously'
> /usr/lib/ruby/gems/1.8/gems/passenger-
> 2.0.5/lib/passenger/abstract_serve
> r.rb:135:in `start'
> /usr/lib/ruby/gems/1.8/gems/passenger-
> 2.0.5/lib/passenger/abstract_serve
> r.rb:112:in `fork'
> /usr/lib/ruby/gems/1.8/gems/passenger-
> 2.0.5/lib/passenger/abstract_serve
> r.rb:112:in `start'
> /usr/lib/ruby/gems/1.8/gems/passenger-
> 2.0.5/lib/passenger/railz/framewor
> k_spawner.rb:87:in `start'
> /usr/lib/ruby/gems/1.8/gems/passenger-
> 2.0.5/lib/passenger/spawn_manager.
> rb:218:in `spawn_rails_application'
> /usr/lib/ruby/gems/1.8/gems/passenger-
> 2.0.5/lib/passenger/spawn_manager.
> rb:213:in `synchronize'
> /usr/lib/ruby/gems/1.8/gems/passenger-
> 2.0.5/lib/passenger/spawn_manager.
> rb:213:in `spawn_rails_application'
> /usr/lib/ruby/gems/1.8/gems/passenger-
> 2.0.5/lib/passenger/spawn_manager.
> rb:122:in `spawn_application'
> /usr/lib/ruby/gems/1.8/gems/passenger-
> 2.0.5/lib/passenger/spawn_manager.
> rb:247:in `handle_spawn_application'
> /usr/lib/ruby/gems/1.8/gems/passenger-
> 2.0.5/lib/passenger/abstract_serve
> r.rb:317:in `__send__'
> /usr/lib/ruby/gems/1.8/gems/passenger-
> 2.0.5/lib/passenger/abstract_serve
> r.rb:317:in `main_loop'
> /usr/lib/ruby/gems/1.8/gems/passenger-
> 2.0.5/lib/passenger/abstract_serve
> r.rb:168:in `start_synchronously'
> /usr/lib/ruby/gems/1.8/gems/passenger-2.0.5/bin/passenger-spawn-
> server:4
> 6
> 
> /usr/lib/ruby/gems/1.8/gems/activerecord-
> 2.1.2/lib/active_record/attribu
> te_methods.rb:256:in `method_missing'
> /usr/lib/ruby/gems/1.8/gems/actionpack-
> 2.1.2/lib/action_view/helpers/for
> m_helper.rb:628:in `send'
> /usr/lib/ruby/gems/1.8/gems/actionpack-
> 2.1.2/lib/action_view/helpers/for
> m_helper.rb:628:in `value_before_type_cast'
> /usr/lib/ruby/gems/1.8/gems/actionpack-
> 2.1.2/lib/action_view/helpers/for
> m_helper.rb:616:in `value_before_type_cast'
> /usr/lib/ruby/gems/1.8/gems/actionpack-
> 2.1.2/lib/action_view/helpers/for
> m_helper.rb:535:in `to_input_field_tag'
> /usr/lib/ruby/gems/1.8/gems/actionpack-
> 2.1.2/lib/action_view/helpers/for
> m_helper.rb:380:in `password_field'
> /home/edgemaster/apis/api06/app/views/user/login.rhtml:9:in
> `_run_erb_47app47views47user47login46rhtml'
> /usr/lib/ruby/gems/1.8/gems/actionpack-
> 2.1.2/lib/action_view/helpers/cap
> ture_helper.rb:141:in `call'
> /usr/lib/ruby/gems/1.8/gems/actionpack-
> 2.1.2/lib/action_view/helpers/cap
> ture_helper.rb:141:in `capture_erb_with_buffer'
> /usr/lib/ruby/gems/1.8/gems/actionpack-
> 2.1.2/lib/action_view/helpers/cap
> ture_helper.rb:44:in `capture'
> /usr/lib/ruby/gems/1.8/gems/actionpack-
> 2.1.2/lib/action_view/helpers/for
> m_tag_helper.rb:443:in `form_tag_in_block'
> /usr/lib/ruby/gems/1.8/gems/actionpack-
> 2.1.2/lib/action_view/helpers/for
> m_tag_helper.rb:39:in `form_tag'
> /home/edgemaster/apis/api06/app/views/user/login.rhtml:4:in
> `_run_erb_47app47views47user47login46rhtml'
> /usr/lib/ruby/gems/1.8/gems/actionpack-
> 2.1.2/lib/action_view/base.rb:342
> :in `send'
> /usr/lib/ruby/gems/1.8/gems/actionpack-
> 2.1.2/lib/action_view/base.rb:342
> :in `execute'
> /usr/lib/ruby/gems/1.8/gems/actionpack-
> 2.1.2/lib/action_view/template_ha
> ndlers/compilable.rb:29:in `send'
> /usr/lib/ruby/gems/1.8/gems/actionpack-
> 2.1.2/lib/action_view/template_ha
> ndlers/compilable.rb:29:in `render'
> /usr/lib/ruby/gems/1.8/gems/actionpack-
> 2.1.2/lib/action_view/template.rb
> :35:in `render'
> /usr/lib/ruby/gems/1.8/gems/actionpack-
> 2.1.2/lib/action_view/template.rb
> :22:in `render_template'
> /usr/lib/ruby/gems/1.8/gems/actionpack-
> 2.1.2/lib/action_view/base.rb:248
> :in `render_file'
> /usr/lib/ruby/gems/1.8/gems/actionpack-
> 2.1.2/lib/action_controller/base.
> rb:1112:in `render_for_file'
> /usr/lib/ruby/gems/1.8/gems/actionpack-
> 2.1.2/lib/action_controller/base.
> rb:845:in `render_with_no_layout'
> /usr/lib/ruby/gems/1.8/gems/actionpack-
> 2.1.2/lib/action_controller/layou
> t.rb:251:in `render_without_benchmark'
> /usr/lib/ruby/gems/1.8/gems/actionpack-
> 2.1.2/lib/action_controller/bench
> marking.rb:51:in `render'
> /usr/lib/ruby/gems/1.8/gems/activesupport-
> 2.1.2/lib/active_support/core_
> ext/benchmark.rb:8:in `realtime'
> /usr/lib/ruby/gems/1.8/gems/actionpack-
> 2.1.2/lib/action_controller/bench
> marking.rb:51:in `render'
> /usr/lib/ruby/gems/1.8/gems/actionpack-
> 2.1.2/lib/action_controller/base.
> rb:1161:in `default_render'
> /usr/lib/ruby/gems/1.8/gems/actionpack-
> 2.1.2/lib/action_controller/base.
> rb:1167:in `perform_action_without_filters'
> /usr/lib/ruby/gems/1.8/gems/actionpack-
> 2.1.2/lib/action_controller/filte
> rs.rb:579:in `call_filters'
> /usr/lib/ruby/gems/1.8/gems/actionpack-
> 2.1.2/lib/action_controller/filte
> rs.rb:572:in `perform_action_without_benchmark'
> /usr/lib/ruby/gems/1.8/gems/actionpack-
> 2.1.2/lib/action_controller/bench
> marking.rb:68:in `perform_action_without_rescue'
> /usr/lib/ruby/1.8/benchmark.rb:293:in `measure'
> /usr/lib/ruby/gems/1.8/gems/actionpack-
> 2.1.2/lib/action_controller/bench
> marking.rb:68:in `perform_action_without_rescue'
> /usr/lib/ruby/gems/1.8/gems/actionpack-
> 2.1.2/lib/action_controller/rescu
> e.rb:201:in `perform_action_without_caching'
> /usr/lib/ruby/gems/1.8/gems/actionpack-
> 2.1.2/lib/action_controller/cachi
> ng/sql_cache.rb:13:in `passenger_orig_perform_action'
> /usr/lib/ruby/gems/1.8/gems/activerecord-
> 2.1.2/lib/active_record/connect
> ion_adapters/abstract/query_cache.rb:33:in `cache'
> /usr/lib/ruby/gems/1.8/gems/activerecord-
> 2.1.2/lib/active_record/query_c
> ache.rb:8:in `cache'
> /usr/lib/ruby/gems/1.8/gems/actionpack-
> 2.1.2/lib/action_controller/cachi
> ng/sql_cache.rb:12:in `passenger_orig_perform_action'
> /usr/lib/ruby/gems/1.8/gems/passenger-
> 2.0.5/lib/passenger/railz/request_
> handler.rb:53:in `perform_action'
> /usr/lib/ruby/gems/1.8/gems/actionpack-
> 2.1.2/lib/action_controller/base.
> rb:529:in `send'
> /usr/lib/ruby/gems/1.8/gems/actionpack-
> 2.1.2/lib/action_controller/base.
> rb:529:in `process_without_filters'
> /usr/lib/ruby/gems/1.8/gems/actionpack-
> 2.1.2/lib/action_controller/filte
> rs.rb:568:in `process_without_session_management_support'
> /usr/lib/ruby/gems/1.8/gems/actionpack-
> 2.1.2/lib/action_controller/sessi
> on_management.rb:130:in `process'
> /usr/lib/ruby/gems/1.8/gems/actionpack-
> 2.1.2/lib/action_controller/base.
> rb:389:in `process'
> /usr/lib/ruby/gems/1.8/gems/actionpack-
> 2.1.2/lib/action_controller/dispa
> tcher.rb:149:in `handle_request'
> /usr/lib/ruby/gems/1.8/gems/actionpack-
> 2.1.2/lib/action_controller/dispa
> tcher.rb:107:in `dispatch'
> /usr/lib/ruby/gems/1.8/gems/actionpack-
> 2.1.2/lib/action_controller/dispa
> tcher.rb:104:in `synchronize'
> /usr/lib/ruby/gems/1.8/gems/actionpack-
> 2.1.2/lib/action_controller/dispa
> tcher.rb:104:in `dispatch'
> /usr/lib/ruby/gems/1.8/gems/actionpack-
> 2.1.2/lib/action_controller/dispa
> tcher.rb:120:in `dispatch_cgi'
> /usr/lib/ruby/gems/1.8/gems/actionpack-
> 2.1.2/lib/action_controller/dispa
> tcher.rb:35:in `dispatch'
> /usr/lib/ruby/gems/1.8/gems/passenger-
> 2.0.5/lib/passenger/railz/request_
> handler.rb:38:in `process_request'
> /usr/lib/ruby/gems/1.8/gems/passenger-
> 2.0.5/lib/passenger/abstract_reque
> st_handler.rb:165:in `main_loop'
> /usr/lib/ruby/gems/1.8/gems/passenger-
> 2.0.5/lib/passenger/railz/applicat
> ion_spawner.rb:321:in `start_request_handler'
> /usr/lib/ruby/gems/1.8/gems/passenger-
> 2.0.5/lib/passenger/railz/applicat
> ion_spawner.rb:282:in `handle_spawn_application'
> /usr/lib/ruby/gems/1.8/gems/passenger-
> 2.0.5/lib/passenger/utils.rb:163:i
> n `safe_fork'
> /usr/lib/ruby/gems/1.8/gems/passenger-
> 2.0.5/lib/passenger/utils.rb:161:i
> n `fork'
> /usr/lib/ruby/gems/1.8/gems/passenger-
> 2.0.5/lib/passenger/utils.rb:161:i
> n `safe_fork'
> /usr/lib/ruby/gems/1.8/gems/passenger-
> 2.0.5/lib/passenger/railz/applicat
> ion_spawner.rb:280:in `handle_spawn_application'
> /usr/lib/ruby/gems/1.8/gems/passenger-
> 2.0.5/lib/passenger/utils.rb:163:i
> n `safe_fork'
> /usr/lib/ruby/gems/1.8/gems/passenger-
> 2.0.5/lib/passenger/utils.rb:161:i
> n `fork'
> /usr/lib/ruby/gems/1.8/gems/passenger-
> 2.0.5/lib/passenger/utils.rb:161:i
> n `safe_fork'
> /usr/lib/ruby/gems/1.8/gems/passenger-
> 2.0.5/lib/passenger/railz/applicat
> ion_spawner.rb:279:in `handle_spawn_application'
> /usr/lib/ruby/gems/1.8/gems/passenger-
> 2.0.5/lib/passenger/abstract_serve
> r.rb:317:in `__send__'
> /usr/lib/ruby/gems/1.8/gems/passenger-
> 2.0.5/lib/passenger/abstract_serve
> r.rb:317:in `main_loop'
> /usr/lib/ruby/gems/1.8/gems/passenger-
> 2.0.5/lib/passenger/abstract_serve
> r.rb:168:in `start_synchronously'
> /usr/lib/ruby/gems/1.8/gems/passenger-
> 2.0.5/lib/passenger/abstract_serve
> r.rb:135:in `start'
> /usr/lib/ruby/gems/1.8/gems/passenger-
> 2.0.5/lib/passenger/abstract_serve
> r.rb:112:in `fork'
> /usr/lib/ruby/gems/1.8/gems/passenger-
> 2.0.5/lib/passenger/abstract_serve
> r.rb:112:in `start'
> /usr/lib/ruby/gems/1.8/gems/passenger-
> 2.0.5/lib/passenger/railz/applicat
> ion_spawner.rb:179:in `start'
> /usr/lib/ruby/gems/1.8/gems/passenger-
> 2.0.5/lib/passenger/railz/framewor
> k_spawner.rb:270:in `handle_spawn_application'
> /usr/lib/ruby/gems/1.8/gems/passenger-
> 2.0.5/lib/passenger/railz/framewor
> k_spawner.rb:263:in `synchronize'
> /usr/lib/ruby/gems/1.8/gems/passenger-
> 2.0.5/lib/passenger/railz/framewor
> k_spawner.rb:263:in `handle_spawn_application'
> /usr/lib/ruby/gems/1.8/gems/passenger-
> 2.0.5/lib/passenger/abstract_serve
> r.rb:317:in `__send__'
> /usr/lib/ruby/gems/1.8/gems/passenger-
> 2.0.5/lib/passenger/abstract_serve
> r.rb:317:in `main_loop'
> /usr/lib/ruby/gems/1.8/gems/passenger-
> 2.0.5/lib/passenger/abstract_serve
> r.rb:168:in `start_synchronously'
> /usr/lib/ruby/gems/1.8/gems/passenger-
> 2.0.5/lib/passenger/abstract_serve
> r.rb:135:in `start'
> /usr/lib/ruby/gems/1.8/gems/passenger-
> 2.0.5/lib/passenger/abstract_serve
> r.rb:112:in `fork'
> /usr/lib/ruby/gems/1.8/gems/passenger-
> 2.0.5/lib/passenger/abstract_serve
> r.rb:112:in `start'
> /usr/lib/ruby/gems/1.8/gems/passenger-
> 2.0.5/lib/passenger/railz/framewor
> k_spawner.rb:87:in `start'
> /usr/lib/ruby/gems/1.8/gems/passenger-
> 2.0.5/lib/passenger/spawn_manager.
> rb:218:in `spawn_rails_application'
> /usr/lib/ruby/gems/1.8/gems/passenger-
> 2.0.5/lib/passenger/spawn_manager.
> rb:213:in `synchronize'
> /usr/lib/ruby/gems/1.8/gems/passenger-
> 2.0.5/lib/passenger/spawn_manager.
> rb:213:in `spawn_rails_application'
> /usr/lib/ruby/gems/1.8/gems/passenger-
> 2.0.5/lib/passenger/spawn_manager.
> rb:122:in `spawn_application'
> /usr/lib/ruby/gems/1.8/gems/passenger-
> 2.0.5/lib/passenger/spawn_manager.
> rb:247:in `handle_spawn_application'
> /usr/lib/ruby/gems/1.8/gems/passenger-
> 2.0.5/lib/passenger/abstract_serve
> r.rb:317:in `__send__'
> /usr/lib/ruby/gems/1.8/gems/passenger-
> 2.0.5/lib/passenger/abstract_serve
> r.rb:317:in `main_loop'
> /usr/lib/ruby/gems/1.8/gems/passenger-
> 2.0.5/lib/passenger/abstract_serve
> r.rb:168:in `start_synchronously'
> /usr/lib/ruby/gems/1.8/gems/passenger-2.0.5/bin/passenger-spawn-
> server:4
> 6
> 
> Request
> 
> Parameters:
> 
> {"referer"=>"/login?referer=%2Fuser%2FGregory%2520Williams%2Faccount"}
> 
> Show session dump
> 
> ---
> :location:
>   :minlat: "49.9061889648438"
>   :maxlat: "60.8458099365234"
>   :minlon: "-8.62355613708496"
>   :maxlon: "1.75900018215179"
> :user: 4
> flash: !map:ActionController::Flash::FlashHash {}
> 
> 
> Response
> 
> Headers:
> 
> {"X-Powered-By"=>"Phusion Passenger (mod_rails/mod_rack) 2.0.5",
>  "cookie"=>[],
>  "Cache-Control"=>"no-cache"}
> 
> > -----Original Message-----
> > From: dev-bounces at openstreetmap.org [mailto:dev-
> > bounces at openstreetmap.org] On Behalf Of Gregory Williams
> > Sent: 11 December 2008 14:19
> > To: OSM-Dev Openstreetmap
> > Subject: Re: [OSM-dev] Crowd Sourced Testing of OSM 0.6 API
> >
> > I saw the same error a little earlier after:
> > (1) I registered.
> > (2) Confirmed registration.
> > (3) Machine crashed (due to something completely unrelated).
> > (4) Firefox offered to restore tabs. Error was in one of them.
> > Different
> > user, but otherwise the same.
> >
> >
> > I've not been able to repro the error again either though. So, full
> > trace here either. Sorry.
> >
> > Gregory
> >
> > > -----Original Message-----
> > > From: dev-bounces at openstreetmap.org [mailto:dev-
> > > bounces at openstreetmap.org] On Behalf Of Shaun McDonald
> > > Sent: 11 December 2008 13:58
> > > To: Robert Vollmert
> > > Cc: OSM-Dev Openstreetmap; merkaartor at openstreetmap.org
> > > Subject: Re: [OSM-dev] Crowd Sourced Testing of OSM 0.6 API
> > >
> > >
> > > On 11 Dec 2008, at 12:56, Robert Vollmert wrote:
> > >
> > > > On Dec 11, 2008, at 12:22, Shaun McDonald wrote:
> > > >> As the 0.6 XML API is now feature complete, I'd like to start a
> > push
> > > >> for getting it tested, to iron on the final bugs prior to going
> > > live.
> > > >>
> > > >> Can you all please take a look at the following page to find
out
> > > more
> > > >> about testing the 0.6 API:
> > > >>
> > >
> http://wiki.openstreetmap.org/wiki/OSM_Protocol_Version_0.6/Crowd_sou
> > > >> rced_Testing
> > > >
> > > > I created an account on api06.dev...., but I can't login:
> > > >
> > > > NoMethodError in User#login
> > > > Showing user/login.rhtml where line #9 raised:
> > > >
> > > > undefined method `password' for #<User:0xf66d38b8> There's a
> bunch
> > > > more info following. Is there something wrong on my side?
> > > >
> > >
> > > Strange, I can't reproduce the problem here. Have you clicked the
> > link
> > > in the e-mail you were sent.
> > >
> > > The bunch more info, is what tells us where to look in the code to
> > find
> > > the error. So can you please send it too?
> > >
> > > Shaun
> >
> >
> > _______________________________________________
> > dev mailing list
> > dev at openstreetmap.org
> > http://lists.openstreetmap.org/listinfo/dev
> 
> 
> _______________________________________________
> dev mailing list
> dev at openstreetmap.org
> http://lists.openstreetmap.org/listinfo/dev





More information about the dev mailing list