项目

一般

简介

插件 » Redmine Local Avatars 本地头像插件

Redmine Local Avatars

发布于: https://redmine.org/plugins/redmine_local_avatars
兼容于: Redmine 4.1.*,  4.0.*

最新版本: 1.0.5 更新日期: 2024-07-03 13:39

评论

添加评论

匿名用户超过一年 之前添加

支持redmine5.0吗

redmineplugins.cn Admin超过一年 之前添加

当前不可以,如有需要可重新对redmine5做兼容适配

redmineplugins.cn Admin超过 2 年 之前添加

@n kiven 错误显示你的redmine版本太低(3.4.13),而redmine_issues_panel插件需要支持4.1或以上的版本才可以。

n kiven超过 2 年 之前添加

/home/redmine/redmine/plugins/redmine_ckeditor/init.rb:22: warning: constant Loofah::HTML5::WhiteList is deprecated
rake aborted!
Redmine::PluginRequirementError: redmine_issues_panel plugin requires Redmine 4.1 or higher but current is 3.4.13.stable
/home/redmine/redmine/lib/redmine/plugin.rb:210:in `block in requires_redmine’
/home/redmine/redmine/lib/redmine/plugin.rb:205:in `each’
/home/redmine/redmine/lib/redmine/plugin.rb:205:in `requires_redmine’
/home/redmine/redmine/plugins/redmine_issues_panel/init.rb:10:in `block in <top (required)>'
/home/redmine/redmine/lib/redmine/plugin.rb:75:in `instance_eval’
/home/redmine/redmine/lib/redmine/plugin.rb:75:in `register’
/home/redmine/redmine/plugins/redmine_issues_panel/init.rb:6:in `<top (required)>'
/home/redmine/redmine/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.11.1/lib/active_support/dependencies.rb:274:in `require’
/home/redmine/redmine/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.11.1/lib/active_support/dependencies.rb:274:in `block in require’
/home/redmine/redmine/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.11.1/lib/active_support/dependencies.rb:240:in `load_dependency’
/home/redmine/redmine/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.11.1/lib/active_support/dependencies.rb:274:in `require’
/home/redmine/redmine/lib/redmine/plugin.rb:155:in `block in load’
/home/redmine/redmine/lib/redmine/plugin.rb:146:in `each’
/home/redmine/redmine/lib/redmine/plugin.rb:146:in `load’
/home/redmine/redmine/config/initializers/30-redmine.rb:21:in `<top (required)>'
/home/redmine/redmine/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.11.1/lib/active_support/dependencies.rb:268:in `load’
/home/redmine/redmine/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.11.1/lib/active_support/dependencies.rb:268:in `block in load’
/home/redmine/redmine/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.11.1/lib/active_support/dependencies.rb:240:in `load_dependency’
/home/redmine/redmine/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.11.1/lib/active_support/dependencies.rb:268:in `load’
/home/redmine/redmine/vendor/bundle/ruby/2.3.0/gems/railties-4.2.11.1/lib/rails/engine.rb:652:in `block in load_config_initializer’
/home/redmine/redmine/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.11.1/lib/active_support/notifications.rb:166:in `instrument’
/home/redmine/redmine/vendor/bundle/ruby/2.3.0/gems/railties-4.2.11.1/lib/rails/engine.rb:651:in `load_config_initializer’
/home/redmine/redmine/vendor/bundle/ruby/2.3.0/gems/railties-4.2.11.1/lib/rails/engine.rb:616:in `block (2 levels) in <class:Engine>'
/home/redmine/redmine/vendor/bundle/ruby/2.3.0/gems/railties-4.2.11.1/lib/rails/engine.rb:615:in `each’
/home/redmine/redmine/vendor/bundle/ruby/2.3.0/gems/railties-4.2.11.1/lib/rails/engine.rb:615:in `block in <class:Engine>'
/home/redmine/redmine/vendor/bundle/ruby/2.3.0/gems/railties-4.2.11.1/lib/rails/initializable.rb:30:in `instance_exec’
/home/redmine/redmine/vendor/bundle/ruby/2.3.0/gems/railties-4.2.11.1/lib/rails/initializable.rb:30:in `run’
/home/redmine/redmine/vendor/bundle/ruby/2.3.0/gems/railties-4.2.11.1/lib/rails/initializable.rb:55:in `block in run_initializers’
/home/redmine/redmine/vendor/bundle/ruby/2.3.0/gems/railties-4.2.11.1/lib/rails/initializable.rb:44:in `each’
/home/redmine/redmine/vendor/bundle/ruby/2.3.0/gems/railties-4.2.11.1/lib/rails/initializable.rb:44:in `tsort_each_child’
/home/redmine/redmine/vendor/bundle/ruby/2.3.0/gems/railties-4.2.11.1/lib/rails/initializable.rb:54:in `run_initializers’
/home/redmine/redmine/vendor/bundle/ruby/2.3.0/gems/railties-4.2.11.1/lib/rails/application.rb:352:in `initialize!'
/home/redmine/redmine/config/environment.rb:14:in `<top (required)>'
/home/redmine/redmine/vendor/bundle/ruby/2.3.0/gems/railties-4.2.11.1/lib/rails/application.rb:328:in `require’
/home/redmine/redmine/vendor/bundle/ruby/2.3.0/gems/railties-4.2.11.1/lib/rails/application.rb:328:in `require_environment!'
/home/redmine/redmine/vendor/bundle/ruby/2.3.0/gems/railties-4.2.11.1/lib/rails/application.rb:457:in `block in run_tasks_blocks’
/home/redmine/redmine/vendor/bundle/ruby/2.3.0/gems/rake-13.0.1/exe/rake:27:in `<top (required)>'
Tasks: TOP ⇒ redmine:plugins:migrate ⇒ environment
(See full trace by running task with --trace)

redmineplugins.cn Admin超过 4 年 之前添加

Redmine 4.1新增了一个 avatars_helper 。如果是Redmine 4.1 ,请下载 redmine_local_avatars-1.0.5.redmine4.1_fixed-3.zip 这个包

redmineplugins.cn Admin超过 4 年 之前添加

是我上传的新版本吗? 方便加下我的QQ号 595022

匿名用户超过 4 年 之前添加

兄弟,还是一样的错误

redmineplugins.cn Admin超过 4 年 之前添加

我上传了一个修复4.1兼容问题的版本,你试一下吧。文件名 redmine_local_avatars-1.0.5.redmine4.1_fixed.zip

redmineplugins.cn Admin超过 4 年 之前添加

刚才测试发现1.0.5的版本的确不支持Redmine 4.1,我改了一个兼容Redmine 4.1的版本。

匿名用户超过 4 年 之前添加

是不是缺少个文件? 我看文件夹里还有个同名的符号链接,指向/Users/liwei/Documents/svndata/blackbox.local/plugins/redmine_local_avatars/

匿名用户超过 4 年 之前添加

4.1

redmineplugins.cn Admin超过 4 年 之前添加

你的Redmine的版本是多少?

匿名用户超过 4 年 之前添加

bundle exec rake redmine:plugins:migrate RAILS_ENV=production

rake aborted!
NameError: undefined method `avatar’ for module `ApplicationHelper’
/opt/redmine/plugins/redmine_local_avatars/lib/application_helper_avatar_patch.rb:25:in `alias_method’
/opt/redmine/plugins/redmine_local_avatars/lib/application_helper_avatar_patch.rb:25:in `block in included’
/opt/redmine/plugins/redmine_local_avatars/lib/application_helper_avatar_patch.rb:24:in `class_eval’
/opt/redmine/plugins/redmine_local_avatars/lib/application_helper_avatar_patch.rb:24:in `included’
/opt/redmine/plugins/redmine_local_avatars/init.rb:35:in `include’
/opt/redmine/plugins/redmine_local_avatars/init.rb:35:in `block in <top (required)>'
/opt/redmine/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.4.1/lib/active_support/callbacks.rb:426:in `instance_exec’
/opt/redmine/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.4.1/lib/active_support/callbacks.rb:426:in `block in make_lambda’
/opt/redmine/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.4.1/lib/active_support/callbacks.rb:198:in `block (2 levels) in halting’
/opt/redmine/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.4.1/lib/active_support/callbacks.rb:606:in `block (2 levels) in default_terminator’
/opt/redmine/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.4.1/lib/active_support/callbacks.rb:605:in `catch’
/opt/redmine/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.4.1/lib/active_support/callbacks.rb:605:in `block in default_terminator’
/opt/redmine/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.4.1/lib/active_support/callbacks.rb:199:in `block in halting’
/opt/redmine/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.4.1/lib/active_support/callbacks.rb:513:in `block in invoke_before’
/opt/redmine/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.4.1/lib/active_support/callbacks.rb:513:in `each’
/opt/redmine/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.4.1/lib/active_support/callbacks.rb:513:in `invoke_before’
/opt/redmine/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.4.1/lib/active_support/callbacks.rb:131:in `run_callbacks’
/opt/redmine/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.4.1/lib/active_support/reloader.rb:89:in `prepare!'
/opt/redmine/vendor/bundle/ruby/2.5.0/gems/railties-5.2.4.1/lib/rails/application/finisher.rb:63:in `block in <module:Finisher>'
/opt/redmine/vendor/bundle/ruby/2.5.0/gems/railties-5.2.4.1/lib/rails/initializable.rb:32:in `instance_exec’
/opt/redmine/vendor/bundle/ruby/2.5.0/gems/railties-5.2.4.1/lib/rails/initializable.rb:32:in `run’
/opt/redmine/vendor/bundle/ruby/2.5.0/gems/railties-5.2.4.1/lib/rails/initializable.rb:61:in `block in run_initializers’
/opt/redmine/vendor/bundle/ruby/2.5.0/gems/railties-5.2.4.1/lib/rails/initializable.rb:60:in `run_initializers’
/opt/redmine/vendor/bundle/ruby/2.5.0/gems/railties-5.2.4.1/lib/rails/application.rb:361:in `initialize!'
/opt/redmine/config/environment.rb:16:in `<top (required)>'
/opt/redmine/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.4.1/lib/active_support/dependencies.rb:291:in `require’
/opt/redmine/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.4.1/lib/active_support/dependencies.rb:291:in `block in require’
/opt/redmine/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.4.1/lib/active_support/dependencies.rb:257:in `load_dependency’
/opt/redmine/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.4.1/lib/active_support/dependencies.rb:291:in `require’
/opt/redmine/vendor/bundle/ruby/2.5.0/gems/railties-5.2.4.1/lib/rails/application.rb:337:in `require_environment!'
/opt/redmine/vendor/bundle/ruby/2.5.0/gems/railties-5.2.4.1/lib/rails/application.rb:520:in `block in run_tasks_blocks’
/opt/redmine/vendor/bundle/ruby/2.5.0/gems/rake-13.0.1/exe/rake:27:in `<top (required)>'
/opt/redmine/.gem/ruby/gems/bundler-2.1.4/lib/bundler/cli/exec.rb:63:in `load’
/opt/redmine/.gem/ruby/gems/bundler-2.1.4/lib/bundler/cli/exec.rb:63:in `kernel_load’
/opt/redmine/.gem/ruby/gems/bundler-2.1.4/lib/bundler/cli/exec.rb:28:in `run’
/opt/redmine/.gem/ruby/gems/bundler-2.1.4/lib/bundler/cli.rb:476:in `exec’
/opt/redmine/.gem/ruby/gems/bundler-2.1.4/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run’
/opt/redmine/.gem/ruby/gems/bundler-2.1.4/lib/bundler/vendor/thor/lib/thor/invocation.rb:127:in `invoke_command’
/opt/redmine/.gem/ruby/gems/bundler-2.1.4/lib/bundler/vendor/thor/lib/thor.rb:399:in `dispatch’
/opt/redmine/.gem/ruby/gems/bundler-2.1.4/lib/bundler/cli.rb:30:in `dispatch’
/opt/redmine/.gem/ruby/gems/bundler-2.1.4/lib/bundler/vendor/thor/lib/thor/base.rb:476:in `start’
/opt/redmine/.gem/ruby/gems/bundler-2.1.4/lib/bundler/cli.rb:24:in `start’
/opt/redmine/.gem/ruby/gems/bundler-2.1.4/exe/bundle:46:in `block in <top (required)>'
/opt/redmine/.gem/ruby/gems/bundler-2.1.4/lib/bundler/friendly_errors.rb:123:in `with_friendly_errors’
/opt/redmine/.gem/ruby/gems/bundler-2.1.4/exe/bundle:34:in `<top (required)>'
/opt/redmine/bin/bundle:23:in `load’
/opt/redmine/bin/bundle:23:in `<main>'
Tasks: TOP ⇒ redmine:plugins:migrate ⇒ environment
(See full trace by running task with --trace)

redmineplugins.cn Admin超过 4 年 之前添加

安装不上?把报错信息贴上来来看下吧

匿名用户超过 4 年 之前添加

这个插件无需额外gems,因此没有Gemfile smiley

匿名用户超过 4 年 之前添加

没有Gemfile,安装不上