[OpenStreetMap] #4793: HTTP 500 error with Potlach editor

OpenStreetMap trac at noreply.openstreetmap.org
Mon Feb 25 09:47:25 UTC 2013


#4793: HTTP 500 error with Potlach editor
-----------------------+--------------------------------------------------
  Reporter:  metkos@…  |      Owner:  rails-dev@…
      Type:  defect    |     Status:  new
  Priority:  major     |  Milestone:
 Component:  website   |    Version:
Resolution:            |   Keywords:  500 error serbian preffered language
-----------------------+--------------------------------------------------

Comment (by TomH):

 I've managed to find one of emj's attempts in the log - the error is:


 {{{
 ActionView::Template::Error (potlatch2/locales/.swf isn't precompiled):
     31:     flashvars.assets = "<%= asset_path "potlatch2/assets.zip" %>";
     32:     flashvars.font_library = "<%= asset_path
 "potlatch2/FontLibrary.swf" %>";
     33:     flashvars.locale = "<%= Potlatch2::LOCALES[locale] %>";
     34:     flashvars.locale_paths = "<%= Potlatch2::LOCALES[locale]
 %>=<%= asset_path("potlatch2/locales/#{Potlatch2::LOCALES[locale]}.swf")
 %>";
     35:     <% if params['gpx'] %>
     36:     flashvars.gpx = '<%= h(params['gpx']) %>';
     37:     <% end %>
   app/views/site/_potlatch2.html.erb:34:in
 `_app_views_site__potlatch__html_erb__595222280942956594_53566660'
   app/views/site/edit.html.erb:20:in
 `_app_views_site_edit_html_erb___2741719446329565646_49458780'
   config/initializers/memory_limits.rb:17:in `call'
 }}}

 which suggests that something went wrong in the locale selection.

-- 
Ticket URL: <https://trac.openstreetmap.org/ticket/4793#comment:3>
OpenStreetMap <http://www.openstreetmap.org/>
OpenStreetMap is a free editable map of the whole world



More information about the rails-dev mailing list