We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
From server logs following addition of plugin (on boot, before any pages requested or attachments uploaded):
2012-06-12T15:52:00+00:00 app[web.1]: /app/vendor/bundle/ruby/1.9.1/gems/rails-2.3.14/lib/rails/plugin.rb:158:in eval': /app/vendor/plugins/redmine_msg_preview/init.rb:21: syntax error, unexpected ':', expecting keyword_then or ',' or ';' or '\n' (SyntaxError) 2012-06-12T15:52:00+00:00 app[web.1]: when "SENDER": 2012-06-12T15:52:00+00:00 app[web.1]: ^ 2012-06-12T15:52:00+00:00 app[web.1]: /app/vendor/plugins/redmine_msg_preview/init.rb:23: syntax error, unexpected keyword_when, expecting keyword_end 2012-06-12T15:52:00+00:00 app[web.1]: when "SUBJECT" 2012-06-12T15:52:00+00:00 app[web.1]: ^ 2012-06-12T15:52:00+00:00 app[web.1]: when "CREATION_TIME" 2012-06-12T15:52:00+00:00 app[web.1]: /app/vendor/plugins/redmine_msg_preview/init.rb:25: syntax error, unexpected keyword_when, expecting keyword_end 2012-06-12T15:52:00+00:00 app[web.1]: ^ 2012-06-12T15:52:00+00:00 app[web.1]: /app/vendor/plugins/redmine_msg_preview/init.rb:31: syntax error, unexpected keyword_end, expecting $end 2012-06-12T15:52:00+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/activesupport-2.3.14/lib/active_support/core_ext/kernel/reporting.rb:11:insilence_warnings' 2012-06-12T15:52:00+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/rails-2.3.14/lib/rails/plugin.rb:158:in block in evaluate_init_rb' 2012-06-12T15:52:00+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/rails-2.3.14/lib/rails/plugin.rb:48:inload' 2012-06-12T15:52:00+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/rails-2.3.14/lib/rails/plugin.rb:154:in evaluate_init_rb' 2012-06-12T15:52:00+00:00 app[web.1]: from /app/vendor/plugins/engines/lib/engines/plugin.rb:44:inload' 2012-06-12T15:52:00+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/rails-2.3.14/lib/rails/plugin/loader.rb:38:in block in load_plugins' 2012-06-12T15:52:00+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/rails-2.3.14/lib/rails/plugin/loader.rb:37:ineach' 2012-06-12T15:52:00+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/rails-2.3.14/lib/rails/plugin/loader.rb:37:in load_plugins' 2012-06-12T15:52:00+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/rails-2.3.14/lib/initializer.rb:369:inload_plugins' 2012-06-12T15:52:00+00:00 app[web.1]: from /app/config/environment.rb:21:in <top (required)>' 2012-06-12T15:52:00+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1 /gems/rails-2.3.14/lib/initializer.rb:113:inrun' 2012-06-12T15:52:00+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/rails-2.3.14/lib/initializer.rb:165:in process' 2012-06-12T15:52:00+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/activesupport-2.3.14/lib/active_support/dependencies.rb:182:inrequire' 2012-06-12T15:52:00+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/activesupport-2.3.14/lib/active_support/dependencies.rb:182:in block in require' 2012-06-12T15:52:00+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/activesupport-2.3.14/lib/active_support/dependencies.rb:547:innew_constants_in' 2012-06-12T15:52:00+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/rails-2.3.14/lib/commands/server.rb:84:in <top (required)>' 2012-06-12T15:52:00+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/activesupport-2.3.14/lib/active_support/dependencies.rb:182:inrequire'
eval': /app/vendor/plugins/redmine_msg_preview/init.rb:21: syntax error, unexpected ':', expecting keyword_then or ',' or ';' or '\n' (SyntaxError) 2012-06-12T15:52:00+00:00 app[web.1]: when "SENDER": 2012-06-12T15:52:00+00:00 app[web.1]: ^ 2012-06-12T15:52:00+00:00 app[web.1]: /app/vendor/plugins/redmine_msg_preview/init.rb:23: syntax error, unexpected keyword_when, expecting keyword_end 2012-06-12T15:52:00+00:00 app[web.1]: when "SUBJECT" 2012-06-12T15:52:00+00:00 app[web.1]: ^ 2012-06-12T15:52:00+00:00 app[web.1]: when "CREATION_TIME" 2012-06-12T15:52:00+00:00 app[web.1]: /app/vendor/plugins/redmine_msg_preview/init.rb:25: syntax error, unexpected keyword_when, expecting keyword_end 2012-06-12T15:52:00+00:00 app[web.1]: ^ 2012-06-12T15:52:00+00:00 app[web.1]: /app/vendor/plugins/redmine_msg_preview/init.rb:31: syntax error, unexpected keyword_end, expecting $end 2012-06-12T15:52:00+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/activesupport-2.3.14/lib/active_support/core_ext/kernel/reporting.rb:11:in
block in evaluate_init_rb' 2012-06-12T15:52:00+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/rails-2.3.14/lib/rails/plugin.rb:48:in
evaluate_init_rb' 2012-06-12T15:52:00+00:00 app[web.1]: from /app/vendor/plugins/engines/lib/engines/plugin.rb:44:in
block in load_plugins' 2012-06-12T15:52:00+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/rails-2.3.14/lib/rails/plugin/loader.rb:37:in
load_plugins' 2012-06-12T15:52:00+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/rails-2.3.14/lib/initializer.rb:369:in
<top (required)>' 2012-06-12T15:52:00+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1 /gems/rails-2.3.14/lib/initializer.rb:113:in
process' 2012-06-12T15:52:00+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/activesupport-2.3.14/lib/active_support/dependencies.rb:182:in
block in require' 2012-06-12T15:52:00+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/activesupport-2.3.14/lib/active_support/dependencies.rb:547:in
<top (required)>' 2012-06-12T15:52:00+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/activesupport-2.3.14/lib/active_support/dependencies.rb:182:in
The text was updated successfully, but these errors were encountered:
Update: Looks to be related to unhandled parser errors. Issue is fixed by error-handling routines implemented in https://github.com/benizi/redmine_msg_preview.
Sorry, something went wrong.
No branches or pull requests
From server logs following addition of plugin (on boot, before any pages requested or attachments uploaded):
2012-06-12T15:52:00+00:00 app[web.1]: /app/vendor/bundle/ruby/1.9.1/gems/rails-2.3.14/lib/rails/plugin.rb:158:in
eval': /app/vendor/plugins/redmine_msg_preview/init.rb:21: syntax error, unexpected ':', expecting keyword_then or ',' or ';' or '\n' (SyntaxError) 2012-06-12T15:52:00+00:00 app[web.1]: when "SENDER": 2012-06-12T15:52:00+00:00 app[web.1]: ^ 2012-06-12T15:52:00+00:00 app[web.1]: /app/vendor/plugins/redmine_msg_preview/init.rb:23: syntax error, unexpected keyword_when, expecting keyword_end 2012-06-12T15:52:00+00:00 app[web.1]: when "SUBJECT" 2012-06-12T15:52:00+00:00 app[web.1]: ^ 2012-06-12T15:52:00+00:00 app[web.1]: when "CREATION_TIME" 2012-06-12T15:52:00+00:00 app[web.1]: /app/vendor/plugins/redmine_msg_preview/init.rb:25: syntax error, unexpected keyword_when, expecting keyword_end 2012-06-12T15:52:00+00:00 app[web.1]: ^ 2012-06-12T15:52:00+00:00 app[web.1]: /app/vendor/plugins/redmine_msg_preview/init.rb:31: syntax error, unexpected keyword_end, expecting $end 2012-06-12T15:52:00+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/activesupport-2.3.14/lib/active_support/core_ext/kernel/reporting.rb:11:in
silence_warnings'2012-06-12T15:52:00+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/rails-2.3.14/lib/rails/plugin.rb:158:in
block in evaluate_init_rb' 2012-06-12T15:52:00+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/rails-2.3.14/lib/rails/plugin.rb:48:in
load'2012-06-12T15:52:00+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/rails-2.3.14/lib/rails/plugin.rb:154:in
evaluate_init_rb' 2012-06-12T15:52:00+00:00 app[web.1]: from /app/vendor/plugins/engines/lib/engines/plugin.rb:44:in
load'2012-06-12T15:52:00+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/rails-2.3.14/lib/rails/plugin/loader.rb:38:in
block in load_plugins' 2012-06-12T15:52:00+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/rails-2.3.14/lib/rails/plugin/loader.rb:37:in
each'2012-06-12T15:52:00+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/rails-2.3.14/lib/rails/plugin/loader.rb:37:in
load_plugins' 2012-06-12T15:52:00+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/rails-2.3.14/lib/initializer.rb:369:in
load_plugins'2012-06-12T15:52:00+00:00 app[web.1]: from /app/config/environment.rb:21:in
<top (required)>' 2012-06-12T15:52:00+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1 /gems/rails-2.3.14/lib/initializer.rb:113:in
run'2012-06-12T15:52:00+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/rails-2.3.14/lib/initializer.rb:165:in
process' 2012-06-12T15:52:00+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/activesupport-2.3.14/lib/active_support/dependencies.rb:182:in
require'2012-06-12T15:52:00+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/activesupport-2.3.14/lib/active_support/dependencies.rb:182:in
block in require' 2012-06-12T15:52:00+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/activesupport-2.3.14/lib/active_support/dependencies.rb:547:in
new_constants_in'2012-06-12T15:52:00+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/rails-2.3.14/lib/commands/server.rb:84:in
<top (required)>' 2012-06-12T15:52:00+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/activesupport-2.3.14/lib/active_support/dependencies.rb:182:in
require'The text was updated successfully, but these errors were encountered: