Cannot split topic - see error logs in the topic body


(Anton) #1

In the latest version (v1.5.0.beta7 +3), when I try to split topic, a server error occurs. Here are a few logs:

Error #1

NameError (uninitialized constant UserAvatarsController::DOT)
/var/www/discourse/app/controllers/static_controller.rb:109:in `favicon’

Backtrace:

select to see 950 more
2		
Uncaught TypeError: e.get is not a function Url: http://forum.kozovod.com/assets/application-fe794acb10b7f9e4271d15dc37fa0190.js Line: 13 Column: 7383 Window Location: http://forum.kozovod.com/t/ferma
19 Dec 6:26 am
Uncaught Error: Syntax error, unrecognized expression: .post-cloak[data-post-number=22] Url: http://forum.kozovod.com/assets/ember_jquery-c510009d3d7cecdf3f948f54d4922d9a.js Line: 1 Window Location: h
19 Dec 6:35 am
Uncaught TypeError: Cannot read property 'nodeValue' of undefined Url: http://forum.kozovod.com/assets/vendor-57997c9be5e2eb295af84ffc057f62ed.js Line: 7 Column: 18625 Window Location: http://forum.ko
19 Dec 6:46 am
Uncaught ReferenceError: React is not defined Url: http://forum.kozovod.com/t/lkh-ferma-svyatogorskaya-koza/1360 Line: 4 Column: 25 Window Location: http://forum.kozovod.com/t/lkh-ferma-svyatogorskaya
19 Dec 7:09 am
Uncaught TypeError: e.get is not a function Url: http://forum.kozovod.com/assets/application-fe794acb10b7f9e4271d15dc37fa0190.js Line: 13 Column: 7383 Window Location: http://forum.kozovod.com/t/prisp
19 Dec 7:10 am
Uncaught exception: TypeError: 'e.get' is not a function Url: http://forum.kozovod.com/assets/application-fe794acb10b7f9e4271d15dc37fa0190.js Line: 13 Window Location: http://forum.kozovod.com/t/obnar
19 Dec 7:13 am
2		
Uncaught exception: TypeError: Cannot convert 't' to object Url: http://forum.kozovod.com/assets/application-fe794acb10b7f9e4271d15dc37fa0190.js Line: 20 Window Location: http://forum.kozovod.com/t/sk
19 Dec 7:20 am
Uncaught TypeError: e.get is not a function Url: http://forum.kozovod.com/assets/application-fe794acb10b7f9e4271d15dc37fa0190.js Line: 13 Column: 7383 Window Location: http://forum.kozovod.com/t/obnar
19 Dec 7:20 am
Uncaught TypeError: Cannot read property 'nodeValue' of undefined Url: http://forum.kozovod.com/assets/vendor-57997c9be5e2eb295af84ffc057f62ed.js Line: 7 Column: 18625 Window Location: http://forum.ko
19 Dec 7:22 am
Uncaught TypeError: Cannot read property 'top' of undefined Url: http://forum.kozovod.com/assets/application-fe794acb10b7f9e4271d15dc37fa0190.js Line: 13 Column: 7557 Window Location: http://forum.koz
19 Dec 7:34 am
TypeError: a(...).get(...) is undefined Url: http://forum.kozovod.com/assets/vendor-57997c9be5e2eb295af84ffc057f62ed.js Line: 7 Column: 18614 Window Location: http://forum.kozovod.com/t/tvyordye-syry-
19 Dec 7:39 am
Uncaught exception: TypeError: Cannot convert 'a(t).get(0)' to object Url: http://forum.kozovod.com/assets/vendor-57997c9be5e2eb295af84ffc057f62ed.js Line: 7 Window Location: http://forum.kozovod.com/
19 Dec 7:53 am
Uncaught TypeError: Cannot read property 'nodeValue' of undefined Url: http://forum.kozovod.com/assets/vendor-57997c9be5e2eb295af84ffc057f62ed.js Line: 7 Column: 18625 Window Location: http://forum.ko
19 Dec 7:55 am
Uncaught Error: NotFoundError: DOM Exception 8 Url: http://forum.kozovod.com/assets/application-fe794acb10b7f9e4271d15dc37fa0190.js Line: 19 Window Location: http://forum.kozovod.com/t/norma-vyseva-vr
19 Dec 7:56 am
Uncaught exception: TypeError: Cannot convert 'Discourse.SiteSettings' to object Url: http://forum.kozovod.com/assets/application-fe794acb10b7f9e4271d15dc37fa0190.js Line: 8 Window Location: http://fo
19 Dec 7:58 am
Error: Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings. Url: https://fb.me/react-with-addons-0.13.3.min.js Line: 17 Column:
19 Dec 8:09 am
Uncaught TypeError: e.get is not a function Url: http://forum.kozovod.com/assets/application-fe794acb10b7f9e4271d15dc37fa0190.js Line: 13 Column: 7383 Window Location: http://forum.kozovod.com/t/recze
19 Dec 8:13 am
Uncaught TypeError: Cannot read property 'nodeValue' of undefined Url: http://forum.kozovod.com/assets/vendor-57997c9be5e2eb295af84ffc057f62ed.js Line: 7 Column: 18625 Window Location: http://forum.ko
19 Dec 8:19 am
Job exception: PrettyText::JavaScriptError
19 Dec 8:25 am
Uncaught TypeError: Cannot read property 'then' of undefined Url: http://forum.kozovod.com/assets/application-fe794acb10b7f9e4271d15dc37fa0190.js Line: 9 Column: 22519 Window Location: http://forum.ko
19 Dec 8:26 am
Uncaught ReferenceError: React is not defined Url: http://forum.kozovod.com/t/obrezka-kopyt-u-koz/477#! Line: 4 Column: 25 Window Location: http://forum.kozovod.com/t/obrezka-kopyt-u-koz/477#!
19 Dec 8:56 am
TypeError: e.get is not a function Url: http://forum.kozovod.com/assets/application-fe794acb10b7f9e4271d15dc37fa0190.js Line: 13 Column: 7381 Window Location: http://forum.kozovod.com/t/reczepty-syrov
19 Dec 9:27 am
7		
Uncaught ReferenceError: React is not defined Url: http://forum.kozovod.com/ Line: 4 Column: 25 Window Location: http://forum.kozovod.com/
19 Dec 10:21 am
199		
Invalid favicon_url http://forum.kozovod.com/uploads/default/1497/04bd7421ba896076.ico: 404 Not Found ["/usr/local/lib/ruby/2.0.0/open-uri.rb:353:in `open_http'", "/usr/local/lib/ruby/2.0.0/open-uri.r
19 Dec 10:28 am
2		
Uncaught Error: Syntax error, unrecognized expression: .post-cloak[data-post-number=24] Url: http://forum.kozovod.com/assets/ember_jquery-c510009d3d7cecdf3f948f54d4922d9a.js Line: 1 Window Location: h
19 Dec 11:17 am
Uncaught Error: Syntax error, unrecognized expression: .post-cloak[data-post-number=26] Url: http://forum.kozovod.com/assets/ember_jquery-c510009d3d7cecdf3f948f54d4922d9a.js Line: 1 Window Location: h
19 Dec 11:40 am
8		
Invalid favicon_url http://forum.kozovod.com/uploads/default/1497/04bd7421ba896076.ico: 404 Not Found ["/usr/local/lib/ruby/2.0.0/open-uri.rb:353:in `open_http'", "/usr/local/lib/ruby/2.0.0/open-uri.r
19 Dec 11:43 am
Uncaught TypeError: Cannot read property 'scrollTop' of undefined Url: http://forum.kozovod.com/assets/application-7c12e56cfedc13e5cbcb61d84e0c7848.js Line: 15 Column: 22031 Window Location: http://fo
19 Dec 12:08 pm
Uncaught TypeError: Cannot read property 'highlighted_languages' of undefined Url: http://forum.kozovod.com/assets/application-7c12e56cfedc13e5cbcb61d84e0c7848.js Line: 8 Column: 31765 Window Location
19 Dec 3:49 pm
Uncaught TypeError: Cannot read property 'nodeValue' of undefined Url: http://forum.kozovod.com/assets/vendor-2ff9e230f5bc60c6d19b98f79e81c3d5.js Line: 7 Column: 18705 Window Location: http://forum.ko
19 Dec 4:20 pm
Uncaught TypeError: p.focus is not a function Url: http://forum.kozovod.com/assets/application-7c12e56cfedc13e5cbcb61d84e0c7848.js Line: 8 Column: 1603 Window Location: http://forum.kozovod.com/t/kozy
19 Dec 6:23 pm
TypeError: Discourse.SiteSettings is undefined Url: http://forum.kozovod.com/assets/application-7c12e56cfedc13e5cbcb61d84e0c7848.js Line: 8 Column: 31741 Window Location: http://forum.kozovod.com/
19 Dec 6:46 pm
Uncaught RangeError: Maximum call stack size exceeded Url: http://forum.kozovod.com/assets/ember_jquery-c510009d3d7cecdf3f948f54d4922d9a.js Line: 0 Window Location: http://forum.kozovod.com/t/reczepty
19 Dec 6:52 pm
Uncaught TypeError: Cannot read property 'trim' of undefined Url: http://forum.kozovod.com/assets/application-7c12e56cfedc13e5cbcb61d84e0c7848.js Line: 10 Column: 30483 Window Location: http://forum.k
19 Dec 7:55 pm
Uncaught TypeError: e.get is not a function Url: http://forum.kozovod.com/assets/application-7c12e56cfedc13e5cbcb61d84e0c7848.js Line: 13 Column: 8926 Window Location: http://forum.kozovod.com/t/komu-
19 Dec 8:12 pm
Uncaught TypeError: Cannot read property 'nodeValue' of undefined Url: http://forum.kozovod.com/assets/vendor-2ff9e230f5bc60c6d19b98f79e81c3d5.js Line: 7 Column: 18705 Window Location: http://forum.ko
19 Dec 8:26 pm
Uncaught TypeError: Cannot read property 'nodeValue' of undefined Url: http://forum.kozovod.com/assets/vendor-2ff9e230f5bc60c6d19b98f79e81c3d5.js Line: 7 Column: 69 Window Location: http://forum.kozov
19 Dec 9:08 pm
Uncaught ReferenceError: React is not defined Url: http://forum.kozovod.com/t/rikotta-ili-syr-iz-syvorotki/670 Line: 4 Column: 25 Window Location: http://forum.kozovod.com/t/rikotta-ili-syr-iz-syvorot
19 Dec 9:37 pm
Uncaught TypeError: e.get is not a function Url: http://forum.kozovod.com/assets/application-7c12e56cfedc13e5cbcb61d84e0c7848.js Line: 13 Column: 8926 Window Location: http://forum.kozovod.com/t/natur
19 Dec 9:49 pm
Uncaught exception: TypeError: 'window.getSelection' is not a function Url: http://forum.kozovod.com/assets/application-7c12e56cfedc13e5cbcb61d84e0c7848.js Line: 19 Window Location: http://forum.kozov
19 Dec 10:07 pm
Uncaught exception: TypeError: 'window.getSelection' is not a function Url: http://forum.kozovod.com/assets/application-7c12e56cfedc13e5cbcb61d84e0c7848.js Line: 19 Window Location: http://forum.kozov
19 Dec 10:11 pm
Uncaught TypeError: e.get is not a function Url: http://forum.kozovod.com/assets/application-7c12e56cfedc13e5cbcb61d84e0c7848.js Line: 13 Column: 8926 Window Location: http://forum.kozovod.com/t/mini-
19 Dec 10:59 pm
Uncaught TypeError: e.get is not a function Url: http://forum.kozovod.com/assets/application-fe794acb10b7f9e4271d15dc37fa0190.js Line: 13 Column: 7383 Window Location: http://forum.kozovod.com/t/tvyor
19 Dec 11:37 pm
Uncaught TypeError: e.get is not a function Url: http://forum.kozovod.com/assets/application-7c12e56cfedc13e5cbcb61d84e0c7848.js Line: 13 Column: 8926 Window Location: http://forum.kozovod.com/t/recze
19 Dec 11:47 pm
Uncaught TypeError: e.get is not a function Url: http://forum.kozovod.com/assets/application-7c12e56cfedc13e5cbcb61d84e0c7848.js Line: 13 Column: 8926 Window Location: http://forum.kozovod.com/t/natur
19 Dec 11:47 pm
Uncaught TypeError: e.get is not a function Url: http://forum.kozovod.com/assets/application-7c12e56cfedc13e5cbcb61d84e0c7848.js Line: 13 Column: 8926 Window Location: http://forum.kozovod.com/t/recze
12:31 am
13		
Invalid favicon_url http://forum.kozovod.com/uploads/default/1497/04bd7421ba896076.ico: 404 Not Found ["/usr/local/lib/ruby/2.0.0/open-uri.rb:353:in `open_http'", "/usr/local/lib/ruby/2.0.0/open-uri.r
12:48 am
3		
I18n::InvalidPluralizationData (translation data {:one=>"A post was split to a new topic: %{topic_link}", :other=>"%{count} posts were split to a new topic: %{topic_link}"} can not be used with :count
12:48 am
I18n::InvalidPluralizationData (translation data {:one=>"A post was split to a new topic: %{topic_link}", :other=>"%{count} posts were split to a new topic: %{topic_link}"} can not be used with :count
12:52 am
35		
NameError (uninitialized constant UserAvatarsController::DOT) /var/www/discourse/app/controllers/static_controller.rb:109:in `favicon'
12:53 am
/var/www/discourse/app/controllers/static_controller.rb:109:in `favicon'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/actionpack-4.2.4/lib/action_controller/metal/implicit_render.rb:4:in `send_action'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/actionpack-4.2.4/lib/abstract_controller/base.rb:198:in `process_action'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/actionpack-4.2.4/lib/action_controller/metal/rendering.rb:10:in `process_action'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/actionpack-4.2.4/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:117:in `call'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:117:in `call'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:555:in `block (2 levels) in compile'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:505:in `call'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:505:in `call'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:92:in `__run_callbacks__'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:81:in `run_callbacks'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/actionpack-4.2.4/lib/abstract_controller/callbacks.rb:19:in `process_action'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/actionpack-4.2.4/lib/action_controller/metal/rescue.rb:29:in `process_action'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/actionpack-4.2.4/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/activesupport-4.2.4/lib/active_support/notifications.rb:164:in `block in instrument'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/activesupport-4.2.4/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/activesupport-4.2.4/lib/active_support/notifications.rb:164:in `instrument'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/actionpack-4.2.4/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/actionpack-4.2.4/lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/activerecord-4.2.4/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/actionpack-4.2.4/lib/abstract_controller/base.rb:137:in `process'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/actionview-4.2.4/lib/action_view/rendering.rb:30:in `process'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/rack-mini-profiler-0.9.7/lib/mini_profiler/profiling_methods.rb:77:in `block in profile_method'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/actionpack-4.2.4/lib/action_controller/metal.rb:196:in `dispatch'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/actionpack-4.2.4/lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/actionpack-4.2.4/lib/action_controller/metal.rb:237:in `block in action'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/actionpack-4.2.4/lib/action_dispatch/routing/route_set.rb:76:in `call'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/actionpack-4.2.4/lib/action_dispatch/routing/route_set.rb:76:in `dispatch'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/actionpack-4.2.4/lib/action_dispatch/routing/route_set.rb:45:in `serve'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/actionpack-4.2.4/lib/action_dispatch/journey/router.rb:43:in `block in serve'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/actionpack-4.2.4/lib/action_dispatch/journey/router.rb:30:in `each'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/actionpack-4.2.4/lib/action_dispatch/journey/router.rb:30:in `serve'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/actionpack-4.2.4/lib/action_dispatch/routing/route_set.rb:821:in `call'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/rack-protection-1.5.3/lib/rack/protection/frame_options.rb:31:in `call'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/omniauth-1.2.2/lib/omniauth/strategy.rb:186:in `call!'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/omniauth-1.2.2/lib/omniauth/strategy.rb:164:in `call'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/omniauth-1.2.2/lib/omniauth/strategy.rb:186:in `call!'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/omniauth-1.2.2/lib/omniauth/strategy.rb:164:in `call'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/omniauth-1.2.2/lib/omniauth/strategy.rb:186:in `call!'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/omniauth-1.2.2/lib/omniauth/strategy.rb:164:in `call'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/omniauth-1.2.2/lib/omniauth/strategy.rb:186:in `call!'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/omniauth-1.2.2/lib/omniauth/strategy.rb:164:in `call'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/omniauth-1.2.2/lib/omniauth/strategy.rb:186:in `call!'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/omniauth-1.2.2/lib/omniauth/strategy.rb:164:in `call'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/omniauth-1.2.2/lib/omniauth/builder.rb:59:in `call'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/rack-1.6.4/lib/rack/conditionalget.rb:25:in `call'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/rack-1.6.4/lib/rack/head.rb:13:in `call'
/var/www/discourse/lib/middleware/anonymous_cache.rb:127:in `call'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/params_parser.rb:27:in `call'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/flash.rb:260:in `call'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/rack-1.6.4/lib/rack/session/abstract/id.rb:225:in `context'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/rack-1.6.4/lib/rack/session/abstract/id.rb:220:in `call'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/cookies.rb:560:in `call'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/activerecord-4.2.4/lib/active_record/query_cache.rb:36:in `call'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/activerecord-4.2.4/lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:88:in `__run_callbacks__'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:778:in `_run_call_callbacks'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:81:in `run_callbacks'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/callbacks.rb:27:in `call'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/remote_ip.rb:78:in `call'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/logster-1.0.1/lib/logster/middleware/reporter.rb:31:in `call'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/railties-4.2.4/lib/rails/rack/logger.rb:38:in `call_app'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/railties-4.2.4/lib/rails/rack/logger.rb:22:in `call'
/var/www/discourse/config/initializers/100-quiet_logger.rb:10:in `call_with_quiet_assets'
/var/www/discourse/config/initializers/100-silence_logger.rb:26:in `call'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/request_id.rb:21:in `call'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/rack-1.6.4/lib/rack/methodoverride.rb:22:in `call'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/rack-1.6.4/lib/rack/runtime.rb:18:in `call'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/rack-1.6.4/lib/rack/sendfile.rb:113:in `call'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/rack-mini-profiler-0.9.7/lib/mini_profiler/profiler.rb:170:in `call'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/message_bus-1.1.1/lib/message_bus/rack/middleware.rb:60:in `call'
/var/www/discourse/lib/middleware/request_tracker.rb:73:in `call'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/railties-4.2.4/lib/rails/engine.rb:518:in `call'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/railties-4.2.4/lib/rails/application.rb:165:in `call'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/railties-4.2.4/lib/rails/railtie.rb:194:in `public_send'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/railties-4.2.4/lib/rails/railtie.rb:194:in `method_missing'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/rack-1.6.4/lib/rack/urlmap.rb:66:in `block in call'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/rack-1.6.4/lib/rack/urlmap.rb:50:in `each'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/rack-1.6.4/lib/rack/urlmap.rb:50:in `call'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/unicorn-4.9.0/lib/unicorn/http_server.rb:580:in `process_client'
/var/www/discourse/lib/scheduler/defer.rb:85:in `process_client'
/var/www/discourse/lib/middleware/unicorn_oobgc.rb:95:in `process_client'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/unicorn-4.9.0/lib/unicorn/http_server.rb:674:in `worker_loop'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/unicorn-4.9.0/lib/unicorn/http_server.rb:529:in `spawn_missing_workers'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/unicorn-4.9.0/lib/unicorn/http_server.rb:140:in `start'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/unicorn-4.9.0/bin/unicorn:126:in `<top (required)>'
/var/www/discourse/vendor/bundle/ruby/2.0.0/bin/unicorn:23:in `load'
/var/www/discourse/vendor/bundle/ruby/2.0.0/bin/unicorn:23:in `<main>'
infobacktraceenvSolve  Delete  Protect Share  Debug   Info    Warning    Error    Fatal  
Search
 Clear logs

Error #2

I18n::InvalidPluralizationData (translation data {:one=>“A post was split to a new topic: %{topic_link}”, :other=>"%{count} posts were split to a new topic: %{topic_link}"} can not be used with :count => 3)
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/lib/i18n/backend/pluralization.rb:35:in `pluralize’

Backtrace:

/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/lib/i18n/backend/pluralization.rb:35:in `pluralize'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/lib/i18n/backend/base.rb:40:in `translate'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/lib/i18n/backend/fallbacks.rb:45:in `block (2 levels) in translate'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/lib/i18n/backend/fallbacks.rb:44:in `catch'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/lib/i18n/backend/fallbacks.rb:44:in `block in translate'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/lib/i18n/backend/fallbacks.rb:42:in `each'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/lib/i18n/backend/fallbacks.rb:42:in `translate'
/var/www/discourse/lib/freedom_patches/translate_accelerator.rb:130:in `block in translate'
/var/www/discourse/lib/freedom_patches/translate_accelerator.rb:129:in `catch'
/var/www/discourse/lib/freedom_patches/translate_accelerator.rb:129:in `translate'
/var/www/discourse/app/models/post_mover.rb:134:in `create_moderator_post_in_original_topic'
/var/www/discourse/app/models/post_mover.rb:118:in `notify_users_that_posts_have_moved'
/var/www/discourse/app/models/post_mover.rb:45:in `move_posts_to'
/var/www/discourse/app/models/post_mover.rb:29:in `block in to_new_topic'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/activerecord-4.2.4/lib/active_record/connection_adapters/abstract/database_statements.rb:213:in `block in transaction'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/activerecord-4.2.4/lib/active_record/connection_adapters/abstract/transaction.rb:184:in `within_new_transaction'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/activerecord-4.2.4/lib/active_record/connection_adapters/abstract/database_statements.rb:213:in `transaction'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/activerecord-4.2.4/lib/active_record/transactions.rb:220:in `transaction'
/var/www/discourse/app/models/post_mover.rb:28:in `to_new_topic'
/var/www/discourse/app/models/topic.rb:635:in `move_posts'
/var/www/discourse/app/controllers/topics_controller.rb:550:in `move_posts_to_destination'
/var/www/discourse/app/controllers/topics_controller.rb:365:in `move_posts'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/actionpack-4.2.4/lib/action_controller/metal/implicit_render.rb:4:in `send_action'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/actionpack-4.2.4/lib/abstract_controller/base.rb:198:in `process_action'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/actionpack-4.2.4/lib/action_controller/metal/rendering.rb:10:in `process_action'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/actionpack-4.2.4/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:117:in `call'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:117:in `call'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:555:in `block (2 levels) in compile'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:505:in `call'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:505:in `call'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:92:in `__run_callbacks__'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:81:in `run_callbacks'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/actionpack-4.2.4/lib/abstract_controller/callbacks.rb:19:in `process_action'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/actionpack-4.2.4/lib/action_controller/metal/rescue.rb:29:in `process_action'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/actionpack-4.2.4/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/activesupport-4.2.4/lib/active_support/notifications.rb:164:in `block in instrument'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/activesupport-4.2.4/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/activesupport-4.2.4/lib/active_support/notifications.rb:164:in `instrument'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/actionpack-4.2.4/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/actionpack-4.2.4/lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/activerecord-4.2.4/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/actionpack-4.2.4/lib/abstract_controller/base.rb:137:in `process'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/actionview-4.2.4/lib/action_view/rendering.rb:30:in `process'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/rack-mini-profiler-0.9.7/lib/mini_profiler/profiling_methods.rb:106:in `block in profile_method'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/actionpack-4.2.4/lib/action_controller/metal.rb:196:in `dispatch'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/actionpack-4.2.4/lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/actionpack-4.2.4/lib/action_controller/metal.rb:237:in `block in action'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/actionpack-4.2.4/lib/action_dispatch/routing/route_set.rb:76:in `call'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/actionpack-4.2.4/lib/action_dispatch/routing/route_set.rb:76:in `dispatch'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/actionpack-4.2.4/lib/action_dispatch/routing/route_set.rb:45:in `serve'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/actionpack-4.2.4/lib/action_dispatch/journey/router.rb:43:in `block in serve'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/actionpack-4.2.4/lib/action_dispatch/journey/router.rb:30:in `each'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/actionpack-4.2.4/lib/action_dispatch/journey/router.rb:30:in `serve'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/actionpack-4.2.4/lib/action_dispatch/routing/route_set.rb:821:in `call'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/rack-protection-1.5.3/lib/rack/protection/frame_options.rb:31:in `call'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/omniauth-1.2.2/lib/omniauth/strategy.rb:186:in `call!'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/omniauth-1.2.2/lib/omniauth/strategy.rb:164:in `call'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/omniauth-1.2.2/lib/omniauth/strategy.rb:186:in `call!'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/omniauth-1.2.2/lib/omniauth/strategy.rb:164:in `call'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/omniauth-1.2.2/lib/omniauth/strategy.rb:186:in `call!'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/omniauth-1.2.2/lib/omniauth/strategy.rb:164:in `call'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/omniauth-1.2.2/lib/omniauth/strategy.rb:186:in `call!'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/omniauth-1.2.2/lib/omniauth/strategy.rb:164:in `call'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/omniauth-1.2.2/lib/omniauth/strategy.rb:186:in `call!'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/omniauth-1.2.2/lib/omniauth/strategy.rb:164:in `call'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/omniauth-1.2.2/lib/omniauth/builder.rb:59:in `call'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/rack-1.6.4/lib/rack/conditionalget.rb:38:in `call'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/rack-1.6.4/lib/rack/head.rb:13:in `call'
/var/www/discourse/lib/middleware/anonymous_cache.rb:129:in `call'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/params_parser.rb:27:in `call'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/flash.rb:260:in `call'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/rack-1.6.4/lib/rack/session/abstract/id.rb:225:in `context'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/rack-1.6.4/lib/rack/session/abstract/id.rb:220:in `call'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/cookies.rb:560:in `call'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/activerecord-4.2.4/lib/active_record/query_cache.rb:36:in `call'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/activerecord-4.2.4/lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:88:in `__run_callbacks__'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:778:in `_run_call_callbacks'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:81:in `run_callbacks'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/callbacks.rb:27:in `call'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/remote_ip.rb:78:in `call'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/logster-1.0.1/lib/logster/middleware/reporter.rb:31:in `call'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/railties-4.2.4/lib/rails/rack/logger.rb:38:in `call_app'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/railties-4.2.4/lib/rails/rack/logger.rb:22:in `call'
/var/www/discourse/config/initializers/100-quiet_logger.rb:10:in `call_with_quiet_assets'
/var/www/discourse/config/initializers/100-silence_logger.rb:26:in `call'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/request_id.rb:21:in `call'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/rack-1.6.4/lib/rack/methodoverride.rb:22:in `call'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/rack-1.6.4/lib/rack/runtime.rb:18:in `call'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/rack-1.6.4/lib/rack/sendfile.rb:113:in `call'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/rack-mini-profiler-0.9.7/lib/mini_profiler/profiler.rb:276:in `call'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/message_bus-1.1.1/lib/message_bus/rack/middleware.rb:60:in `call'
/var/www/discourse/lib/middleware/request_tracker.rb:73:in `call'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/railties-4.2.4/lib/rails/engine.rb:518:in `call'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/railties-4.2.4/lib/rails/application.rb:165:in `call'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/railties-4.2.4/lib/rails/railtie.rb:194:in `public_send'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/railties-4.2.4/lib/rails/railtie.rb:194:in `method_missing'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/rack-1.6.4/lib/rack/urlmap.rb:66:in `block in call'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/rack-1.6.4/lib/rack/urlmap.rb:50:in `each'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/rack-1.6.4/lib/rack/urlmap.rb:50:in `call'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/unicorn-4.9.0/lib/unicorn/http_server.rb:580:in `process_client'
/var/www/discourse/lib/scheduler/defer.rb:85:in `process_client'
/var/www/discourse/lib/middleware/unicorn_oobgc.rb:95:in `process_client'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/unicorn-4.9.0/lib/unicorn/http_server.rb:674:in `worker_loop'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/unicorn-4.9.0/lib/unicorn/http_server.rb:529:in `spawn_missing_workers'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/unicorn-4.9.0/lib/unicorn/http_server.rb:140:in `start'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/unicorn-4.9.0/bin/unicorn:126:in `<top (required)>'
/var/www/discourse/vendor/bundle/ruby/2.0.0/bin/unicorn:23:in `load'
/var/www/discourse/vendor/bundle/ruby/2.0.0/bin/unicorn:23:in `<main>'

(Jeff Atwood) #2

Looks like a translation error based on the error message.


(Sam Saffron) #3

The first error is actually my bad, will fix, happens if you have an invalid remote favicon


(Sam Saffron) #4

I fixed error #1 maybe @eviltrout can look to see if we can place some guards in core for #2


(Gerhard Schlager) #5

Something strange is happening with error #2. The pluralization fails with English strings and on first glance they look perfectly fine:

I think the following error is related to this:


(Robin Ward) #7

It turns out a lot of our translation fallback code was being reverted to the default locale, which resulted in a mishmash of translations. I’ve fixed it here and I think this should solve the problem:

(We should keep an eye on it though, there are a lot of fixes involved and I might have missed some edge cases.)


500 Internal Server Error when trying to write a new topic
(Alan Tan) #8

I got the error when I only override one pluralization key too. PR below!


(Robin Ward) #9

I’ve merged this, thanks!

Hopefully that catches the rest of the issues with this hard to squash bug :slightly_smiling:


(Jeff Atwood) #10