ncoders / redmine_local_avatars Goto Github PK
View Code? Open in Web Editor NEWLocal Avatars for redmine - initially imported from https://bugs.launchpad.net/redminelocalavatars
Local Avatars for redmine - initially imported from https://bugs.launchpad.net/redminelocalavatars
Is there any update for redmine 5.x? Or it exists an approximate date for its realization?
I have redmine 3.3.3 installed in my server and I downloaded the latest source code of redmine_local_avatars into my plugins folder. Even after running the migration script. when server is restarted, I am unable to view it in the installed list of plugins.
What may be the issue? I have tested my redmine for other plugins. Is this problem due to those plugins?
how i can set avatar for groups,,
im note this plugin only for user
Trying to install the plugin within a Redmine 5.0.x leads to error:
The Gemfile's dependencies are satisfied
rake aborted!
LoadError: cannot load such file -- local_avatars
/usr/local/bundle/gems/zeitwerk-2.5.4/lib/zeitwerk/kernel.rb:35:in `require'
/usr/local/bundle/gems/zeitwerk-2.5.4/lib/zeitwerk/kernel.rb:35:in `require'
/usr/src/redmine/plugins/redmine_local_avatars/init.rb:45:in `<top (required)>'
/usr/src/redmine/lib/redmine/plugin_loader.rb:31:in `load'
/usr/src/redmine/lib/redmine/plugin_loader.rb:31:in `run_initializer'
/usr/src/redmine/lib/redmine/plugin_loader.rb:108:in `each'
/usr/src/redmine/lib/redmine/plugin_loader.rb:108:in `block in load'
Trying to fix this issue according to the discussion in the redmine board https://www.redmine.org/boards/2/topics/67113 didn't help by changing the requirement pathes to the lib directory in init.rb.
Any ideas?
Images are public and accessible (if you known the link) without login in redmine
Hello,
It works fine if I use (as admin)
Logged in as <my_login> => Edit => Avatar.
When I push
My account => Change local avatar
error is occurred.
Log is attached.
redmineError.txt
Environment:
Redmine version 3.1.0.devel.14494
Ruby version 2.0.0-p384 (2014-01-12) [x86_64-linux-gnu]
Rails version 4.2.3
Environment production
Database adapter Mysql2
App 24213 stderr: ActionView::Template::Error (can not load translations from /opt/redmine/plugins/redmine_local_avatars/config/locales/pt-BR.yml: #<Psych::SyntaxError: (/opt/redmine/plugins/redmine_local_avatars/config/locales/pt-BR.yml): invalid leading UTF-8 octet at line 1 column 1>):
App 24213 stderr: 16: <p><%= f.text_field :firstname, :required => true %></p>
App 24213 stderr: 17: <p><%= f.text_field :lastname, :required => true %></p>
App 24213 stderr: 18: <p><%= f.text_field :mail, :required => true %></p>
App 24213 stderr: 19: <p><%= f.select :language, lang_options_for_select %></p>
App 24213 stderr: 20: <% if Setting.openid? %>
App 24213 stderr: 21: <p><%= f.text_field :identity_url %></p>
App 24213 stderr: 22: <% end %>
App 24213 stderr: lib/redmine/i18n.rb:152:in `init_translations'
App 24213 stderr: lib/redmine/i18n.rb:166:in `lookup'
App 24213 stderr: lib/redmine/i18n.rb:52:in `ll'
App 24213 stderr: lib/redmine/i18n.rb:96:in `block (2 levels) in languages_options'
App 24213 stderr: lib/redmine/i18n.rb:96:in `map'
App 24213 stderr: lib/redmine/i18n.rb:96:in `block in languages_options'
App 24213 stderr: lib/redmine/i18n.rb:95:in `languages_options'
App 24213 stderr: app/helpers/application_helper.rb:962:in `lang_options_for_select'
App 24213 stderr: app/views/my/account.html.erb:19:in `block in _app_views_my_account_html_erb___432315173573661915_9629760'
App 24213 stderr: app/helpers/application_helper.rb:977:in `labelled_form_for'
App 24213 stderr: app/views/my/account.html.erb:9:in `_app_views_my_account_html_erb___432315173573661915_9629760'
App 24213 stderr:
App 24213 stderr:
App 24213 stderr:
App 24213 stderr: ActionView::Template::Error (can not load translations from /opt/redmine/plugins/redmine_local_avatars/config/locales/pt-BR.yml: #<Psych::SyntaxError: (/opt/redmine/plugins/redmine_local_avatars/config/locales/pt-BR.yml): invalid leading UTF-8 octet at line 1 column 1>):
App 24213 stderr: 9: <p><%= f.text_field :firstname, :required => true %></p>
App 24213 stderr: 10: <p><%= f.text_field :lastname, :required => true %></p>
App 24213 stderr: 11: <p><%= f.text_field :mail, :required => true %></p>
App 24213 stderr: 12: <p><%= f.select :language, lang_options_for_select %></p>
App 24213 stderr: 13: <% if Setting.openid? %>
App 24213 stderr: 14: <p><%= f.text_field :identity_url %></p>
App 24213 stderr: 15: <% end %>
I get a 404 error when trying to edit my own account. The error is:
Rendered users/edit.html.erb within layouts/admin (233.4ms) Missing template, responding with 404
Environment:
Redmine version 3.2.0.stable
Ruby version 2.0.0-p648 (2015-12-16) [x86_64-linux-gnu]
Rails version 4.2.5
Environment production
Database adapter Mysql2
hello!
the plugin uses a method that was kicked from bundler: [1]
appearantly this takes effect on redmine 4.0.1
Is there a way someone can fix this - thanks in advance!
Kind Regards,
matt
[1]
root@myserver:/my/path/redmine-4.0# bundle exec rake db:migrate RAILS_ENV=production --trace
** Invoke db:migrate (first_time)
** Invoke db:load_config (first_time)
** Invoke environment (first_time)
** Execute environment
rake aborted!
NoMethodError: undefined method `to_prepare' for ActionDispatch::Callbacks:Class
Did you mean? to_param
/var/www/redmine/redmine-4.0/plugins/redmine_local_avatars/init.rb:28:in `<top (required)>'
/var/lib/gems/2.3.0/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:291:in `require'
/var/lib/gems/2.3.0/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:291:in `block in require'
/var/lib/gems/2.3.0/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:257:in `load_dependency'
/var/lib/gems/2.3.0/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:291:in `require'
/var/www/redmine/redmine-4.0/lib/redmine/plugin.rb:173:in `block in load'
/var/www/redmine/redmine-4.0/lib/redmine/plugin.rb:164:in `each'
/var/www/redmine/redmine-4.0/lib/redmine/plugin.rb:164:in `load'
/var/www/redmine/redmine-4.0/config/initializers/30-redmine.rb:21:in `<top (required)>'
/var/lib/gems/2.3.0/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:285:in `load'
/var/lib/gems/2.3.0/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:285:in `block in load'
/var/lib/gems/2.3.0/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:257:in `load_dependency'
/var/lib/gems/2.3.0/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:285:in `load'
/var/lib/gems/2.3.0/gems/railties-5.2.2/lib/rails/engine.rb:657:in `block in load_config_initializer'
/var/lib/gems/2.3.0/gems/activesupport-5.2.2/lib/active_support/notifications.rb:170:in `instrument'
/var/lib/gems/2.3.0/gems/railties-5.2.2/lib/rails/engine.rb:656:in `load_config_initializer'
/var/lib/gems/2.3.0/gems/railties-5.2.2/lib/rails/engine.rb:614:in `block (2 levels) in <class:Engine>'
/var/lib/gems/2.3.0/gems/railties-5.2.2/lib/rails/engine.rb:613:in `each'
/var/lib/gems/2.3.0/gems/railties-5.2.2/lib/rails/engine.rb:613:in `block in <class:Engine>'
/var/lib/gems/2.3.0/gems/railties-5.2.2/lib/rails/initializable.rb:32:in `instance_exec'
/var/lib/gems/2.3.0/gems/railties-5.2.2/lib/rails/initializable.rb:32:in `run'
/var/lib/gems/2.3.0/gems/railties-5.2.2/lib/rails/initializable.rb:61:in `block in run_initializers'
/usr/lib/ruby/2.3.0/tsort.rb:228:in `block in tsort_each'
/usr/lib/ruby/2.3.0/tsort.rb:350:in `block (2 levels) in each_strongly_connected_component'
/usr/lib/ruby/2.3.0/tsort.rb:422:in `block (2 levels) in each_strongly_connected_component_from'
/usr/lib/ruby/2.3.0/tsort.rb:431:in `each_strongly_connected_component_from'
/usr/lib/ruby/2.3.0/tsort.rb:421:in `block in each_strongly_connected_component_from'
/var/lib/gems/2.3.0/gems/railties-5.2.2/lib/rails/initializable.rb:50:in `each'
/var/lib/gems/2.3.0/gems/railties-5.2.2/lib/rails/initializable.rb:50:in `tsort_each_child'
/usr/lib/ruby/2.3.0/tsort.rb:415:in `call'
/usr/lib/ruby/2.3.0/tsort.rb:415:in `each_strongly_connected_component_from'
/usr/lib/ruby/2.3.0/tsort.rb:349:in `block in each_strongly_connected_component'
/usr/lib/ruby/2.3.0/tsort.rb:347:in `each'
/usr/lib/ruby/2.3.0/tsort.rb:347:in `call'
/usr/lib/ruby/2.3.0/tsort.rb:347:in `each_strongly_connected_component'
/usr/lib/ruby/2.3.0/tsort.rb:226:in `tsort_each'
/usr/lib/ruby/2.3.0/tsort.rb:205:in `tsort_each'
/var/lib/gems/2.3.0/gems/railties-5.2.2/lib/rails/initializable.rb:60:in `run_initializers'
/var/lib/gems/2.3.0/gems/railties-5.2.2/lib/rails/application.rb:361:in `initialize!'
/var/www/redmine/redmine-4.0/config/environment.rb:14:in `<top (required)>'
/var/lib/gems/2.3.0/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:291:in `require'
/var/lib/gems/2.3.0/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:291:in `block in require'
/var/lib/gems/2.3.0/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:257:in `load_dependency'
/var/lib/gems/2.3.0/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:291:in `require'
/var/lib/gems/2.3.0/gems/railties-5.2.2/lib/rails/application.rb:337:in `require_environment!'
/var/lib/gems/2.3.0/gems/railties-5.2.2/lib/rails/application.rb:520:in `block in run_tasks_blocks'
/var/lib/gems/2.3.0/gems/rake-12.3.2/lib/rake/task.rb:273:in `block in execute'
/var/lib/gems/2.3.0/gems/rake-12.3.2/lib/rake/task.rb:273:in `each'
/var/lib/gems/2.3.0/gems/rake-12.3.2/lib/rake/task.rb:273:in `execute'
/var/lib/gems/2.3.0/gems/rake-12.3.2/lib/rake/task.rb:214:in `block in invoke_with_call_chain'
/usr/lib/ruby/2.3.0/monitor.rb:214:in `mon_synchronize'
/var/lib/gems/2.3.0/gems/rake-12.3.2/lib/rake/task.rb:194:in `invoke_with_call_chain'
/var/lib/gems/2.3.0/gems/rake-12.3.2/lib/rake/task.rb:238:in `block in invoke_prerequisites'
/var/lib/gems/2.3.0/gems/rake-12.3.2/lib/rake/task.rb:236:in `each'
/var/lib/gems/2.3.0/gems/rake-12.3.2/lib/rake/task.rb:236:in `invoke_prerequisites'
/var/lib/gems/2.3.0/gems/rake-12.3.2/lib/rake/task.rb:213:in `block in invoke_with_call_chain'
/usr/lib/ruby/2.3.0/monitor.rb:214:in `mon_synchronize'
/var/lib/gems/2.3.0/gems/rake-12.3.2/lib/rake/task.rb:194:in `invoke_with_call_chain'
/var/lib/gems/2.3.0/gems/rake-12.3.2/lib/rake/task.rb:238:in `block in invoke_prerequisites'
/var/lib/gems/2.3.0/gems/rake-12.3.2/lib/rake/task.rb:236:in `each'
/var/lib/gems/2.3.0/gems/rake-12.3.2/lib/rake/task.rb:236:in `invoke_prerequisites'
/var/lib/gems/2.3.0/gems/rake-12.3.2/lib/rake/task.rb:213:in `block in invoke_with_call_chain'
/usr/lib/ruby/2.3.0/monitor.rb:214:in `mon_synchronize'
/var/lib/gems/2.3.0/gems/rake-12.3.2/lib/rake/task.rb:194:in `invoke_with_call_chain'
/var/lib/gems/2.3.0/gems/rake-12.3.2/lib/rake/task.rb:183:in `invoke'
/var/lib/gems/2.3.0/gems/rake-12.3.2/lib/rake/application.rb:160:in `invoke_task'
/var/lib/gems/2.3.0/gems/rake-12.3.2/lib/rake/application.rb:116:in `block (2 levels) in top_level'
/var/lib/gems/2.3.0/gems/rake-12.3.2/lib/rake/application.rb:116:in `each'
/var/lib/gems/2.3.0/gems/rake-12.3.2/lib/rake/application.rb:116:in `block in top_level'
/var/lib/gems/2.3.0/gems/rake-12.3.2/lib/rake/application.rb:125:in `run_with_threads'
/var/lib/gems/2.3.0/gems/rake-12.3.2/lib/rake/application.rb:110:in `top_level'
/var/lib/gems/2.3.0/gems/rake-12.3.2/lib/rake/application.rb:83:in `block in run'
/var/lib/gems/2.3.0/gems/rake-12.3.2/lib/rake/application.rb:186:in `standard_exception_handling'
/var/lib/gems/2.3.0/gems/rake-12.3.2/lib/rake/application.rb:80:in `run'
/var/lib/gems/2.3.0/gems/rake-12.3.2/exe/rake:27:in `<top (required)>'
/usr/local/bin/rake:22:in `load'
/usr/local/bin/rake:22:in `<main>'
Tasks: TOP => db:migrate => db:load_config => environment`
The avatar should be displayed when the user is authenticated only, or add option to allow public/private avatars in the settings.
http://redmin.com/account/get_avatar/xxx
Will display any image uploaded.
Hello,
I've installed your plugin on the current version 2.2.2 and get the following error when i try to edit a user as administrator:
Processing by UsersController#edit as HTML
Parameters: {"id"=>"2"}
Current user: test (id=12)
Rendered users/_mail_notifications.html.erb (64.0ms)
Rendered users/_preferences.html.erb (6.6ms)
Rendered users/_form.html.erb (80.9ms)
Rendered users/_general.html.erb (82.4ms)
Rendered users/_groups.html.erb (153.2ms)
Rendered users/_memberships.html.erb (1879.9ms)
Rendered common/_tabs.html.erb (2237.6ms)
Rendered users/edit.html.erb within layouts/admin (2241.8ms)
Missing template, responding with 404
Do you know a fix for this problem?
Thank a lot.
NameError: undefined method avatar' for module
ApplicationHelper'
/usr/src/redmine/plugins/redmine_local_avatars/lib/application_helper_avatar_patch.rb:25:in alias_method' /usr/src/redmine/plugins/redmine_local_avatars/lib/application_helper_avatar_patch.rb:25:in
block in included'
/usr/src/redmine/plugins/redmine_local_avatars/lib/application_helper_avatar_patch.rb:24:in class_eval' /usr/src/redmine/plugins/redmine_local_avatars/lib/application_helper_avatar_patch.rb:24:in
included'
/usr/src/redmine/plugins/redmine_local_avatars/init.rb:35:in include' /usr/src/redmine/plugins/redmine_local_avatars/init.rb:35:in
block in <top (required)>'
/usr/local/bundle/gems/activesupport-5.2.4.1/lib/active_support/callbacks.rb:426:in instance_exec' /usr/local/bundle/gems/activesupport-5.2.4.1/lib/active_support/callbacks.rb:426:in
block in make_lambda'
/usr/local/bundle/gems/activesupport-5.2.4.1/lib/active_support/callbacks.rb:198:in block (2 levels) in halting' /usr/local/bundle/gems/activesupport-5.2.4.1/lib/active_support/callbacks.rb:606:in
block (2 levels) in default_terminator'
/usr/local/bundle/gems/activesupport-5.2.4.1/lib/active_support/callbacks.rb:605:in catch' /usr/local/bundle/gems/activesupport-5.2.4.1/lib/active_support/callbacks.rb:605:in
block in default_terminator'
/usr/local/bundle/gems/activesupport-5.2.4.1/lib/active_support/callbacks.rb:199:in block in halting' /usr/local/bundle/gems/activesupport-5.2.4.1/lib/active_support/callbacks.rb:513:in
block in invoke_before'
/usr/local/bundle/gems/activesupport-5.2.4.1/lib/active_support/callbacks.rb:513:in each' /usr/local/bundle/gems/activesupport-5.2.4.1/lib/active_support/callbacks.rb:513:in
invoke_before'
/usr/local/bundle/gems/activesupport-5.2.4.1/lib/active_support/callbacks.rb:131:in run_callbacks' /usr/local/bundle/gems/activesupport-5.2.4.1/lib/active_support/reloader.rb:89:in
prepare!'
/usr/local/bundle/gems/railties-5.2.4.1/lib/rails/application/finisher.rb:63:in block in <module:Finisher>' /usr/local/bundle/gems/railties-5.2.4.1/lib/rails/initializable.rb:32:in
instance_exec'
/usr/local/bundle/gems/railties-5.2.4.1/lib/rails/initializable.rb:32:in run' /usr/local/bundle/gems/railties-5.2.4.1/lib/rails/initializable.rb:61:in
block in run_initializers'
/usr/local/bundle/gems/railties-5.2.4.1/lib/rails/initializable.rb:60:in run_initializers' /usr/local/bundle/gems/railties-5.2.4.1/lib/rails/application.rb:361:in
initialize!'
/usr/src/redmine/config/environment.rb:16:in <top (required)>' /usr/local/bundle/gems/railties-5.2.4.1/lib/rails/application.rb:337:in
require'
/usr/local/bundle/gems/railties-5.2.4.1/lib/rails/application.rb:337:in require_environment!' /usr/local/bundle/gems/railties-5.2.4.1/lib/rails/application.rb:520:in
block in run_tasks_blocks'
/usr/local/bundle/gems/rake-13.0.1/exe/rake:27:in <top (required)>' /usr/local/bin/bundle:23:in
load'
/usr/local/bin/bundle:23:in `
Thanks for improving this excellent plugin.
Could you please add your copyright statement and tag a release?
Hi,
are you planning to release a version for redmine 3.x?
Thank you very much!
When a user changes his avatar, the previous uploaded file remains in the database without reference. It would be helpful to have those replaced files deleted automatically.
Hi
I need to create issue by email.
So I run command line as a below .
rake -f /opt/redmine-3.0.2-0/apps/redmine/htdocs/Rakefile redmine:email:receive_imap RAILS_ENV="production" host=imap.gmail.com username=[email protected] password="xxxxxxx"
rake aborted!
LoadError: cannot load such file -- application
/opt/redmine-3.0.2-0/apps/redmine/htdocs/plugins/redmine_local_avatars/lib/users_avatar_patch.rb:1:in <top (required)>' /opt/redmine-3.0.2-0/apps/redmine/htdocs/plugins/redmine_local_avatars/init.rb:3:in
<top (required)>'
/opt/redmine-3.0.2-0/apps/redmine/htdocs/lib/redmine/plugin.rb:155:in block in load' /opt/redmine-3.0.2-0/apps/redmine/htdocs/lib/redmine/plugin.rb:146:in
each'
/opt/redmine-3.0.2-0/apps/redmine/htdocs/lib/redmine/plugin.rb:146:in load' /opt/redmine-3.0.2-0/apps/redmine/htdocs/config/initializers/30-redmine.rb:21:in
<top (required)>'
/opt/redmine-3.0.2-0/apps/redmine/htdocs/config/environment.rb:14:in `<top (required)>'
Tasks: TOP => redmine:email:receive_imap => environment
(See full trace by running task with --trace)
Please help me.
root@redmine .../www/redmine# rake redmine:plugins:migrate RAILS_ENV=production --trace
** Invoke redmine:plugins:migrate (first_time)
** Invoke environment (first_time)
** Execute environment
rake aborted!
NameError: undefined method avatar' for module
ApplicationHelper'
/var/www/redmine/plugins/redmine_local_avatars/lib/application_helper_avatar_patch.rb:25:in alias_method' /var/www/redmine/plugins/redmine_local_avatars/lib/application_helper_avatar_patch.rb:25:in
block in included'
/var/www/redmine/plugins/redmine_local_avatars/lib/application_helper_avatar_patch.rb:24:in class_eval' /var/www/redmine/plugins/redmine_local_avatars/lib/application_helper_avatar_patch.rb:24:in
included'
/var/www/redmine/plugins/redmine_local_avatars/init.rb:35:in include' /var/www/redmine/plugins/redmine_local_avatars/init.rb:35:in
block in <top (required)>'
/usr/local/rbenv/versions/2.3.5/lib/ruby/gems/2.3.0/gems/activesupport-5.2.4.1/lib/active_support/callbacks.rb:426:in instance_exec' /usr/local/rbenv/versions/2.3.5/lib/ruby/gems/2.3.0/gems/activesupport-5.2.4.1/lib/active_support/callbacks.rb:426:in
block in make_lambda'
/usr/local/rbenv/versions/2.3.5/lib/ruby/gems/2.3.0/gems/activesupport-5.2.4.1/lib/active_support/callbacks.rb:198:in block (2 levels) in halting' /usr/local/rbenv/versions/2.3.5/lib/ruby/gems/2.3.0/gems/activesupport-5.2.4.1/lib/active_support/callbacks.rb:606:in
block (2 levels) in default_terminator'
/usr/local/rbenv/versions/2.3.5/lib/ruby/gems/2.3.0/gems/activesupport-5.2.4.1/lib/active_support/callbacks.rb:605:in catch' /usr/local/rbenv/versions/2.3.5/lib/ruby/gems/2.3.0/gems/activesupport-5.2.4.1/lib/active_support/callbacks.rb:605:in
block in default_terminator'
/usr/local/rbenv/versions/2.3.5/lib/ruby/gems/2.3.0/gems/activesupport-5.2.4.1/lib/active_support/callbacks.rb:199:in block in halting' /usr/local/rbenv/versions/2.3.5/lib/ruby/gems/2.3.0/gems/activesupport-5.2.4.1/lib/active_support/callbacks.rb:513:in
block in invoke_before'
/usr/local/rbenv/versions/2.3.5/lib/ruby/gems/2.3.0/gems/activesupport-5.2.4.1/lib/active_support/callbacks.rb:513:in each' /usr/local/rbenv/versions/2.3.5/lib/ruby/gems/2.3.0/gems/activesupport-5.2.4.1/lib/active_support/callbacks.rb:513:in
invoke_before'
/usr/local/rbenv/versions/2.3.5/lib/ruby/gems/2.3.0/gems/activesupport-5.2.4.1/lib/active_support/callbacks.rb:131:in run_callbacks' /usr/local/rbenv/versions/2.3.5/lib/ruby/gems/2.3.0/gems/activesupport-5.2.4.1/lib/active_support/reloader.rb:89:in
prepare!'
/usr/local/rbenv/versions/2.3.5/lib/ruby/gems/2.3.0/gems/railties-5.2.4.1/lib/rails/application/finisher.rb:63:in block in <module:Finisher>' /usr/local/rbenv/versions/2.3.5/lib/ruby/gems/2.3.0/gems/railties-5.2.4.1/lib/rails/initializable.rb:32:in
instance_exec'
/usr/local/rbenv/versions/2.3.5/lib/ruby/gems/2.3.0/gems/railties-5.2.4.1/lib/rails/initializable.rb:32:in run' /usr/local/rbenv/versions/2.3.5/lib/ruby/gems/2.3.0/gems/railties-5.2.4.1/lib/rails/initializable.rb:61:in
block in run_initializers'
/usr/local/rbenv/versions/2.3.5/lib/ruby/2.3.0/tsort.rb:228:in block in tsort_each' /usr/local/rbenv/versions/2.3.5/lib/ruby/2.3.0/tsort.rb:350:in
block (2 levels) in each_strongly_connected_component'
/usr/local/rbenv/versions/2.3.5/lib/ruby/2.3.0/tsort.rb:431:in each_strongly_connected_component_from' /usr/local/rbenv/versions/2.3.5/lib/ruby/2.3.0/tsort.rb:349:in
block in each_strongly_connected_component'
/usr/local/rbenv/versions/2.3.5/lib/ruby/2.3.0/tsort.rb:347:in each' /usr/local/rbenv/versions/2.3.5/lib/ruby/2.3.0/tsort.rb:347:in
call'
/usr/local/rbenv/versions/2.3.5/lib/ruby/2.3.0/tsort.rb:347:in each_strongly_connected_component' /usr/local/rbenv/versions/2.3.5/lib/ruby/2.3.0/tsort.rb:226:in
tsort_each'
/usr/local/rbenv/versions/2.3.5/lib/ruby/2.3.0/tsort.rb:205:in tsort_each' /usr/local/rbenv/versions/2.3.5/lib/ruby/gems/2.3.0/gems/railties-5.2.4.1/lib/rails/initializable.rb:60:in
run_initializers'
/usr/local/rbenv/versions/2.3.5/lib/ruby/gems/2.3.0/gems/railties-5.2.4.1/lib/rails/application.rb:361:in initialize!' /var/www/redmine/config/environment.rb:16:in
<top (required)>'
/usr/local/rbenv/versions/2.3.5/lib/ruby/gems/2.3.0/gems/polyglot-0.3.5/lib/polyglot.rb:65:in require' /usr/local/rbenv/versions/2.3.5/lib/ruby/gems/2.3.0/gems/polyglot-0.3.5/lib/polyglot.rb:65:in
require'
/usr/local/rbenv/versions/2.3.5/lib/ruby/gems/2.3.0/gems/activesupport-5.2.4.1/lib/active_support/dependencies.rb:291:in block in require' /usr/local/rbenv/versions/2.3.5/lib/ruby/gems/2.3.0/gems/activesupport-5.2.4.1/lib/active_support/dependencies.rb:257:in
load_dependency'
/usr/local/rbenv/versions/2.3.5/lib/ruby/gems/2.3.0/gems/activesupport-5.2.4.1/lib/active_support/dependencies.rb:291:in require' /usr/local/rbenv/versions/2.3.5/lib/ruby/gems/2.3.0/gems/railties-5.2.4.1/lib/rails/application.rb:337:in
require_environment!'
/usr/local/rbenv/versions/2.3.5/lib/ruby/gems/2.3.0/gems/railties-5.2.4.1/lib/rails/application.rb:520:in block in run_tasks_blocks' /usr/local/rbenv/versions/2.3.5/lib/ruby/gems/2.3.0/gems/rake-13.0.1/lib/rake/task.rb:281:in
block in execute'
/usr/local/rbenv/versions/2.3.5/lib/ruby/gems/2.3.0/gems/rake-13.0.1/lib/rake/task.rb:281:in each' /usr/local/rbenv/versions/2.3.5/lib/ruby/gems/2.3.0/gems/rake-13.0.1/lib/rake/task.rb:281:in
execute'
/usr/local/rbenv/versions/2.3.5/lib/ruby/gems/2.3.0/gems/rake-13.0.1/lib/rake/task.rb:219:in block in invoke_with_call_chain' /usr/local/rbenv/versions/2.3.5/lib/ruby/2.3.0/monitor.rb:214:in
mon_synchronize'
/usr/local/rbenv/versions/2.3.5/lib/ruby/gems/2.3.0/gems/rake-13.0.1/lib/rake/task.rb:199:in invoke_with_call_chain' /usr/local/rbenv/versions/2.3.5/lib/ruby/gems/2.3.0/gems/rake-13.0.1/lib/rake/task.rb:243:in
block in invoke_prerequisites'
/usr/local/rbenv/versions/2.3.5/lib/ruby/gems/2.3.0/gems/rake-13.0.1/lib/rake/task.rb:241:in each' /usr/local/rbenv/versions/2.3.5/lib/ruby/gems/2.3.0/gems/rake-13.0.1/lib/rake/task.rb:241:in
invoke_prerequisites'
/usr/local/rbenv/versions/2.3.5/lib/ruby/gems/2.3.0/gems/rake-13.0.1/lib/rake/task.rb:218:in block in invoke_with_call_chain' /usr/local/rbenv/versions/2.3.5/lib/ruby/2.3.0/monitor.rb:214:in
mon_synchronize'
/usr/local/rbenv/versions/2.3.5/lib/ruby/gems/2.3.0/gems/rake-13.0.1/lib/rake/task.rb:199:in invoke_with_call_chain' /usr/local/rbenv/versions/2.3.5/lib/ruby/gems/2.3.0/gems/rake-13.0.1/lib/rake/task.rb:188:in
invoke'
/usr/local/rbenv/versions/2.3.5/lib/ruby/gems/2.3.0/gems/rake-13.0.1/lib/rake/application.rb:160:in invoke_task' /usr/local/rbenv/versions/2.3.5/lib/ruby/gems/2.3.0/gems/rake-13.0.1/lib/rake/application.rb:116:in
block (2 levels) in top_level'
/usr/local/rbenv/versions/2.3.5/lib/ruby/gems/2.3.0/gems/rake-13.0.1/lib/rake/application.rb:116:in each' /usr/local/rbenv/versions/2.3.5/lib/ruby/gems/2.3.0/gems/rake-13.0.1/lib/rake/application.rb:116:in
block in top_level'
/usr/local/rbenv/versions/2.3.5/lib/ruby/gems/2.3.0/gems/rake-13.0.1/lib/rake/application.rb:125:in run_with_threads' /usr/local/rbenv/versions/2.3.5/lib/ruby/gems/2.3.0/gems/rake-13.0.1/lib/rake/application.rb:110:in
top_level'
/usr/local/rbenv/versions/2.3.5/lib/ruby/gems/2.3.0/gems/rake-13.0.1/lib/rake/application.rb:83:in block in run' /usr/local/rbenv/versions/2.3.5/lib/ruby/gems/2.3.0/gems/rake-13.0.1/lib/rake/application.rb:186:in
standard_exception_handling'
/usr/local/rbenv/versions/2.3.5/lib/ruby/gems/2.3.0/gems/rake-13.0.1/lib/rake/application.rb:80:in run' /usr/local/rbenv/versions/2.3.5/lib/ruby/gems/2.3.0/gems/rake-13.0.1/exe/rake:27:in
<top (required)>'
/usr/local/rbenv/versions/2.3.5/bin/rake:23:in load' /usr/local/rbenv/versions/2.3.5/bin/rake:23:in
redmine 3.3.0
redmine_local_avatars 1.0.3
ERROR 500
Internal error
An error occurred on the page you were trying to access.
If you continue to experience problems please contact your Redmine administrator for assistance.
If you are the Redmine administrator, check your log files for details about the error.
Back
Log:
Started GET "/users/11/edit" for 10.1.8.220 at 2016-09-01 15:52:20 +0500
Processing by UsersController#edit as HTML
Parameters: {"id"=>"11"}
Current user: admin (id=1)
Rendered plugins/a_common_libs/app/views/hooks/a_common_libs/_favourite_project.html.erb (16.8ms)
Rendered plugins/redmine_intouch/app/views/settings/_telegram_user.html.erb (2.2ms)
Rendered plugins/redmine_pretend/app/views/user/_pretend_to.html.erb (525.0ms)
Rendered users/_form.html.erb (552.4ms)
Rendered users/_general.html.erb (553.2ms)
Rendered common/_tabs.html.erb (555.1ms)
Rendered users/edit.html.erb within layouts/admin (560.8ms)
Completed 500 Internal Server Error in 573ms (ActiveRecord: 9.5ms)
ActionView::Template::Error (undefined method can_user_pretend_to?' for #<#<Class:0x00000007c34950>:0x007fd6869995f8>): 1: <%= link_to(l(:button_pretend), pretend_to_path(@user), :class => 'icon', :method => :post) if can_user_pretend_to?(@user) %> plugins/redmine_pretend/app/views/user/_pretend_to.html.erb:1:in
_plugins_redmine_pretend_app_views_user__pretend_to_html_erb___2530822528522774163_26733360'
lib/redmine/hook/view_listener.rb:59:in block (2 levels) in render_on' lib/redmine/hook/view_listener.rb:57:in
map'
lib/redmine/hook/view_listener.rb:57:in block in render_on' lib/redmine/hook.rb:61:in
block (2 levels) in call_hook'
lib/redmine/hook.rb:61:in each' lib/redmine/hook.rb:61:in
block in call_hook'
lib/redmine/hook.rb:58:in tap' lib/redmine/hook.rb:58:in
call_hook'
lib/redmine/hook.rb:96:in call_hook' app/views/users/_form.html.erb:24:in
_app_views_users__form_html_erb__4322404218939536333_34811780'
app/views/users/_general.html.erb:2:in block in _app_views_users__general_html_erb__662679684733538143_35283340' app/helpers/application_helper.rb:1051:in
labelled_form_for'
app/views/users/_general.html.erb:1:in _app_views_users__general_html_erb__662679684733538143_35283340' app/views/common/_tabs.html.erb:17:in
block in _app_views_common__tabs_html_erb___2045936875574142465_35813400'
app/views/common/_tabs.html.erb:16:in each' app/views/common/_tabs.html.erb:16:in
_app_views_common__tabs_html_erb___2045936875574142465_35813400'
app/helpers/application_helper.rb:325:in render_tabs' app/views/users/edit.html.erb:10:in
_app_views_users_edit_html_erb___3716145409059403338_36717300'
lib/redmine/sudo_mode.rb:63:in `sudo_mode'
Is this plugin compatible to Redmine 3.4?
Thanks for the info!
Hi
I saw link http://localhost:3000/account/get_avatar/6
It's should be http://insight.zcoder.io/account/get_avatar/6
Can you help me please
Copied plugin in to redmine\htdocs\plugins\redmine_local_avatars
executed bundle exec rake redmine:plugins:migrate RAILS_ENV="production"
Error:
rake aborted! NameError: uninitialized constant LocalAvatarsPlugin::UsersControllerPatch D:/Bitnami/redmine-3.1.0-0/apps/redmine/htdocs/plugins/redmine_local_avatars/init.rb:37:in
block in <top (required)>'
D:/Bitnami/redmine-3.1.0-0/apps/redmine/htdocs/config/environment.rb:14:in <top (required)>' D:/Bitnami/redmine-3.1.0-0/apps/redmine/htdocs/plugins/a_common_libs/lib/tasks/a_common_libs.rake:1:in
<top (required)>'
D:/Bitnami/redmine-3.1.0-0/apps/redmine/htdocs/lib/tasks/redmine.rake:179:in block in <top (required)>' D:/Bitnami/redmine-3.1.0-0/apps/redmine/htdocs/lib/tasks/redmine.rake:179:in
each'
D:/Bitnami/redmine-3.1.0-0/apps/redmine/htdocs/lib/tasks/redmine.rake:179:in <top (required)>' D:/Bitnami/redmine-3.1.0-0/apps/redmine/htdocs/Rakefile:7:in
<top (required)>'
(See full trace by running task with --trace)`
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.