Opened 11 years ago

Closed 11 years ago

#887 closed defect (duplicate)

Blank search returns errors

Reported by: Thomas Wood Owned by: Tom Hughes
Priority: major Milestone:
Component: website Version:
Keywords: Cc:

Description

Blank search on the website returns:

Error contacting gazetteer.openstreetmap.org: # /usr/lib/ruby/1.8/rexml/document.rb:93:in `<<' /usr/lib/ruby/1.8/rexml/element.rb:916:in `add' /usr/lib/ruby/1.8/rexml/child.rb:21:in `initialize' /usr/lib/ruby/1.8/rexml/parent.rb:13:in `initialize' /usr/lib/ruby/1.8/rexml/element.rb:59:in `initialize' /usr/lib/ruby/1.8/rexml/element.rb:914:in `new' /usr/lib/ruby/1.8/rexml/element.rb:914:in `add' /usr/lib/ruby/1.8/rexml/element.rb:297:in `add_element' /usr/lib/ruby/1.8/rexml/document.rb:100:in `add_element' /usr/lib/ruby/1.8/rexml/parsers/treeparser.rb:32:in `parse' /usr/lib/ruby/1.8/rexml/document.rb:190:in `build' /usr/lib/ruby/1.8/rexml/document.rb:45:in `initialize' /var/www/rails/app/controllers/geocoder_controller.rb:263:in `new' /var/www/rails/app/controllers/geocoder_controller.rb:263:in `fetch_xml' /var/www/rails/app/controllers/geocoder_controller.rb:121:in `search_osm_namefinder' /var/www/rails/app/controllers/geocoder_controller.rb:21:in `search' /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.1/lib/action_controller/base.rb:1168:in `send' /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.1/lib/action_controller/base.rb:1168:in `perform_action_without_filters' /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.1/lib/action_controller/filters.rb:697:in `call_filters' /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.1/lib/action_controller/filters.rb:689:in `perform_action_without_benchmark' /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.1/lib/action_controller/benchmarking.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.0.1/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue' /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.1/lib/action_controller/rescue.rb:199:in `perform_action_without_caching' /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.1/lib/action_controller/caching.rb:678:in `perform_action' /usr/lib/ruby/gems/1.8/gems/activerecord-2.0.1/lib/active_record/connection_adapters/abstract/query_cache.rb:33:in `cache' /usr/lib/ruby/gems/1.8/gems/activerecord-2.0.1/lib/active_record/query_cache.rb:8:in `cache' /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.1/lib/action_controller/caching.rb:677:in `perform_action' /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.1/lib/action_controller/base.rb:524:in `send' /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.1/lib/action_controller/base.rb:524:in `process_without_filters' /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.1/lib/action_controller/filters.rb:685:in `process_without_session_management_support' /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.1/lib/action_controller/session_management.rb:123:in `process' /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.1/lib/action_controller/base.rb:388:in `process' /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.1/lib/action_controller/dispatcher.rb:171:in `handle_request' /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.1/lib/action_controller/dispatcher.rb:115:in `dispatch' /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.1/lib/action_controller/dispatcher.rb:126:in `dispatch_cgi' /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.1/lib/action_controller/dispatcher.rb:9:in `dispatch' /usr/lib/ruby/gems/1.8/gems/rails-2.0.1/lib/fcgi_handler.rb:101:in `process_request' /usr/lib/ruby/gems/1.8/gems/rails-2.0.1/lib/fcgi_handler.rb:149:in `with_signal_handler' /usr/lib/ruby/gems/1.8/gems/rails-2.0.1/lib/fcgi_handler.rb:99:in `process_request' /usr/lib/ruby/gems/1.8/gems/rails-2.0.1/lib/fcgi_handler.rb:77:in `process_each_request' /usr/lib/ruby/gems/1.8/gems/fcgi-0.8.7/lib/fcgi.rb:612:in `each_cgi' /usr/lib/ruby/gems/1.8/gems/fcgi-0.8.7/lib/fcgi.rb:609:in `each' /usr/lib/ruby/gems/1.8/gems/fcgi-0.8.7/lib/fcgi.rb:609:in `each_cgi' /usr/lib/ruby/gems/1.8/gems/rails-2.0.1/lib/fcgi_handler.rb:76:in `process_each_request' /usr/lib/ruby/gems/1.8/gems/rails-2.0.1/lib/fcgi_handler.rb:50:in `process!' /usr/lib/ruby/gems/1.8/gems/rails-2.0.1/lib/fcgi_handler.rb:24:in `process!' /var/www/rails/public/dispatch.fcgi:24 ... attempted adding second root element to document Line: Position: Last 80 unconsumed characters: Internal error, sorry.

Apologies if this is a known bug, I seem to recall it is but can't find it.

Change History (2)

comment:1 Changed 11 years ago by Thomas Wood

Oops, trac mashed that up a bit, try again: Error contacting gazetteer.openstreetmap.org: # /usr/lib/ruby/1.8/rexml/document.rb:93:in <<' /usr/lib/ruby/1.8/rexml/element.rb:916:in add' /usr/lib/ruby/1.8/rexml/child.rb:21:in initialize' /usr/lib/ruby/1.8/rexml/parent.rb:13:in initialize' /usr/lib/ruby/1.8/rexml/element.rb:59:in initialize' /usr/lib/ruby/1.8/rexml/element.rb:914:in new' /usr/lib/ruby/1.8/rexml/element.rb:914:in add' /usr/lib/ruby/1.8/rexml/element.rb:297:in add_element' /usr/lib/ruby/1.8/rexml/document.rb:100:in add_element' /usr/lib/ruby/1.8/rexml/parsers/treeparser.rb:32:in parse' /usr/lib/ruby/1.8/rexml/document.rb:190:in build' /usr/lib/ruby/1.8/rexml/document.rb:45:in initialize' /var/www/rails/app/controllers/geocoder_controller.rb:263:in new' /var/www/rails/app/controllers/geocoder_controller.rb:263:in fetch_xml' /var/www/rails/app/controllers/geocoder_controller.rb:121:in search_osm_namefinder' /var/www/rails/app/controllers/geocoder_controller.rb:21:in search' /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.1/lib/action_controller/base.rb:1168:in send' /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.1/lib/action_controller/base.rb:1168:in perform_action_without_filters' /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.1/lib/action_controller/filters.rb:697:in call_filters' /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.1/lib/action_controller/filters.rb:689:in perform_action_without_benchmark' /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.1/lib/action_controller/benchmarking.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.0.1/lib/action_controller/benchmarking.rb:68:in perform_action_without_rescue' /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.1/lib/action_controller/rescue.rb:199:in perform_action_without_caching' /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.1/lib/action_controller/caching.rb:678:in perform_action' /usr/lib/ruby/gems/1.8/gems/activerecord-2.0.1/lib/active_record/connection_adapters/abstract/query_cache.rb:33:in cache' /usr/lib/ruby/gems/1.8/gems/activerecord-2.0.1/lib/active_record/query_cache.rb:8:in cache' /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.1/lib/action_controller/caching.rb:677:in perform_action' /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.1/lib/action_controller/base.rb:524:in send' /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.1/lib/action_controller/base.rb:524:in process_without_filters' /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.1/lib/action_controller/filters.rb:685:in process_without_session_management_support' /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.1/lib/action_controller/session_management.rb:123:in process' /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.1/lib/action_controller/base.rb:388:in process' /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.1/lib/action_controller/dispatcher.rb:171:in handle_request' /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.1/lib/action_controller/dispatcher.rb:115:in dispatch' /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.1/lib/action_controller/dispatcher.rb:126:in dispatch_cgi' /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.1/lib/action_controller/dispatcher.rb:9:in dispatch' /usr/lib/ruby/gems/1.8/gems/rails-2.0.1/lib/fcgi_handler.rb:101:in process_request' /usr/lib/ruby/gems/1.8/gems/rails-2.0.1/lib/fcgi_handler.rb:149:in with_signal_handler' /usr/lib/ruby/gems/1.8/gems/rails-2.0.1/lib/fcgi_handler.rb:99:in process_request' /usr/lib/ruby/gems/1.8/gems/rails-2.0.1/lib/fcgi_handler.rb:77:in process_each_request' /usr/lib/ruby/gems/1.8/gems/fcgi-0.8.7/lib/fcgi.rb:612:in each_cgi' /usr/lib/ruby/gems/1.8/gems/fcgi-0.8.7/lib/fcgi.rb:609:in each' /usr/lib/ruby/gems/1.8/gems/fcgi-0.8.7/lib/fcgi.rb:609:in each_cgi' /usr/lib/ruby/gems/1.8/gems/rails-2.0.1/lib/fcgi_handler.rb:76:in process_each_request' /usr/lib/ruby/gems/1.8/gems/rails-2.0.1/lib/fcgi_handler.rb:50:in process!' /usr/lib/ruby/gems/1.8/gems/rails-2.0.1/lib/fcgi_handler.rb:24:in `process!' /var/www/rails/public/dispatch.fcgi:24 ... attempted adding second root element to document Line: Position: Last 80 unconsumed characters: Internal error, sorry.

comment:2 Changed 11 years ago by Thomas Wood

Resolution: duplicate
Status: newclosed

I'm an idiot, sorry Tom!

Note: See TracTickets for help on using tickets.