im sorry but i dont know ruby, i just wanted to install under turnkey redmine vm, but your plugin did not worked well for me, i was able to view some issues but most of them were giving me errors and here is the production log about one of them
i hope this helps to solve it
Started GET "/issues/7" for 192.168.1.100 at Tue Feb 26 18:44:38 +0200 2013
Processing by IssuesController#show as HTML
Parameters: {"id"=>"7"}
Current user: admin (id=1)
Rendered issues/_action_menu.html.erb (8.3ms)
Rendered issue_relations/_form.html.erb (2.9ms)
Rendered issues/_relations.html.erb (5.6ms)
Rendered plugins/redmine_inline_note_images_plugin/app/views/hooks/inline_image_hook/_inline_images_paste.erb (1.8ms)
Rendered issues/_history.html.erb (17.6ms)
Rendered issues/show.html.erb within layouts/base (66.2ms)
Completed 500 Internal Server Error in 167ms
Same issue here. Please let me know if you find a solution.
Started GET "/issues/1328" for 47.23.26.90 at Mon May 06 19:38:16 -0700 2013
Processing by IssuesController#show as HTML
Parameters: {"id"=>"1328"}
Current user: vadim (id=5)
Rendered issues/_action_menu.html.erb (82.8ms)
Rendered attachments/_links.html.erb (607.6ms)
Rendered issue_relations/_form.html.erb (203.1ms)
Rendered issues/_relations.html.erb (218.7ms)
Rendered plugins/redmine_inline_note_images_plugin/app/views/hooks/inline_image_hook/_inline_images_paste.erb (3.2ms)
Rendered issues/_history.html.erb (106.1ms)
Rendered issues/show.html.erb within layouts/base (1383.6ms)
Completed 500 Internal Server Error in 15510ms
On Tue, May 7, 2013 at 8:02 PM, vdostman notifications@github.com wrote:
Sorry, could you please explain - I have the following Redmine version, do
you mean I should install the new Rails or the new Redmine or a new version
of the plugin?
Redmine version 2.1.2.stable
Ruby version 1.8.7 (x86_64-linux)
Rails version 3.2.8
Environment production
Database adapter MySQL
—
Reply to this email directly or view it on GitHubhttps://github.com/anjlab/redmine_inline_note_images_plugin/issues/10#issuecomment-17551634
.
im sorry but i dont know ruby, i just wanted to install under turnkey redmine vm, but your plugin did not worked well for me, i was able to view some issues but most of them were giving me errors and here is the production log about one of them
i hope this helps to solve it
Started GET "/issues/7" for 192.168.1.100 at Tue Feb 26 18:44:38 +0200 2013 Processing by IssuesController#show as HTML Parameters: {"id"=>"7"} Current user: admin (id=1) Rendered issues/_action_menu.html.erb (8.3ms) Rendered issue_relations/_form.html.erb (2.9ms) Rendered issues/_relations.html.erb (5.6ms) Rendered plugins/redmine_inline_note_images_plugin/app/views/hooks/inline_image_hook/_inline_images_paste.erb (1.8ms) Rendered issues/_history.html.erb (17.6ms) Rendered issues/show.html.erb within layouts/base (66.2ms) Completed 500 Internal Server Error in 167ms
ActionView::Template::Error (compile error /var/www/redmine/plugins/redmine_inline_note_images_plugin/app/views/hooks/inline_image_hook/_inline_images_paste.erb:2: syntax error, unexpected ':', expecting ')' '); journal.details.where(property: 'attachment').each do |a| ^ /var/www/redmine/plugins/redmine_inline_note_images_plugin/app/views/hooks/inline_image_hook/_inline_images_paste.erb:2: syntax error, unexpected ')', expecting kEND '); journal.details.where(property: 'attachment').each do |a| ^): 1:
send' lib/redmine/hook.rb:111:in
view_issues_history_journal_bottom' lib/redmine/hook.rb:61:insend' lib/redmine/hook.rb:61:in
call_hook' lib/redmine/hook.rb:61:ineach' lib/redmine/hook.rb:61:in
call_hook' lib/redmine/hook.rb:58:intap' lib/redmine/hook.rb:58:in
call_hook' lib/redmine/hook.rb:158:incall_hook' app/views/issues/_history.html.erb:19:in
_app_views_issueshistory_html_erb_641410495_110370350' app/views/issues/_history.html.erb:2:ineach' app/views/issues/_history.html.erb:2:in
_app_views_issueshistory_htmlerb641410495_110370350' app/views/issues/show.html.erb:124:in_app_views_issues_show_html_erb___401764792_111250730' app/controllers/issues_controller.rb:119:in
show' app/controllers/issues_controller.rb:116:in `show'Same issue here. Please let me know if you find a solution.
Started GET "/issues/1328" for 47.23.26.90 at Mon May 06 19:38:16 -0700 2013 Processing by IssuesController#show as HTML Parameters: {"id"=>"1328"} Current user: vadim (id=5) Rendered issues/_action_menu.html.erb (82.8ms) Rendered attachments/_links.html.erb (607.6ms) Rendered issue_relations/_form.html.erb (203.1ms) Rendered issues/_relations.html.erb (218.7ms) Rendered plugins/redmine_inline_note_images_plugin/app/views/hooks/inline_image_hook/_inline_images_paste.erb (3.2ms) Rendered issues/_history.html.erb (106.1ms) Rendered issues/show.html.erb within layouts/base (1383.6ms) Completed 500 Internal Server Error in 15510ms
ActionView::Template::Error (compile error /home/usersvn/redmine.user.com/plugins/redmine_inline_note_images_plugin/app/views/hooks/inline_image_hook/_inline_images_paste.erb:2: syntax error, unexpected ':', expecting ')' journal.details.where(property: 'attachment').each do |a| ^ /home/usersvn/redmine.user.com/plugins/redmine_inline_note_images_plugin/app/views/hooks/inline_image_hook/_inline_images_paste.erb:2: syntax error, unexpected ')', expecting kEND journal.details.where(property: 'attachment').each do |a| ^): 1: <% attachments = Array.new %> 2: <% journal.details.where(property: 'attachment').each do |a| %> 3: <% attachments.push Attachment.find_by_id a.prop_key %> 4: <% end %> 5: lib/redmine/hook.rb:111:in
send' lib/redmine/hook.rb:111:in
view_issues_history_journal_bottom' lib/redmine/hook.rb:61:insend' lib/redmine/hook.rb:61:in
call_hook' lib/redmine/hook.rb:61:ineach' lib/redmine/hook.rb:61:in
call_hook' lib/redmine/hook.rb:58:intap' lib/redmine/hook.rb:58:in
call_hook' lib/redmine/hook.rb:158:incall_hook' app/views/issues/_history.html.erb:19:in
_app_views_issueshistory_html_erb_1619062525_1552315616560' app/views/issues/_history.html.erb:2:ineach' app/views/issues/_history.html.erb:2:in
_app_views_issueshistory_htmlerb1619062525_1552315616560' app/views/issues/show.html.erb:122:in_app_views_issues_show_html_erb___308537064_1552317660420' app/controllers/issues_controller.rb:117:in
show' app/controllers/issues_controller.rb:114:in `show'Seems like you are using old ruby version. Try to pull an update now
just pull new version of the plugin
Sergey A. Glukhov AnjLab Team http://anjlab.com
On Tue, May 7, 2013 at 8:02 PM, vdostman notifications@github.com wrote: