Code Monkey home page Code Monkey logo

redmine_issue_attachments's Issues

Getting error "Could not find rubyzip-1.2.1"

Hello,

The plugin looks very promising as it gives opportunity to quickly remove old and big attachments.
Unfortunately, I have a problem getting it running.
I installed the plugin according to the guide, and my redmine stopped working.
In nginx error log there is an error:
[ E 2019-12-13 22:15:20.7536 7494/Tbx age/Cor/App/Implementation.cpp:221 ]: Coul d not spawn process for application /srv/redmine-3.4.6: The application encounte red the following error: Could not find rubyzip-1.2.1 in any of the sources (Bun dler::GemNotFound) Error ID: 93434690 Error details saved to: /tmp/passenger-error-ss9zfx.html

I don't know why plugin does not take use of newer rubyzip (1.3.0 is installed).

Is this expected behavior or a bug?

My redmine version is 3.4.6.
My gem list is:

~$ gem list

*** LOCAL GEMS ***

actionmailer (4.2.8)
actionpack (4.2.8)
actionpack-xml_parser (1.0.2)
actionview (4.2.8)
activejob (4.2.8)
activemodel (4.2.8)
activerecord (4.2.8)
activesupport (4.2.8)
acts-as-taggable-on (4.0.0)
addressable (2.5.2)
arel (6.0.4)
awesome_nested_set (3.1.4)
bigdecimal (default: 1.2.8)
builder (3.2.3)
bundler (1.16.4)
bundler-unload (1.0.2)
coderay (1.1.2)
combine_pdf (1.0.16)
concurrent-ruby (1.0.5)
crass (1.0.4)
css_parser (1.6.0)
did_you_mean (1.0.0)
erubis (2.7.0)
executable-hooks (1.4.2)
gem-wrappers (1.4.0, 1.3.2)
globalid (0.4.1)
haml (5.0.4)
htmlentities (4.3.4)
i18n (0.7.0)
io-console (default: 0.4.5)
jquery-rails (3.1.5)
json (default: 1.8.3.1)
liquid (2.6.3)
loofah (2.2.2)
mail (2.6.6)
mime-types (3.2.2)
mime-types-data (3.2018.0812)
mimemagic (0.3.2)
mini_portile2 (2.3.0)
minitest (5.11.3, 5.8.5)
mysql2 (0.4.10)
net-ldap (0.12.1)
net-telnet (0.1.1)
nokogiri (1.8.4)
power_assert (0.2.6)
protected_attributes (1.1.4)
psych (default: 2.1.0.1)
public_suffix (3.0.3)
rack (1.6.10)
rack-openid (1.4.2)
rack-test (0.6.3)
rails (4.2.8)
rails-deprecated_sanitizer (1.0.3)
rails-dom-testing (1.0.9)
rails-html-sanitizer (1.0.4)
railties (4.2.8)
rake (12.3.1, 10.4.2)
rbpdf (1.19.5)
rbpdf-font (1.19.1)
rdoc (default: 4.2.1)
redcarpet (3.4.0)
redmine_crm (0.0.50)
redmine_extensions (0.2.14)
request_store (1.0.5)
rmagick (2.16.0)
roadie (3.2.2)
roadie-rails (1.1.1)
ruby-openid (2.3.0)
ruby-rc4 (0.1.5)
rubygems-bundler (1.4.4)
rubyzip (1.3.0)
rvm (1.11.3.9)
sprockets (3.7.2)
sprockets-rails (3.2.1)
temple (0.8.0)
test-unit (3.1.5)
thor (0.20.0)
thread_safe (0.3.6)
tilt (2.0.8)
tzinfo (1.2.5)
ya2yaml (0.31)

Unable to use Zip functionallity on windows

hello,
Your plugin seems to be very usefull for me but I got this error using the Zip-archive function.

Errno::EACCES (Permission denied @ rb_file_s_rename - (C:/Users/Glryweb.svc/AppData/Local/Temp/zipfile20201009-6416-x4n8er20201009-6416-1l5155o, C:/Users/Glryweb.svc/AppData/Local/Temp/zipfile20201009-6416-x4n8er)):
plugins/redmine_issue_attachments/app/controllers/issue_attachments_controller.rb:129:in bulk_zip' lib/redmine/sudo_mode.rb:63:in sudo_mode'

Seems there is a problem with windows.
Glryweb.svc is admin of the server and I gave all windows right to folder and so on.

I hope you will be able to help me.

Many Thanks in advance
Bye
Gilles

Redmine not starting after installation

After installation on my Redmine startup fails with this error message:

Error: The application encountered the following error: undefined method `before_filter' for IssueAttachmentQueriesController:Class
Did you mean?  before_action (NoMethodError)
    /var/www/redmine-4.2/plugins/redmine_issue_attachments/app/controllers/issue_attachment_queries_controller.rb:25:in `<class:IssueAttachmentQueriesController>'
    /var/www/redmine-4.2/plugins/redmine_issue_attachments/app/controllers/issue_attachment_queries_controller.rb:23:in `<top (required)>'

Additionally ruby zip version required conflicts with some other plugins (easily resolved):

Versions are:

Environment:
  Redmine version                4.2.2.stable.21126
  Ruby version                   2.7.2-p137 (2020-10-01) [x86_64-linux]
  Rails version                  5.2.6
  Environment                    production
  Database adapter               Mysql2
  Database timezone              CEST
  ActiveRecord timezone          local
  App timezone                   UTC
  Mailer queue                   ActiveJob::QueueAdapters::AsyncAdapter
  Mailer delivery                sendmail
SCM:
  Subversion                     1.13.0
  Git                            2.25.1
  Filesystem                     
Redmine plugins:
  additional_tags                1.0
  additionals                    3.0.3
  easy_gantt                     1.13
  easy_mindmup                   1.0
  easy_wbs                       1.5
  redmine_all_thumbnails         1.0.5
  redmine_checklists             3.1.19
  redmine_custom_workflows       1.0.5
  redmine_dashboard              2.11.0
  redmine_dmsf                   2.4.8 devel
  redmine_drawio                 1.1.3
  redmine_ics_export             4.0.1.dev
  redmine_issue_dynamic_edit     0.7.2
  redmine_local_avatars          1.0.5.2.0
  redmine_mermaid_macro          1.0.0
  redmine_monitoring_controlling 0.1.1
  redmine_more_filters           1.4.4
  redmine_more_previews          2.0.7
  redmine_preview_inline         1.0.3
  redmine_project_themes         1.1.1
  redmine_rtmaterial             0.1.8
  redmine_team_resource          0.4.2
  redmine_tint_issues            1.2.1
  redmine_user_text_box          0.0.1
  redmine_wbs                    1.2.0
  redmine_wiki_lists             0.0.11
  redmine_wiki_sql               0.0.1
  scrum                          0.21.0

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.