HugoHasenbein / redmine_more_previews

Redmine plugin to preview various file types in redmine's preview pane
https://www.redmine.org/plugins/redmine_more_previews
GNU General Public License v2.0
49 stars 17 forks source link

Preview not work on [bitnami redmine] on Windows 10 #30

Open ssaurabi7 opened 3 years ago

ssaurabi7 commented 3 years ago

Hello.

I am trying install "redmine_more_previews" plugIn on the bitnami Redmine

I just installed "bitnami-redmine-4.0.2-1-windows-installer.exe" on the Windows 10. https://downloads.bitnami.com/files/stacks/redmine/4.0.2-1/bitnami-redmine-4.0.2-1-windows-installer.exe

I also installed the plugin.

1) LibreOffice_6.1.2.1_Win_x64.msi https://downloadarchive.documentfoundation.org/libreoffice/old/6.1.2.1/

2) pandoc-2.14.1-windows-x86_64.msi https://github.com/jgm/pandoc/releases/download/2.14.1/pandoc-2.14.1-windows-x86_64.msi

3) redmine_more_previews 2.0.5

After installation,

Administration >> Information

Default administrator account changed   is checked.

Attachments directory writable  is checked.

Plugin assets directory writable (./public/plugin_assets)   is checked.

RMagick available (optional)    is checked.

ImageMagick convert available (optional) is checked.

Libre Office available  is checked.

Pandoc available    is checked.

Environment:
  Redmine version                4.0.2.stable
  Ruby version                   2.4.5-p335 (2018-10-18) [i386-mingw32]
  Rails version                  5.2.2
  Environment                    production
  Database adapter               Mysql2
  Mailer queue                   ActiveJob::QueueAdapters::AsyncAdapter
  Mailer delivery                smtp
SCM:
  Git                            2.19.1
  Filesystem                     
Redmine plugins:
  redmine_more_previews          2.0.5

However, when I try to preview the attached xlsx and docx files, an error saying "Cannot open file" occurs and the preview does not work.

Here are the errors. (C:\Bitnami\redmine-4.0.2-1\apps\redmine\htdocs\log\production.log)

Could you tell me what should I do?


preview as PDF


C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/bin/thin:16:in `load'
C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/bin/thin:16:in `<main>'
  Rendering text template
  Rendered text template (0.0ms)
Sent data index.pdf (0.4ms)
Completed 200 OK in 1209ms (Views: 0.3ms | ActiveRecord: 1.5ms)
Started GET "/redmine/attachments/1" for 127.0.0.1 at 2021-08-13 08:33:22 +0900
Processing by AttachmentsController#show as HTML
  Parameters: {"id"=>"1"}
  Current user: user (id=1)
  Rendering plugins/redmine_more_previews/app/views/attachments/more_preview.html.erb within layouts/base
  Rendered plugins/redmine_more_previews/converters/cliff/app/views/redmine_more_previews/hooks/_cliff_preview_attachment_contextual.html.erb (0.7ms)
  Rendered plugins/redmine_more_previews/converters/cliff/app/views/redmine_more_previews/hooks/_cliff_preview_attachment_top.html.erb (0.6ms)
  Rendered layouts/_file.html.erb (12.3ms)
  Rendered plugins/redmine_more_previews/app/views/attachments/more_preview.html.erb within layouts/base (12.6ms)
Completed 200 OK in 46ms (Views: 35.9ms | ActiveRecord: 5.5ms)
Started GET "/redmine/attachments/more_preview/1/index.pdf" for 127.0.0.1 at 2021-08-13 08:33:22 +0900
Processing by AttachmentsController#more_preview as PDF
  Parameters: {"id"=>"1"}
  Current user: user (id=1)
An error occured while generating preview for C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/files/2021/08/210813083257_1f05b9d901dc7e6e45e9a800add287ed.xlsx
Exception was: undefined method `children' for Dir:Class
C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/plugins/redmine_more_previews/lib/redmine_more_previews/lib/conversion.rb:216:in `copy_over'
C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/plugins/redmine_more_previews/lib/redmine_more_previews/lib/conversion.rb:199:in `block in cached_preview'
C:/Bitnami/redmine-4.0.2-1/ruby/lib/ruby/2.4.0/tmpdir.rb:89:in `mktmpdir'
C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/plugins/redmine_more_previews/lib/redmine_more_previews/lib/conversion.rb:195:in `cached_preview'
C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/plugins/redmine_more_previews/lib/redmine_more_previews/lib/conversion.rb:162:in `block in preview'
C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/plugins/redmine_more_previews/lib/redmine_more_previews/lib/conversion.rb:127:in `synchronize'
C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/plugins/redmine_more_previews/lib/redmine_more_previews/lib/conversion.rb:127:in `sync'
C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/plugins/redmine_more_previews/lib/redmine_more_previews/lib/conversion.rb:162:in `preview'
C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/plugins/redmine_more_previews/lib/redmine_more_previews/lib/converter.rb:341:in `convert'
C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/plugins/redmine_more_previews/lib/redmine_more_previews/patches/attachment_patch.rb:40:in `more_preview'
C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/plugins/redmine_more_previews/lib/redmine_more_previews/patches/attachments_controller_patch.rb:95:in `send_more_preview'
C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/plugins/redmine_more_previews/lib/redmine_more_previews/patches/attachments_controller_patch.rb:66:in `block (2 levels) in more_preview'
C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.2/lib/action_controller/metal/mime_responds.rb:203:in `respond_to'
C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/plugins/redmine_more_previews/lib/redmine_more_previews/patches/attachments_controller_patch.rb:62:in `more_preview'
C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.2/lib/action_controller/metal/basic_implicit_render.rb:6:in `send_action'
C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.2/lib/abstract_controller/base.rb:194:in `process_action'
C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.2/lib/action_controller/metal/rendering.rb:30:in `process_action'
C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.2/lib/abstract_controller/callbacks.rb:42:in `block in process_action'
C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.2/lib/active_support/callbacks.rb:109:in `block in run_callbacks'
C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/lib/redmine/sudo_mode.rb:63:in `sudo_mode'
C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.2/lib/active_support/callbacks.rb:118:in `block in run_callbacks'
C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.2/lib/active_support/callbacks.rb:136:in `run_callbacks'
C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.2/lib/abstract_controller/callbacks.rb:41:in `process_action'
C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.2/lib/action_controller/metal/rescue.rb:22:in `process_action'
C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.2/lib/action_controller/metal/instrumentation.rb:34:in `block in process_action'
C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.2/lib/active_support/notifications.rb:168:in `block in instrument'
C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.2/lib/active_support/notifications/instrumenter.rb:23:in `instrument'
C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.2/lib/active_support/notifications.rb:168:in `instrument'
C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.2/lib/action_controller/metal/instrumentation.rb:32:in `process_action'
C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.2/lib/action_controller/metal/params_wrapper.rb:256:in `process_action'
C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.2/lib/active_record/railties/controller_runtime.rb:24:in `process_action'
C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.2/lib/abstract_controller/base.rb:134:in `process'
C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/actionview-5.2.2/lib/action_view/rendering.rb:32:in `process'
C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.2/lib/action_controller/metal.rb:191:in `dispatch'
C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.2/lib/action_controller/metal.rb:252:in `dispatch'
C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.2/lib/action_dispatch/routing/route_set.rb:52:in `dispatch'
C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.2/lib/action_dispatch/routing/route_set.rb:34:in `serve'
C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.2/lib/action_dispatch/journey/router.rb:52:in `block in serve'
C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.2/lib/action_dispatch/journey/router.rb:35:in `each'
C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.2/lib/action_dispatch/journey/router.rb:35:in `serve'
C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.2/lib/action_dispatch/routing/route_set.rb:840:in `call'
C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/rack-openid-1.4.2/lib/rack/openid.rb:98:in `call'
C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/request_store-1.0.5/lib/request_store/middleware.rb:9:in `call'
C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/rack-2.0.6/lib/rack/tempfile_reaper.rb:15:in `call'
C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/rack-2.0.6/lib/rack/etag.rb:25:in `call'
C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/rack-2.0.6/lib/rack/conditional_get.rb:25:in `call'
C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/rack-2.0.6/lib/rack/head.rb:12:in `call'
C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.2/lib/action_dispatch/http/content_security_policy.rb:18:in `call'
C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/rack-2.0.6/lib/rack/session/abstract/id.rb:232:in `context'
C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/rack-2.0.6/lib/rack/session/abstract/id.rb:226:in `call'
C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.2/lib/action_dispatch/middleware/cookies.rb:670:in `call'
C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.2/lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.2/lib/active_support/callbacks.rb:98:in `run_callbacks'
C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.2/lib/action_dispatch/middleware/callbacks.rb:26:in `call'
C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.2/lib/action_dispatch/middleware/debug_exceptions.rb:61:in `call'
C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.2/lib/action_dispatch/middleware/show_exceptions.rb:33:in `call'
C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/railties-5.2.2/lib/rails/rack/logger.rb:38:in `call_app'
C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/railties-5.2.2/lib/rails/rack/logger.rb:26:in `block in call'
C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.2/lib/active_support/tagged_logging.rb:71:in `block in tagged'
C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.2/lib/active_support/tagged_logging.rb:28:in `tagged'
C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.2/lib/active_support/tagged_logging.rb:71:in `tagged'
C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/railties-5.2.2/lib/rails/rack/logger.rb:26:in `call'
C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.2/lib/action_dispatch/middleware/remote_ip.rb:81:in `call'
C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.2/lib/action_dispatch/middleware/request_id.rb:27:in `call'
C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/rack-2.0.6/lib/rack/method_override.rb:22:in `call'
C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/rack-2.0.6/lib/rack/runtime.rb:22:in `call'
C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.2/lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call'
C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.2/lib/action_dispatch/middleware/executor.rb:14:in `call'
C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.2/lib/action_dispatch/middleware/static.rb:127:in `call'
C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/rack-2.0.6/lib/rack/content_length.rb:15:in `call'
C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/rack-2.0.6/lib/rack/sendfile.rb:111:in `call'
C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/railties-5.2.2/lib/rails/engine.rb:524:in `call'
C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/rack-2.0.6/lib/rack/urlmap.rb:68:in `block in call'
C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/rack-2.0.6/lib/rack/urlmap.rb:53:in `each'
C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/rack-2.0.6/lib/rack/urlmap.rb:53:in `call'
C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/thin-1.7.2-x86-mingw32/lib/thin/connection.rb:86:in `block in pre_process'
C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/thin-1.7.2-x86-mingw32/lib/thin/connection.rb:84:in `catch'
C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/thin-1.7.2-x86-mingw32/lib/thin/connection.rb:84:in `pre_process'
C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/thin-1.7.2-x86-mingw32/lib/thin/connection.rb:53:in `process'
C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/thin-1.7.2-x86-mingw32/lib/thin/connection.rb:39:in `receive_data'
C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/eventmachine-1.2.7-x86-mingw32/lib/eventmachine.rb:195:in `run_machine'
C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/eventmachine-1.2.7-x86-mingw32/lib/eventmachine.rb:195:in `run'
C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/thin-1.7.2-x86-mingw32/lib/thin/backends/base.rb:73:in `start'
C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/thin-1.7.2-x86-mingw32/lib/thin/server.rb:162:in `start'
C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/thin-1.7.2-x86-mingw32/lib/thin/controllers/controller.rb:87:in `start'
C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/thin-1.7.2-x86-mingw32/lib/thin/runner.rb:203:in `run_command'
C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/thin-1.7.2-x86-mingw32/lib/thin/runner.rb:159:in `run!'
C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/thin-1.7.2-x86-mingw32/bin/thin:6:in `<top (required)>'
C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/bin/thin:16:in `load'
C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/bin/thin:16:in `<main>'
  Rendering text template
  Rendered text template (0.0ms)
Sent data index.pdf (0.3ms)
Completed 200 OK in 1182ms (Views: 0.2ms | ActiveRecord: 1.6ms)

preview as TXT


Started GET "/redmine/attachments/more_preview/1/index.txt" for 127.0.0.1 at 2021-08-13 19:21:41 +0900
Processing by AttachmentsController#more_preview as TEXT
  Parameters: {"id"=>"1"}
  Current user: user (id=1)
  Couldn't find template for digesting: attachments/more_preview
Creating preview with Libre failed (pid 6844 exit 1):
Command: cd "C:/Windows/Temp/d20210813-7208-i2uytv" & soffice --headless --convert-to txt --outdir "C:/Windows/Temp/d20210813-7208-i2uytv" "C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/files/2021/08/210813083257_1f05b9d901dc7e6e45e9a800add287ed.xlsx" & move "./210813083257_1f05b9d901dc7e6e45e9a800add287ed.txt" "C:/Windows/Temp/d20210813-7208-i2uytv/index.txt" 
An error occured while generating preview for C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/files/2021/08/210813083257_1f05b9d901dc7e6e45e9a800add287ed.xlsx
Exception was: ConverterShellError
C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/plugins/redmine_more_previews/lib/redmine_more_previews/lib/conversion.rb:324:in `command'
C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/plugins/redmine_more_previews/converters/libre/lib/libre.rb:41:in `block in convert'
C:/Bitnami/redmine-4.0.2-1/ruby/lib/ruby/2.4.0/tmpdir.rb:89:in `mktmpdir'
C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/plugins/redmine_more_previews/converters/libre/lib/libre.rb:39:in `convert'
C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/plugins/redmine_more_previews/lib/redmine_more_previews/lib/conversion.rb:197:in `block in cached_preview'
C:/Bitnami/redmine-4.0.2-1/ruby/lib/ruby/2.4.0/tmpdir.rb:89:in `mktmpdir'
C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/plugins/redmine_more_previews/lib/redmine_more_previews/lib/conversion.rb:195:in `cached_preview'
C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/plugins/redmine_more_previews/lib/redmine_more_previews/lib/conversion.rb:162:in `block in preview'
C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/plugins/redmine_more_previews/lib/redmine_more_previews/lib/conversion.rb:127:in `synchronize'
C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/plugins/redmine_more_previews/lib/redmine_more_previews/lib/conversion.rb:127:in `sync'
C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/plugins/redmine_more_previews/lib/redmine_more_previews/lib/conversion.rb:162:in `preview'
C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/plugins/redmine_more_previews/lib/redmine_more_previews/lib/converter.rb:341:in `convert'
C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/plugins/redmine_more_previews/lib/redmine_more_previews/patches/attachment_patch.rb:40:in `more_preview'
C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/plugins/redmine_more_previews/lib/redmine_more_previews/patches/attachments_controller_patch.rb:95:in `send_more_preview'
C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/plugins/redmine_more_previews/lib/redmine_more_previews/patches/attachments_controller_patch.rb:65:in `block (2 levels) in more_preview'
C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.2/lib/action_controller/metal/mime_responds.rb:203:in `respond_to'
C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/plugins/redmine_more_previews/lib/redmine_more_previews/patches/attachments_controller_patch.rb:62:in `more_preview'
C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.2/lib/action_controller/metal/basic_implicit_render.rb:6:in `send_action'
C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.2/lib/abstract_controller/base.rb:194:in `process_action'
C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.2/lib/action_controller/metal/rendering.rb:30:in `process_action'
C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.2/lib/abstract_controller/callbacks.rb:42:in `block in process_action'
C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.2/lib/active_support/callbacks.rb:109:in `block in run_callbacks'
C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/lib/redmine/sudo_mode.rb:63:in `sudo_mode'
C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.2/lib/active_support/callbacks.rb:118:in `block in run_callbacks'
C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.2/lib/active_support/callbacks.rb:136:in `run_callbacks'
C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.2/lib/abstract_controller/callbacks.rb:41:in `process_action'
C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.2/lib/action_controller/metal/rescue.rb:22:in `process_action'
C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.2/lib/action_controller/metal/instrumentation.rb:34:in `block in process_action'
C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.2/lib/active_support/notifications.rb:168:in `block in instrument'
C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.2/lib/active_support/notifications/instrumenter.rb:23:in `instrument'
C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.2/lib/active_support/notifications.rb:168:in `instrument'
C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.2/lib/action_controller/metal/instrumentation.rb:32:in `process_action'
C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.2/lib/action_controller/metal/params_wrapper.rb:256:in `process_action'
C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.2/lib/active_record/railties/controller_runtime.rb:24:in `process_action'
C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.2/lib/abstract_controller/base.rb:134:in `process'
C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/actionview-5.2.2/lib/action_view/rendering.rb:32:in `process'
C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.2/lib/action_controller/metal.rb:191:in `dispatch'
C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.2/lib/action_controller/metal.rb:252:in `dispatch'
C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.2/lib/action_dispatch/routing/route_set.rb:52:in `dispatch'
C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.2/lib/action_dispatch/routing/route_set.rb:34:in `serve'
C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.2/lib/action_dispatch/journey/router.rb:52:in `block in serve'
C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.2/lib/action_dispatch/journey/router.rb:35:in `each'
C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.2/lib/action_dispatch/journey/router.rb:35:in `serve'
C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.2/lib/action_dispatch/routing/route_set.rb:840:in `call'
C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/rack-openid-1.4.2/lib/rack/openid.rb:98:in `call'
C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/request_store-1.0.5/lib/request_store/middleware.rb:9:in `call'
C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/rack-2.0.6/lib/rack/tempfile_reaper.rb:15:in `call'
C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/rack-2.0.6/lib/rack/etag.rb:25:in `call'
C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/rack-2.0.6/lib/rack/conditional_get.rb:25:in `call'
C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/rack-2.0.6/lib/rack/head.rb:12:in `call'
C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.2/lib/action_dispatch/http/content_security_policy.rb:18:in `call'
C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/rack-2.0.6/lib/rack/session/abstract/id.rb:232:in `context'
C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/rack-2.0.6/lib/rack/session/abstract/id.rb:226:in `call'
C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.2/lib/action_dispatch/middleware/cookies.rb:670:in `call'
C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.2/lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.2/lib/active_support/callbacks.rb:98:in `run_callbacks'
C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.2/lib/action_dispatch/middleware/callbacks.rb:26:in `call'
C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.2/lib/action_dispatch/middleware/debug_exceptions.rb:61:in `call'
C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.2/lib/action_dispatch/middleware/show_exceptions.rb:33:in `call'
C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/railties-5.2.2/lib/rails/rack/logger.rb:38:in `call_app'
C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/railties-5.2.2/lib/rails/rack/logger.rb:26:in `block in call'
C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.2/lib/active_support/tagged_logging.rb:71:in `block in tagged'
C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.2/lib/active_support/tagged_logging.rb:28:in `tagged'
C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.2/lib/active_support/tagged_logging.rb:71:in `tagged'
C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/railties-5.2.2/lib/rails/rack/logger.rb:26:in `call'
C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.2/lib/action_dispatch/middleware/remote_ip.rb:81:in `call'
C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.2/lib/action_dispatch/middleware/request_id.rb:27:in `call'
C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/rack-2.0.6/lib/rack/method_override.rb:22:in `call'
C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/rack-2.0.6/lib/rack/runtime.rb:22:in `call'
C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.2/lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call'
C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.2/lib/action_dispatch/middleware/executor.rb:14:in `call'
C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.2/lib/action_dispatch/middleware/static.rb:127:in `call'
C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/rack-2.0.6/lib/rack/content_length.rb:15:in `call'
C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/rack-2.0.6/lib/rack/sendfile.rb:111:in `call'
C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/railties-5.2.2/lib/rails/engine.rb:524:in `call'
C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/rack-2.0.6/lib/rack/urlmap.rb:68:in `block in call'
C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/rack-2.0.6/lib/rack/urlmap.rb:53:in `each'
C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/rack-2.0.6/lib/rack/urlmap.rb:53:in `call'
C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/thin-1.7.2-x86-mingw32/lib/thin/connection.rb:86:in `block in pre_process'
C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/thin-1.7.2-x86-mingw32/lib/thin/connection.rb:84:in `catch'
C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/thin-1.7.2-x86-mingw32/lib/thin/connection.rb:84:in `pre_process'
C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/thin-1.7.2-x86-mingw32/lib/thin/connection.rb:53:in `process'
C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/thin-1.7.2-x86-mingw32/lib/thin/connection.rb:39:in `receive_data'
C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/eventmachine-1.2.7-x86-mingw32/lib/eventmachine.rb:195:in `run_machine'
C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/eventmachine-1.2.7-x86-mingw32/lib/eventmachine.rb:195:in `run'
C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/thin-1.7.2-x86-mingw32/lib/thin/backends/base.rb:73:in `start'
C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/thin-1.7.2-x86-mingw32/lib/thin/server.rb:162:in `start'
C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/thin-1.7.2-x86-mingw32/lib/thin/controllers/controller.rb:87:in `start'
C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/thin-1.7.2-x86-mingw32/lib/thin/runner.rb:203:in `run_command'
C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/thin-1.7.2-x86-mingw32/lib/thin/runner.rb:159:in `run!'
C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/thin-1.7.2-x86-mingw32/bin/thin:6:in `<top (required)>'
C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/bin/thin:16:in `load'
C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/bin/thin:16:in `<main>'
  Rendering text template
  Rendered text template (0.0ms)
Sent data index.txt (0.4ms)
Completed 200 OK in 785ms (Views: 0.3ms | ActiveRecord: 2.1ms)
HugoHasenbein commented 3 years ago

Dear Ssaurabi7

Your Rails environment complains

Exception was: undefined method `children' for Dir:Class which I have marked in red below

However, the Dir class does have that method

https://ruby-doc.org/core-2.5.1/Dir.html#method-c-children

Maybe use a newer ruby version? I'm not sure, when Dir.children was introduced, but should work with Ruby 2.5 as well.

The other problem, converting .xlsx to txt may be a LibreOffice-lack-of support. Not all conversions are offered by LibreOffice. Seems xlsx to text is one of the unsupported conversions, which may be supported in the future by LibreOffice.

Am 13.08.2021 um 13:06 schrieb ssaurabi7 @.***>:

Hello.

I am trying install "redmine_more_previews" plugIn on the bitnami Redmine

I just installed "bitnami-redmine-4.0.2-1-windows-installer.exe" on the Windows 10. https://downloads.bitnami.com/files/stacks/redmine/4.0.2-1/bitnami-redmine-4.0.2-1-windows-installer.exe https://downloads.bitnami.com/files/stacks/redmine/4.0.2-1/bitnami-redmine-4.0.2-1-windows-installer.exe I also installed the plugin.

LibreOffice_6.1.2.1_Win_x64.msi https://downloadarchive.documentfoundation.org/libreoffice/old/6.1.2.1/ https://downloadarchive.documentfoundation.org/libreoffice/old/6.1.2.1/ pandoc-2.14.1-windows-x86_64.msi https://github.com/jgm/pandoc/releases/download/2.14.1/pandoc-2.14.1-windows-x86_64.msi https://github.com/jgm/pandoc/releases/download/2.14.1/pandoc-2.14.1-windows-x86_64.msi redmine_more_previews 2.0.5

After installation,

Administration >> Information

Default administrator account changed is checked.

Attachments directory writable is checked.

Plugin assets directory writable (./public/plugin_assets) is checked.

RMagick available (optional) is checked.

ImageMagick convert available (optional) is checked.

Libre Office available is checked.

Pandoc available is checked.

Environment: Redmine version 4.0.2.stable Ruby version 2.4.5-p335 (2018-10-18) [i386-mingw32] Rails version 5.2.2 Environment production Database adapter Mysql2 Mailer queue ActiveJob::QueueAdapters::AsyncAdapter Mailer delivery smtp SCM: Git 2.19.1 Filesystem Redmine plugins: redmine_more_previews 2.0.5 However, when I try to preview the attached xlsx and docx files, an error saying "Cannot open file" occurs and the preview does not work.

Here are the errors. (C:\Bitnami\redmine-4.0.2-1\apps\redmine\htdocs\log\production.log)

Could you tell me what should I do?

preview as PDF

C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/bin/thin:16:in load' C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/bin/thin:16:in

' Rendering text template Rendered text template (0.0ms) Sent data index.pdf (0.4ms) Completed 200 OK in 1209ms (Views: 0.3ms | ActiveRecord: 1.5ms) Started GET "/redmine/attachments/1" for 127.0.0.1 at 2021-08-13 08:33:22 +0900 Processing by AttachmentsController#show as HTML Parameters: {"id"=>"1"} Current user: user (id=1) Rendering plugins/redmine_more_previews/app/views/attachments/more_preview.html.erb within layouts/base Rendered plugins/redmine_more_previews/converters/cliff/app/views/redmine_more_previews/hooks/_cliff_preview_attachment_contextual.html.erb (0.7ms) Rendered plugins/redmine_more_previews/converters/cliff/app/views/redmine_more_previews/hooks/_cliff_preview_attachment_top.html.erb (0.6ms) Rendered layouts/_file.html.erb (12.3ms) Rendered plugins/redmine_more_previews/app/views/attachments/more_preview.html.erb within layouts/base (12.6ms) Completed 200 OK in 46ms (Views: 35.9ms | ActiveRecord: 5.5ms) Started GET "/redmine/attachments/more_preview/1/index.pdf" for 127.0.0.1 at 2021-08-13 08:33:22 +0900 Processing by AttachmentsController#more_preview as PDF Parameters: {"id"=>"1"} Current user: user (id=1) An error occured while generating preview for C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/files/2021/08/210813083257_1f05b9d901dc7e6e45e9a800add287ed.xlsx Exception was: undefined method children' for Dir:Class C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/plugins/redmine_more_previews/lib/redmine_more_previews/lib/conversion.rb:216:incopy_over' C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/plugins/redmine_more_previews/lib/redmine_more_previews/lib/conversion.rb:199:in block in cached_preview' C:/Bitnami/redmine-4.0.2-1/ruby/lib/ruby/2.4.0/tmpdir.rb:89:inmktmpdir' C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/plugins/redmine_more_previews/lib/redmine_more_previews/lib/conversion.rb:195:in cached_preview' C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/plugins/redmine_more_previews/lib/redmine_more_previews/lib/conversion.rb:162:inblock in preview' C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/plugins/redmine_more_previews/lib/redmine_more_previews/lib/conversion.rb:127:in synchronize' C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/plugins/redmine_more_previews/lib/redmine_more_previews/lib/conversion.rb:127:insync' C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/plugins/redmine_more_previews/lib/redmine_more_previews/lib/conversion.rb:162:in preview' C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/plugins/redmine_more_previews/lib/redmine_more_previews/lib/converter.rb:341:inconvert' C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/plugins/redmine_more_previews/lib/redmine_more_previews/patches/attachment_patch.rb:40:in more_preview' C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/plugins/redmine_more_previews/lib/redmine_more_previews/patches/attachments_controller_patch.rb:95:insend_more_preview' C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/plugins/redmine_more_previews/lib/redmine_more_previews/patches/attachments_controller_patch.rb:66:in block (2 levels) in more_preview' C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.2/lib/action_controller/metal/mime_responds.rb:203:inrespond_to' C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/plugins/redmine_more_previews/lib/redmine_more_previews/patches/attachments_controller_patch.rb:62:in more_preview' C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.2/lib/action_controller/metal/basic_implicit_render.rb:6:insend_action' C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.2/lib/abstract_controller/base.rb:194:in process_action' C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.2/lib/action_controller/metal/rendering.rb:30:inprocess_action' C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.2/lib/abstract_controller/callbacks.rb:42:in block in process_action' C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.2/lib/active_support/callbacks.rb:109:inblock in run_callbacks' C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/lib/redmine/sudo_mode.rb:63:in sudo_mode' C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.2/lib/active_support/callbacks.rb:118:inblock in run_callbacks' C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.2/lib/active_support/callbacks.rb:136:in run_callbacks' C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.2/lib/abstract_controller/callbacks.rb:41:inprocess_action' C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.2/lib/action_controller/metal/rescue.rb:22:in process_action' C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.2/lib/action_controller/metal/instrumentation.rb:34:inblock in process_action' C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.2/lib/active_support/notifications.rb:168:in block in instrument' C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.2/lib/active_support/notifications/instrumenter.rb:23:ininstrument' C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.2/lib/active_support/notifications.rb:168:in instrument' C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.2/lib/action_controller/metal/instrumentation.rb:32:inprocess_action' C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.2/lib/action_controller/metal/params_wrapper.rb:256:in process_action' C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.2/lib/active_record/railties/controller_runtime.rb:24:inprocess_action' C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.2/lib/abstract_controller/base.rb:134:in process' C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/actionview-5.2.2/lib/action_view/rendering.rb:32:inprocess' C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.2/lib/action_controller/metal.rb:191:in dispatch' C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.2/lib/action_controller/metal.rb:252:indispatch' C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.2/lib/action_dispatch/routing/route_set.rb:52:in dispatch' C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.2/lib/action_dispatch/routing/route_set.rb:34:inserve' C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.2/lib/action_dispatch/journey/router.rb:52:in block in serve' C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.2/lib/action_dispatch/journey/router.rb:35:ineach' C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.2/lib/action_dispatch/journey/router.rb:35:in serve' C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.2/lib/action_dispatch/routing/route_set.rb:840:incall' C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/rack-openid-1.4.2/lib/rack/openid.rb:98:in call' C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/request_store-1.0.5/lib/request_store/middleware.rb:9:incall' C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/rack-2.0.6/lib/rack/tempfile_reaper.rb:15:in call' C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/rack-2.0.6/lib/rack/etag.rb:25:incall' C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/rack-2.0.6/lib/rack/conditional_get.rb:25:in call' C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/rack-2.0.6/lib/rack/head.rb:12:incall' C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.2/lib/action_dispatch/http/content_security_policy.rb:18:in call' C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/rack-2.0.6/lib/rack/session/abstract/id.rb:232:incontext' C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/rack-2.0.6/lib/rack/session/abstract/id.rb:226:in call' C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.2/lib/action_dispatch/middleware/cookies.rb:670:incall' C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.2/lib/action_dispatch/middleware/callbacks.rb:28:in block in call' C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.2/lib/active_support/callbacks.rb:98:inrun_callbacks' C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.2/lib/action_dispatch/middleware/callbacks.rb:26:in call' C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.2/lib/action_dispatch/middleware/debug_exceptions.rb:61:incall' C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.2/lib/action_dispatch/middleware/show_exceptions.rb:33:in call' C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/railties-5.2.2/lib/rails/rack/logger.rb:38:incall_app' C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/railties-5.2.2/lib/rails/rack/logger.rb:26:in block in call' C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.2/lib/active_support/tagged_logging.rb:71:inblock in tagged' C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.2/lib/active_support/tagged_logging.rb:28:in tagged' C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.2/lib/active_support/tagged_logging.rb:71:intagged' C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/railties-5.2.2/lib/rails/rack/logger.rb:26:in call' C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.2/lib/action_dispatch/middleware/remote_ip.rb:81:incall' C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.2/lib/action_dispatch/middleware/request_id.rb:27:in call' C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/rack-2.0.6/lib/rack/method_override.rb:22:incall' C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/rack-2.0.6/lib/rack/runtime.rb:22:in call' C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.2/lib/active_support/cache/strategy/local_cache_middleware.rb:29:incall' C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.2/lib/action_dispatch/middleware/executor.rb:14:in call' C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.2/lib/action_dispatch/middleware/static.rb:127:incall' C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/rack-2.0.6/lib/rack/content_length.rb:15:in call' C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/rack-2.0.6/lib/rack/sendfile.rb:111:incall' C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/railties-5.2.2/lib/rails/engine.rb:524:in call' C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/rack-2.0.6/lib/rack/urlmap.rb:68:inblock in call' C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/rack-2.0.6/lib/rack/urlmap.rb:53:in each' C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/rack-2.0.6/lib/rack/urlmap.rb:53:incall' C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/thin-1.7.2-x86-mingw32/lib/thin/connection.rb:86:in block in pre_process' C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/thin-1.7.2-x86-mingw32/lib/thin/connection.rb:84:incatch' C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/thin-1.7.2-x86-mingw32/lib/thin/connection.rb:84:in pre_process' C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/thin-1.7.2-x86-mingw32/lib/thin/connection.rb:53:inprocess' C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/thin-1.7.2-x86-mingw32/lib/thin/connection.rb:39:in receive_data' C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/eventmachine-1.2.7-x86-mingw32/lib/eventmachine.rb:195:inrun_machine' C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/eventmachine-1.2.7-x86-mingw32/lib/eventmachine.rb:195:in run' C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/thin-1.7.2-x86-mingw32/lib/thin/backends/base.rb:73:instart' C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/thin-1.7.2-x86-mingw32/lib/thin/server.rb:162:in start' C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/thin-1.7.2-x86-mingw32/lib/thin/controllers/controller.rb:87:instart' C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/thin-1.7.2-x86-mingw32/lib/thin/runner.rb:203:in run_command' C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/thin-1.7.2-x86-mingw32/lib/thin/runner.rb:159:inrun!' C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/thin-1.7.2-x86-mingw32/bin/thin:6:in <top (required)>' C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/bin/thin:16:inload' C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/bin/thin:16:in `
' Rendering text template Rendered text template (0.0ms) Sent data index.pdf (0.3ms) Completed 200 OK in 1182ms (Views: 0.2ms | ActiveRecord: 1.6ms)

preview as TXT

Started GET "/redmine/attachments/more_preview/1/index.txt" for 127.0.0.1 at 2021-08-13 19:21:41 +0900 Processing by AttachmentsController#more_preview as TEXT Parameters: {"id"=>"1"} Current user: user (id=1) Couldn't find template for digesting: attachments/more_preview Creating preview with Libre failed (pid 6844 exit 1): Command: cd "C:/Windows/Temp/d20210813-7208-i2uytv" & soffice --headless --convert-to txt --outdir "C:/Windows/Temp/d20210813-7208-i2uytv" "C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/files/2021/08/210813083257_1f05b9d901dc7e6e45e9a800add287ed.xlsx" & move "./210813083257_1f05b9d901dc7e6e45e9a800add287ed.txt" "C:/Windows/Temp/d20210813-7208-i2uytv/index.txt" An error occured while generating preview for C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/files/2021/08/210813083257_1f05b9d901dc7e6e45e9a800add287ed.xlsx Exception was: ConverterShellError C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/plugins/redmine_more_previews/lib/redmine_more_previews/lib/conversion.rb:324:in command' C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/plugins/redmine_more_previews/converters/libre/lib/libre.rb:41:inblock in convert' C:/Bitnami/redmine-4.0.2-1/ruby/lib/ruby/2.4.0/tmpdir.rb:89:in mktmpdir' C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/plugins/redmine_more_previews/converters/libre/lib/libre.rb:39:inconvert' C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/plugins/redmine_more_previews/lib/redmine_more_previews/lib/conversion.rb:197:in block in cached_preview' C:/Bitnami/redmine-4.0.2-1/ruby/lib/ruby/2.4.0/tmpdir.rb:89:inmktmpdir' C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/plugins/redmine_more_previews/lib/redmine_more_previews/lib/conversion.rb:195:in cached_preview' C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/plugins/redmine_more_previews/lib/redmine_more_previews/lib/conversion.rb:162:inblock in preview' C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/plugins/redmine_more_previews/lib/redmine_more_previews/lib/conversion.rb:127:in synchronize' C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/plugins/redmine_more_previews/lib/redmine_more_previews/lib/conversion.rb:127:insync' C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/plugins/redmine_more_previews/lib/redmine_more_previews/lib/conversion.rb:162:in preview' C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/plugins/redmine_more_previews/lib/redmine_more_previews/lib/converter.rb:341:inconvert' C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/plugins/redmine_more_previews/lib/redmine_more_previews/patches/attachment_patch.rb:40:in more_preview' C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/plugins/redmine_more_previews/lib/redmine_more_previews/patches/attachments_controller_patch.rb:95:insend_more_preview' C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/plugins/redmine_more_previews/lib/redmine_more_previews/patches/attachments_controller_patch.rb:65:in block (2 levels) in more_preview' C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.2/lib/action_controller/metal/mime_responds.rb:203:inrespond_to' C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/plugins/redmine_more_previews/lib/redmine_more_previews/patches/attachments_controller_patch.rb:62:in more_preview' C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.2/lib/action_controller/metal/basic_implicit_render.rb:6:insend_action' C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.2/lib/abstract_controller/base.rb:194:in process_action' C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.2/lib/action_controller/metal/rendering.rb:30:inprocess_action' C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.2/lib/abstract_controller/callbacks.rb:42:in block in process_action' C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.2/lib/active_support/callbacks.rb:109:inblock in run_callbacks' C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/lib/redmine/sudo_mode.rb:63:in sudo_mode' C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.2/lib/active_support/callbacks.rb:118:inblock in run_callbacks' C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.2/lib/active_support/callbacks.rb:136:in run_callbacks' C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.2/lib/abstract_controller/callbacks.rb:41:inprocess_action' C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.2/lib/action_controller/metal/rescue.rb:22:in process_action' C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.2/lib/action_controller/metal/instrumentation.rb:34:inblock in process_action' C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.2/lib/active_support/notifications.rb:168:in block in instrument' C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.2/lib/active_support/notifications/instrumenter.rb:23:ininstrument' C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.2/lib/active_support/notifications.rb:168:in instrument' C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.2/lib/action_controller/metal/instrumentation.rb:32:inprocess_action' C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.2/lib/action_controller/metal/params_wrapper.rb:256:in process_action' C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.2/lib/active_record/railties/controller_runtime.rb:24:inprocess_action' C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.2/lib/abstract_controller/base.rb:134:in process' C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/actionview-5.2.2/lib/action_view/rendering.rb:32:inprocess' C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.2/lib/action_controller/metal.rb:191:in dispatch' C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.2/lib/action_controller/metal.rb:252:indispatch' C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.2/lib/action_dispatch/routing/route_set.rb:52:in dispatch' C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.2/lib/action_dispatch/routing/route_set.rb:34:inserve' C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.2/lib/action_dispatch/journey/router.rb:52:in block in serve' C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.2/lib/action_dispatch/journey/router.rb:35:ineach' C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.2/lib/action_dispatch/journey/router.rb:35:in serve' C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.2/lib/action_dispatch/routing/route_set.rb:840:incall' C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/rack-openid-1.4.2/lib/rack/openid.rb:98:in call' C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/request_store-1.0.5/lib/request_store/middleware.rb:9:incall' C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/rack-2.0.6/lib/rack/tempfile_reaper.rb:15:in call' C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/rack-2.0.6/lib/rack/etag.rb:25:incall' C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/rack-2.0.6/lib/rack/conditional_get.rb:25:in call' C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/rack-2.0.6/lib/rack/head.rb:12:incall' C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.2/lib/action_dispatch/http/content_security_policy.rb:18:in call' C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/rack-2.0.6/lib/rack/session/abstract/id.rb:232:incontext' C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/rack-2.0.6/lib/rack/session/abstract/id.rb:226:in call' C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.2/lib/action_dispatch/middleware/cookies.rb:670:incall' C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.2/lib/action_dispatch/middleware/callbacks.rb:28:in block in call' C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.2/lib/active_support/callbacks.rb:98:inrun_callbacks' C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.2/lib/action_dispatch/middleware/callbacks.rb:26:in call' C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.2/lib/action_dispatch/middleware/debug_exceptions.rb:61:incall' C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.2/lib/action_dispatch/middleware/show_exceptions.rb:33:in call' C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/railties-5.2.2/lib/rails/rack/logger.rb:38:incall_app' C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/railties-5.2.2/lib/rails/rack/logger.rb:26:in block in call' C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.2/lib/active_support/tagged_logging.rb:71:inblock in tagged' C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.2/lib/active_support/tagged_logging.rb:28:in tagged' C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.2/lib/active_support/tagged_logging.rb:71:intagged' C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/railties-5.2.2/lib/rails/rack/logger.rb:26:in call' C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.2/lib/action_dispatch/middleware/remote_ip.rb:81:incall' C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.2/lib/action_dispatch/middleware/request_id.rb:27:in call' C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/rack-2.0.6/lib/rack/method_override.rb:22:incall' C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/rack-2.0.6/lib/rack/runtime.rb:22:in call' C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.2/lib/active_support/cache/strategy/local_cache_middleware.rb:29:incall' C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.2/lib/action_dispatch/middleware/executor.rb:14:in call' C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.2/lib/action_dispatch/middleware/static.rb:127:incall' C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/rack-2.0.6/lib/rack/content_length.rb:15:in call' C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/rack-2.0.6/lib/rack/sendfile.rb:111:incall' C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/railties-5.2.2/lib/rails/engine.rb:524:in call' C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/rack-2.0.6/lib/rack/urlmap.rb:68:inblock in call' C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/rack-2.0.6/lib/rack/urlmap.rb:53:in each' C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/rack-2.0.6/lib/rack/urlmap.rb:53:incall' C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/thin-1.7.2-x86-mingw32/lib/thin/connection.rb:86:in block in pre_process' C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/thin-1.7.2-x86-mingw32/lib/thin/connection.rb:84:incatch' C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/thin-1.7.2-x86-mingw32/lib/thin/connection.rb:84:in pre_process' C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/thin-1.7.2-x86-mingw32/lib/thin/connection.rb:53:inprocess' C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/thin-1.7.2-x86-mingw32/lib/thin/connection.rb:39:in receive_data' C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/eventmachine-1.2.7-x86-mingw32/lib/eventmachine.rb:195:inrun_machine' C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/eventmachine-1.2.7-x86-mingw32/lib/eventmachine.rb:195:in run' C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/thin-1.7.2-x86-mingw32/lib/thin/backends/base.rb:73:instart' C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/thin-1.7.2-x86-mingw32/lib/thin/server.rb:162:in start' C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/thin-1.7.2-x86-mingw32/lib/thin/controllers/controller.rb:87:instart' C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/thin-1.7.2-x86-mingw32/lib/thin/runner.rb:203:in run_command' C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/thin-1.7.2-x86-mingw32/lib/thin/runner.rb:159:inrun!' C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/vendor/bundle/ruby/2.4.0/gems/thin-1.7.2-x86-mingw32/bin/thin:6:in <top (required)>' C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/bin/thin:16:inload' C:/Bitnami/redmine-4.0.2-1/apps/redmine/htdocs/bin/thin:16:in `

' Rendering text template Rendered text template (0.0ms) Sent data index.txt (0.4ms) Completed 200 OK in 785ms (Views: 0.3ms | ActiveRecord: 2.1ms) — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/HugoHasenbein/redmine_more_previews/issues/30, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJWRDRCY7G7HMEHF7QIJS2DT4T4CNANCNFSM5CDLZ4NQ. Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email.

ssaurabi7 commented 3 years ago

I just upgraded bitnami redmine 4.0.2 to 4.0.5 (Ruby 2.5.7)

Now, this amazing plugin works!

Thank you for all your support.

BigDen86 commented 3 years ago

Hello Stefan! I installed your plugin, but attachments are not showing in messages. Here is the .log and options for my system: image

` Creating scope :system. Overwriting existing method Enumeration.system. Creating scope :sorted. Overwriting existing method Group.sorted. Creating scope :sorted. Overwriting existing method Group.sorted. Creating scope :sorted. Overwriting existing method User.sorted. Creating scope :sorted. Overwriting existing method User.sorted. Started GET "/redmine/attachments/5" for 127.0.0.1 at 2021-10-10 22:46:36 +0500 Processing by AttachmentsController#show as HTML Parameters: {"id"=>"5"} Current user: rmaster (id=1) Rendering plugins/redmine_more_previews/app/views/attachments/more_preview.html.erb within layouts/base Rendered plugins/redmine_more_previews/converters/cliff/app/views/redmine_more_previews/hooks/_cliff_preview_attachment_contextual.html.erb (1.7ms) Rendered plugins/redmine_more_previews/converters/cliff/app/views/redmine_more_previews/hooks/_cliff_preview_attachment_top.html.erb (3.4ms) Rendered layouts/_file.html.erb (371.0ms) Rendered plugins/redmine_more_previews/app/views/attachments/more_preview.html.erb within layouts/base (397.8ms) Rendered plugins/redmine_more_previews/app/views/hooks/redmine_more_previews/_icon_css.html.erb (2.3ms) Completed 200 OK in 7842ms (Views: 555.6ms | ActiveRecord: 428.4ms) Started GET "/redmine/attachments/more_preview/5/index.pdf" for 127.0.0.1 at 2021-10-10 22:46:45 +0500 Processing by AttachmentsController#more_preview as PDF Parameters: {"id"=>"5"} Current user: rmaster (id=1)

An error occured while generating preview for D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/files/2021/10/211010223145_6b10e725f44596bfaedad6de15e6435d.pdf

Exception was: Invalid argument @ dir_s_mkdir - C:/WINDOWS/Temp/d20211010-8608-jny1dg/D: D:/Bitnami/redmine-4.2.1-3/ruby/lib/ruby/2.6.0/fileutils.rb:239:in mkdir' D:/Bitnami/redmine-4.2.1-3/ruby/lib/ruby/2.6.0/fileutils.rb:239:infu_mkdir' D:/Bitnami/redmine-4.2.1-3/ruby/lib/ruby/2.6.0/fileutils.rb:217:in block (2 levels) in mkdir_p' D:/Bitnami/redmine-4.2.1-3/ruby/lib/ruby/2.6.0/fileutils.rb:215:inreverse_each' D:/Bitnami/redmine-4.2.1-3/ruby/lib/ruby/2.6.0/fileutils.rb:215:in block in mkdir_p' D:/Bitnami/redmine-4.2.1-3/ruby/lib/ruby/2.6.0/fileutils.rb:200:ineach' D:/Bitnami/redmine-4.2.1-3/ruby/lib/ruby/2.6.0/fileutils.rb:200:in mkdir_p' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/plugins/redmine_more_previews/lib/redmine_more_previews/lib/conversion.rb:262:inpath_set' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/plugins/redmine_more_previews/lib/redmine_more_previews/lib/conversion.rb:178:in block in transient_preview' D:/Bitnami/redmine-4.2.1-3/ruby/lib/ruby/2.6.0/tmpdir.rb:93:inmktmpdir' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/plugins/redmine_more_previews/lib/redmine_more_previews/lib/conversion.rb:176:in transient_preview' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/plugins/redmine_more_previews/lib/redmine_more_previews/lib/conversion.rb:159:inblock in preview' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/plugins/redmine_more_previews/lib/redmine_more_previews/lib/conversion.rb:127:in synchronize' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/plugins/redmine_more_previews/lib/redmine_more_previews/lib/conversion.rb:127:insync' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/plugins/redmine_more_previews/lib/redmine_more_previews/lib/conversion.rb:159:in preview' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/plugins/redmine_more_previews/lib/redmine_more_previews/lib/converter.rb:341:inconvert' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/plugins/redmine_more_previews/lib/redmine_more_previews/patches/attachment_patch.rb:40:in more_preview' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/plugins/redmine_more_previews/lib/redmine_more_previews/patches/attachments_controller_patch.rb:101:insend_more_preview' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/plugins/redmine_more_previews/lib/redmine_more_previews/patches/attachments_controller_patch.rb:66:in block (2 levels) in more_preview' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/actionpack-5.2.5/lib/action_controller/metal/mime_responds.rb:203:inrespond_to' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/plugins/redmine_more_previews/lib/redmine_more_previews/patches/attachments_controller_patch.rb:62:in more_preview' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/actionpack-5.2.5/lib/action_controller/metal/basic_implicit_render.rb:6:insend_action' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/actionpack-5.2.5/lib/abstract_controller/base.rb:194:in process_action' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/actionpack-5.2.5/lib/action_controller/metal/rendering.rb:30:inprocess_action' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/actionpack-5.2.5/lib/abstract_controller/callbacks.rb:42:in block in process_action' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.5/lib/active_support/callbacks.rb:109:inblock in run_callbacks' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/lib/redmine/sudo_mode.rb:61:in sudo_mode' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.5/lib/active_support/callbacks.rb:118:inblock in run_callbacks' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.5/lib/active_support/callbacks.rb:136:in run_callbacks' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/actionpack-5.2.5/lib/abstract_controller/callbacks.rb:41:inprocess_action' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/actionpack-5.2.5/lib/action_controller/metal/rescue.rb:22:in process_action' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/actionpack-5.2.5/lib/action_controller/metal/instrumentation.rb:34:inblock in process_action' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.5/lib/active_support/notifications.rb:168:in block in instrument' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.5/lib/active_support/notifications/instrumenter.rb:23:ininstrument' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.5/lib/active_support/notifications.rb:168:in instrument' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/actionpack-5.2.5/lib/action_controller/metal/instrumentation.rb:32:inprocess_action' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/actionpack-5.2.5/lib/action_controller/metal/params_wrapper.rb:256:in process_action' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/activerecord-5.2.5/lib/active_record/railties/controller_runtime.rb:24:inprocess_action' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/actionpack-5.2.5/lib/abstract_controller/base.rb:134:in process' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/actionview-5.2.5/lib/action_view/rendering.rb:32:inprocess' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/actionpack-5.2.5/lib/action_controller/metal.rb:191:in dispatch' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/actionpack-5.2.5/lib/action_controller/metal.rb:252:indispatch' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/actionpack-5.2.5/lib/action_dispatch/routing/route_set.rb:52:in dispatch' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/actionpack-5.2.5/lib/action_dispatch/routing/route_set.rb:34:inserve' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/actionpack-5.2.5/lib/action_dispatch/journey/router.rb:52:in block in serve' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/actionpack-5.2.5/lib/action_dispatch/journey/router.rb:35:ineach' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/actionpack-5.2.5/lib/action_dispatch/journey/router.rb:35:in serve' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/actionpack-5.2.5/lib/action_dispatch/routing/route_set.rb:840:incall' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/rack-openid-1.4.2/lib/rack/openid.rb:98:in call' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/rack-2.2.3/lib/rack/tempfile_reaper.rb:15:incall' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/rack-2.2.3/lib/rack/etag.rb:27:in call' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/rack-2.2.3/lib/rack/conditional_get.rb:27:incall' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/rack-2.2.3/lib/rack/head.rb:12:in call' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/actionpack-5.2.5/lib/action_dispatch/http/content_security_policy.rb:18:incall' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/rack-2.2.3/lib/rack/session/abstract/id.rb:266:in context' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/rack-2.2.3/lib/rack/session/abstract/id.rb:260:incall' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/actionpack-5.2.5/lib/action_dispatch/middleware/cookies.rb:670:in call' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/actionpack-5.2.5/lib/action_dispatch/middleware/callbacks.rb:28:inblock in call' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.5/lib/active_support/callbacks.rb:98:in run_callbacks' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/actionpack-5.2.5/lib/action_dispatch/middleware/callbacks.rb:26:incall' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/actionpack-5.2.5/lib/action_dispatch/middleware/debug_exceptions.rb:61:in call' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/actionpack-5.2.5/lib/action_dispatch/middleware/show_exceptions.rb:33:incall' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/railties-5.2.5/lib/rails/rack/logger.rb:38:in call_app' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/railties-5.2.5/lib/rails/rack/logger.rb:26:inblock in call' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.5/lib/active_support/tagged_logging.rb:71:in block in tagged' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.5/lib/active_support/tagged_logging.rb:28:intagged' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.5/lib/active_support/tagged_logging.rb:71:in tagged' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/railties-5.2.5/lib/rails/rack/logger.rb:26:incall' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/actionpack-5.2.5/lib/action_dispatch/middleware/remote_ip.rb:81:in call' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/request_store-1.5.0/lib/request_store/middleware.rb:19:incall' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/actionpack-5.2.5/lib/action_dispatch/middleware/request_id.rb:27:in call' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/rack-2.2.3/lib/rack/method_override.rb:24:incall' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/rack-2.2.3/lib/rack/runtime.rb:22:in call' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.5/lib/active_support/cache/strategy/local_cache_middleware.rb:29:incall' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/actionpack-5.2.5/lib/action_dispatch/middleware/executor.rb:14:in call' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/actionpack-5.2.5/lib/action_dispatch/middleware/static.rb:127:incall' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/rack-2.2.3/lib/rack/sendfile.rb:110:in call' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/rack-2.2.3/lib/rack/content_length.rb:17:incall' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/railties-5.2.5/lib/rails/engine.rb:524:in call' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/rack-2.2.3/lib/rack/urlmap.rb:74:inblock in call' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/rack-2.2.3/lib/rack/urlmap.rb:58:in each' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/rack-2.2.3/lib/rack/urlmap.rb:58:incall' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/thin-1.8.0-x64-mingw32/lib/thin/connection.rb:86:in block in pre_process' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/thin-1.8.0-x64-mingw32/lib/thin/connection.rb:84:incatch' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/thin-1.8.0-x64-mingw32/lib/thin/connection.rb:84:in pre_process' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/thin-1.8.0-x64-mingw32/lib/thin/connection.rb:53:inprocess' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/thin-1.8.0-x64-mingw32/lib/thin/connection.rb:39:in receive_data' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/eventmachine-1.2.7-x64-mingw32/lib/eventmachine.rb:195:inrun_machine' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/eventmachine-1.2.7-x64-mingw32/lib/eventmachine.rb:195:in run' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/thin-1.8.0-x64-mingw32/lib/thin/backends/base.rb:75:instart' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/thin-1.8.0-x64-mingw32/lib/thin/server.rb:162:in start' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/thin-1.8.0-x64-mingw32/lib/thin/controllers/controller.rb:87:instart' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/thin-1.8.0-x64-mingw32/lib/thin/runner.rb:203:in run_command' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/thin-1.8.0-x64-mingw32/lib/thin/runner.rb:159:inrun!' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/thin-1.8.0-x64-mingw32/bin/thin:6:in <top (required)>' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/bin/thin:29:inload' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/bin/thin:29:in `

' Completed 406 Not Acceptable in 6547ms (ActiveRecord: 120.6ms)

ActionController::UnknownFormat (AttachmentsController#more_preview is missing a template for this request format and variant.

request.formats: ["application/pdf"] request.variant: []):

HugoHasenbein commented 3 years ago

Dear Den,

it seems, your installation is missing Imagemagick, pandoc and LibreOffice. Have you installed these?

Best regards

Stephan

Am 10.10.2021 um 20:06 schrieb BigDen86 @.***>:

Hello Stefan! I installed your plugin, but attachments are not showing in messages. Here is the .log and options for my system: https://user-images.githubusercontent.com/92114933/136707889-6e59831e-cde3-4d40-9d12-98228a62da8d.png Creating scope :system. Overwriting existing method Enumeration.system. Creating scope :sorted. Overwriting existing method Group.sorted. Creating scope :sorted. Overwriting existing method Group.sorted. Creating scope :sorted. Overwriting existing method User.sorted. Creating scope :sorted. Overwriting existing method User.sorted. Started GET "/redmine/attachments/5" for 127.0.0.1 at 2021-10-10 22:46:36 +0500 Processing by AttachmentsController#show as HTML Parameters: {"id"=>"5"} Current user: rmaster (id=1) Rendering plugins/redmine_more_previews/app/views/attachments/more_preview.html.erb within layouts/base Rendered plugins/redmine_more_previews/converters/cliff/app/views/redmine_more_previews/hooks/_cliff_preview_attachment_contextual.html.erb (1.7ms) Rendered plugins/redmine_more_previews/converters/cliff/app/views/redmine_more_previews/hooks/_cliff_preview_attachment_top.html.erb (3.4ms) Rendered layouts/_file.html.erb (371.0ms) Rendered plugins/redmine_more_previews/app/views/attachments/more_preview.html.erb within layouts/base (397.8ms) Rendered plugins/redmine_more_previews/app/views/hooks/redmine_more_previews/_icon_css.html.erb (2.3ms) Completed 200 OK in 7842ms (Views: 555.6ms | ActiveRecord: 428.4ms) Started GET "/redmine/attachments/more_preview/5/index.pdf" for 127.0.0.1 at 2021-10-10 22:46:45 +0500 Processing by AttachmentsController#more_preview as PDF Parameters: {"id"=>"5"} Current user: rmaster (id=1) An error occured while generating preview for D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/files/2021/10/211010223145_6b10e725f44596bfaedad6de15e6435d.pdf Exception was: Invalid argument @ dir_s_mkdir - C:/WINDOWS/Temp/d20211010-8608-jny1dg/D: D:/Bitnami/redmine-4.2.1-3/ruby/lib/ruby/2.6.0/fileutils.rb:239:in mkdir' D:/Bitnami/redmine-4.2.1-3/ruby/lib/ruby/2.6.0/fileutils.rb:239:in fu_mkdir' D:/Bitnami/redmine-4.2.1-3/ruby/lib/ruby/2.6.0/fileutils.rb:217:in block (2 levels) in mkdir_p' D:/Bitnami/redmine-4.2.1-3/ruby/lib/ruby/2.6.0/fileutils.rb:215:in reverse_each' D:/Bitnami/redmine-4.2.1-3/ruby/lib/ruby/2.6.0/fileutils.rb:215:in block in mkdir_p' D:/Bitnami/redmine-4.2.1-3/ruby/lib/ruby/2.6.0/fileutils.rb:200:in each' D:/Bitnami/redmine-4.2.1-3/ruby/lib/ruby/2.6.0/fileutils.rb:200:in mkdir_p' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/plugins/redmine_more_previews/lib/redmine_more_previews/lib/conversion.rb:262:in path_set' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/plugins/redmine_more_previews/lib/redmine_more_previews/lib/conversion.rb:178:in block in transient_preview' D:/Bitnami/redmine-4.2.1-3/ruby/lib/ruby/2.6.0/tmpdir.rb:93:in mktmpdir' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/plugins/redmine_more_previews/lib/redmine_more_previews/lib/conversion.rb:176:in transient_preview' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/plugins/redmine_more_previews/lib/redmine_more_previews/lib/conversion.rb:159:in block in preview' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/plugins/redmine_more_previews/lib/redmine_more_previews/lib/conversion.rb:127:in synchronize' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/plugins/redmine_more_previews/lib/redmine_more_previews/lib/conversion.rb:127:in sync' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/plugins/redmine_more_previews/lib/redmine_more_previews/lib/conversion.rb:159:in preview' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/plugins/redmine_more_previews/lib/redmine_more_previews/lib/converter.rb:341:in convert' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/plugins/redmine_more_previews/lib/redmine_more_previews/patches/attachment_patch.rb:40:in more_preview' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/plugins/redmine_more_previews/lib/redmine_more_previews/patches/attachments_controller_patch.rb:101:in send_more_preview' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/plugins/redmine_more_previews/lib/redmine_more_previews/patches/attachments_controller_patch.rb:66:in block (2 levels) in more_preview' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/actionpack-5.2.5/lib/action_controller/metal/mime_responds.rb:203:in respond_to' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/plugins/redmine_more_previews/lib/redmine_more_previews/patches/attachments_controller_patch.rb:62:in more_preview' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/actionpack-5.2.5/lib/action_controller/metal/basic_implicit_render.rb:6:in send_action' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/actionpack-5.2.5/lib/abstract_controller/base.rb:194:in process_action' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/actionpack-5.2.5/lib/action_controller/metal/rendering.rb:30:in process_action' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/actionpack-5.2.5/lib/abstract_controller/callbacks.rb:42:in block in process_action' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.5/lib/active_support/callbacks.rb:109:in block in run_callbacks' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/lib/redmine/sudo_mode.rb:61:in sudo_mode' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.5/lib/active_support/callbacks.rb:118:in block in run_callbacks' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.5/lib/active_support/callbacks.rb:136:in run_callbacks' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/actionpack-5.2.5/lib/abstract_controller/callbacks.rb:41:in process_action' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/actionpack-5.2.5/lib/action_controller/metal/rescue.rb:22:in process_action' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/actionpack-5.2.5/lib/action_controller/metal/instrumentation.rb:34:in block in process_action' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.5/lib/active_support/notifications.rb:168:in block in instrument' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.5/lib/active_support/notifications/instrumenter.rb:23:in instrument' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.5/lib/active_support/notifications.rb:168:in instrument' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/actionpack-5.2.5/lib/action_controller/metal/instrumentation.rb:32:in process_action' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/actionpack-5.2.5/lib/action_controller/metal/params_wrapper.rb:256:in process_action' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/activerecord-5.2.5/lib/active_record/railties/controller_runtime.rb:24:in process_action' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/actionpack-5.2.5/lib/abstract_controller/base.rb:134:in process' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/actionview-5.2.5/lib/action_view/rendering.rb:32:in process' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/actionpack-5.2.5/lib/action_controller/metal.rb:191:in dispatch' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/actionpack-5.2.5/lib/action_controller/metal.rb:252:in dispatch' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/actionpack-5.2.5/lib/action_dispatch/routing/route_set.rb:52:in dispatch' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/actionpack-5.2.5/lib/action_dispatch/routing/route_set.rb:34:in serve' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/actionpack-5.2.5/lib/action_dispatch/journey/router.rb:52:in block in serve' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/actionpack-5.2.5/lib/action_dispatch/journey/router.rb:35:in each' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/actionpack-5.2.5/lib/action_dispatch/journey/router.rb:35:in serve' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/actionpack-5.2.5/lib/action_dispatch/routing/route_set.rb:840:in call' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/rack-openid-1.4.2/lib/rack/openid.rb:98:in call' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/rack-2.2.3/lib/rack/tempfile_reaper.rb:15:in call' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/rack-2.2.3/lib/rack/etag.rb:27:in call' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/rack-2.2.3/lib/rack/conditional_get.rb:27:in call' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/rack-2.2.3/lib/rack/head.rb:12:in call' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/actionpack-5.2.5/lib/action_dispatch/http/content_security_policy.rb:18:in call' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/rack-2.2.3/lib/rack/session/abstract/id.rb:266:in context' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/rack-2.2.3/lib/rack/session/abstract/id.rb:260:in call' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/actionpack-5.2.5/lib/action_dispatch/middleware/cookies.rb:670:in call' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/actionpack-5.2.5/lib/action_dispatch/middleware/callbacks.rb:28:in block in call' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.5/lib/active_support/callbacks.rb:98:in run_callbacks' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/actionpack-5.2.5/lib/action_dispatch/middleware/callbacks.rb:26:in call' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/actionpack-5.2.5/lib/action_dispatch/middleware/debug_exceptions.rb:61:in call' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/actionpack-5.2.5/lib/action_dispatch/middleware/show_exceptions.rb:33:in call' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/railties-5.2.5/lib/rails/rack/logger.rb:38:in call_app' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/railties-5.2.5/lib/rails/rack/logger.rb:26:in block in call' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.5/lib/active_support/tagged_logging.rb:71:in block in tagged' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.5/lib/active_support/tagged_logging.rb:28:in tagged' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.5/lib/active_support/tagged_logging.rb:71:in tagged' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/railties-5.2.5/lib/rails/rack/logger.rb:26:in call' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/actionpack-5.2.5/lib/action_dispatch/middleware/remote_ip.rb:81:in call' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/request_store-1.5.0/lib/request_store/middleware.rb:19:in call' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/actionpack-5.2.5/lib/action_dispatch/middleware/request_id.rb:27:in call' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/rack-2.2.3/lib/rack/method_override.rb:24:in call' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/rack-2.2.3/lib/rack/runtime.rb:22:in call' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.5/lib/active_support/cache/strategy/local_cache_middleware.rb:29:in call' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/actionpack-5.2.5/lib/action_dispatch/middleware/executor.rb:14:in call' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/actionpack-5.2.5/lib/action_dispatch/middleware/static.rb:127:in call' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/rack-2.2.3/lib/rack/sendfile.rb:110:in call' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/rack-2.2.3/lib/rack/content_length.rb:17:in call' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/railties-5.2.5/lib/rails/engine.rb:524:in call' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/rack-2.2.3/lib/rack/urlmap.rb:74:in block in call' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/rack-2.2.3/lib/rack/urlmap.rb:58:in each' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/rack-2.2.3/lib/rack/urlmap.rb:58:in call' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/thin-1.8.0-x64-mingw32/lib/thin/connection.rb:86:in block in pre_process' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/thin-1.8.0-x64-mingw32/lib/thin/connection.rb:84:in catch' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/thin-1.8.0-x64-mingw32/lib/thin/connection.rb:84:in pre_process' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/thin-1.8.0-x64-mingw32/lib/thin/connection.rb:53:in process' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/thin-1.8.0-x64-mingw32/lib/thin/connection.rb:39:in receive_data' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/eventmachine-1.2.7-x64-mingw32/lib/eventmachine.rb:195:in run_machine' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/eventmachine-1.2.7-x64-mingw32/lib/eventmachine.rb:195:in run' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/thin-1.8.0-x64-mingw32/lib/thin/backends/base.rb:75:in start' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/thin-1.8.0-x64-mingw32/lib/thin/server.rb:162:in start' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/thin-1.8.0-x64-mingw32/lib/thin/controllers/controller.rb:87:in start' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/thin-1.8.0-x64-mingw32/lib/thin/runner.rb:203:in run_command' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/thin-1.8.0-x64-mingw32/lib/thin/runner.rb:159:in run!' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/thin-1.8.0-x64-mingw32/bin/thin:6:in <top (required)>' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/bin/thin:29:in load' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/bin/thin:29:in

' Completed 406 Not Acceptable in 6547ms (ActiveRecord: 120.6ms)

ActionController::UnknownFormat (AttachmentsController#more_preview is missing a template for this request format and variant.

request.formats: ["application/pdf"] request.variant: []):

lib/redmine/sudo_mode.rb:61:in sudo_mode' Started GET "/redmine/issues/1" for 127.0.0.1 at 2021-10-10 22:53:31 +0500 Processing by IssuesController#show as HTML Parameters: {"id"=>"1"} Current user: rmaster (id=1) Rendering issues/show.html.erb within layouts/base Rendered issues/_action_menu.html.erb (32.2ms) gs binary (gs) not available Rendered attachments/_links.html.erb (89.3ms) Rendered issue_relations/_form.html.erb (9.2ms) Rendered issues/_relations.html.erb (26.1ms) Rendered issues/tabs/_history.html.erb (64.5ms) Rendered common/_tabs.html.erb (84.9ms) Rendered issues/_action_menu.html.erb (6.5ms) Rendered issues/_trackers_description.html.erb (3.3ms) Rendered issues/_form_custom_fields.html.erb (2.2ms) Rendered issues/_attributes.html.erb (111.1ms) Rendered issues/_form.html.erb (180.7ms) Rendered attachments/_form.html.erb (20.3ms) Rendered issues/_edit.html.erb (297.1ms) Rendered issues/_action_menu_edit.html.erb (318.6ms) Rendered issues/_sidebar.html.erb (19.9ms) Rendered watchers/_watchers.html.erb (9.2ms) Rendered issues/show.html.erb within layouts/base (862.0ms) Rendered plugins/redmine_more_previews/app/views/hooks/redmine_more_previews/_icon_css.html.erb (3.6ms) Completed 200 OK in 2178ms (Views: 865.3ms | ActiveRecord: 524.1ms) Started GET "/redmine/attachments/5" for 127.0.0.1 at 2021-10-10 22:54:15 +0500 Processing by AttachmentsController#show as HTML Parameters: {"id"=>"5"} Current user: rmaster (id=1) Rendering plugins/redmine_more_previews/app/views/attachments/more_preview.html.erb within layouts/base Rendered plugins/redmine_more_previews/converters/cliff/app/views/redmine_more_previews/hooks/_cliff_preview_attachment_contextual.html.erb (0.3ms) Rendered plugins/redmine_more_previews/converters/cliff/app/views/redmine_more_previews/hooks/_cliff_preview_attachment_top.html.erb (0.3ms) Rendered layouts/_file.html.erb (45.6ms) Rendered plugins/redmine_more_previews/app/views/attachments/more_preview.html.erb within layouts/base (47.2ms) Rendered plugins/redmine_more_previews/app/views/hooks/redmine_more_previews/_icon_css.html.erb (0.2ms) Completed 200 OK in 396ms (Views: 106.2ms | ActiveRecord: 56.0ms) Started GET "/redmine/attachments/more_preview/5/index.pdf" for 127.0.0.1 at 2021-10-10 22:54:15 +0500 Processing by AttachmentsController#more_preview as PDF Parameters: {"id"=>"5"} Current user: rmaster (id=1) An error occured while generating preview for D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/files/2021/10/211010223145_6b10e725f44596bfaedad6de15e6435d.pdf Exception was: Invalid argument @ dir_s_mkdir - C:/WINDOWS/Temp/d20211010-8608-1thhc93/D: D:/Bitnami/redmine-4.2.1-3/ruby/lib/ruby/2.6.0/fileutils.rb:239:in mkdir' D:/Bitnami/redmine-4.2.1-3/ruby/lib/ruby/2.6.0/fileutils.rb:239:in fu_mkdir' D:/Bitnami/redmine-4.2.1-3/ruby/lib/ruby/2.6.0/fileutils.rb:217:in block (2 levels) in mkdir_p' D:/Bitnami/redmine-4.2.1-3/ruby/lib/ruby/2.6.0/fileutils.rb:215:in reverse_each' D:/Bitnami/redmine-4.2.1-3/ruby/lib/ruby/2.6.0/fileutils.rb:215:in block in mkdir_p' D:/Bitnami/redmine-4.2.1-3/ruby/lib/ruby/2.6.0/fileutils.rb:200:in each' D:/Bitnami/redmine-4.2.1-3/ruby/lib/ruby/2.6.0/fileutils.rb:200:in mkdir_p' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/plugins/redmine_more_previews/lib/redmine_more_previews/lib/conversion.rb:262:in path_set' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/plugins/redmine_more_previews/lib/redmine_more_previews/lib/conversion.rb:178:in block in transient_preview' D:/Bitnami/redmine-4.2.1-3/ruby/lib/ruby/2.6.0/tmpdir.rb:93:in mktmpdir' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/plugins/redmine_more_previews/lib/redmine_more_previews/lib/conversion.rb:176:in transient_preview' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/plugins/redmine_more_previews/lib/redmine_more_previews/lib/conversion.rb:159:in block in preview' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/plugins/redmine_more_previews/lib/redmine_more_previews/lib/conversion.rb:127:in synchronize' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/plugins/redmine_more_previews/lib/redmine_more_previews/lib/conversion.rb:127:in sync' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/plugins/redmine_more_previews/lib/redmine_more_previews/lib/conversion.rb:159:in preview' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/plugins/redmine_more_previews/lib/redmine_more_previews/lib/converter.rb:341:in convert' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/plugins/redmine_more_previews/lib/redmine_more_previews/patches/attachment_patch.rb:40:in more_preview' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/plugins/redmine_more_previews/lib/redmine_more_previews/patches/attachments_controller_patch.rb:101:in send_more_preview' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/plugins/redmine_more_previews/lib/redmine_more_previews/patches/attachments_controller_patch.rb:66:in block (2 levels) in more_preview' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/actionpack-5.2.5/lib/action_controller/metal/mime_responds.rb:203:in respond_to' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/plugins/redmine_more_previews/lib/redmine_more_previews/patches/attachments_controller_patch.rb:62:in more_preview' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/actionpack-5.2.5/lib/action_controller/metal/basic_implicit_render.rb:6:in send_action' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/actionpack-5.2.5/lib/abstract_controller/base.rb:194:in process_action' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/actionpack-5.2.5/lib/action_controller/metal/rendering.rb:30:in process_action' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/actionpack-5.2.5/lib/abstract_controller/callbacks.rb:42:in block in process_action' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.5/lib/active_support/callbacks.rb:109:in block in run_callbacks' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/lib/redmine/sudo_mode.rb:61:in sudo_mode' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.5/lib/active_support/callbacks.rb:118:in block in run_callbacks' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.5/lib/active_support/callbacks.rb:136:in run_callbacks' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/actionpack-5.2.5/lib/abstract_controller/callbacks.rb:41:in process_action' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/actionpack-5.2.5/lib/action_controller/metal/rescue.rb:22:in process_action' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/actionpack-5.2.5/lib/action_controller/metal/instrumentation.rb:34:in block in process_action' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.5/lib/active_support/notifications.rb:168:in block in instrument' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.5/lib/active_support/notifications/instrumenter.rb:23:in instrument' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.5/lib/active_support/notifications.rb:168:in instrument' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/actionpack-5.2.5/lib/action_controller/metal/instrumentation.rb:32:in process_action' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/actionpack-5.2.5/lib/action_controller/metal/params_wrapper.rb:256:in process_action' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/activerecord-5.2.5/lib/active_record/railties/controller_runtime.rb:24:in process_action' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/actionpack-5.2.5/lib/abstract_controller/base.rb:134:in process' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/actionview-5.2.5/lib/action_view/rendering.rb:32:in process' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/actionpack-5.2.5/lib/action_controller/metal.rb:191:in dispatch' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/actionpack-5.2.5/lib/action_controller/metal.rb:252:in dispatch' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/actionpack-5.2.5/lib/action_dispatch/routing/route_set.rb:52:in dispatch' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/actionpack-5.2.5/lib/action_dispatch/routing/route_set.rb:34:in serve' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/actionpack-5.2.5/lib/action_dispatch/journey/router.rb:52:in block in serve' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/actionpack-5.2.5/lib/action_dispatch/journey/router.rb:35:in each' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/actionpack-5.2.5/lib/action_dispatch/journey/router.rb:35:in serve' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/actionpack-5.2.5/lib/action_dispatch/routing/route_set.rb:840:in call' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/rack-openid-1.4.2/lib/rack/openid.rb:98:in call' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/rack-2.2.3/lib/rack/tempfile_reaper.rb:15:in call' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/rack-2.2.3/lib/rack/etag.rb:27:in call' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/rack-2.2.3/lib/rack/conditional_get.rb:27:in call' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/rack-2.2.3/lib/rack/head.rb:12:in call' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/actionpack-5.2.5/lib/action_dispatch/http/content_security_policy.rb:18:in call' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/rack-2.2.3/lib/rack/session/abstract/id.rb:266:in context' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/rack-2.2.3/lib/rack/session/abstract/id.rb:260:in call' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/actionpack-5.2.5/lib/action_dispatch/middleware/cookies.rb:670:in call' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/actionpack-5.2.5/lib/action_dispatch/middleware/callbacks.rb:28:in block in call' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.5/lib/active_support/callbacks.rb:98:in run_callbacks' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/actionpack-5.2.5/lib/action_dispatch/middleware/callbacks.rb:26:in call' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/actionpack-5.2.5/lib/action_dispatch/middleware/debug_exceptions.rb:61:in call' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/actionpack-5.2.5/lib/action_dispatch/middleware/show_exceptions.rb:33:in call' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/railties-5.2.5/lib/rails/rack/logger.rb:38:in call_app' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/railties-5.2.5/lib/rails/rack/logger.rb:26:in block in call' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.5/lib/active_support/tagged_logging.rb:71:in block in tagged' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.5/lib/active_support/tagged_logging.rb:28:in tagged' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.5/lib/active_support/tagged_logging.rb:71:in tagged' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/railties-5.2.5/lib/rails/rack/logger.rb:26:in call' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/actionpack-5.2.5/lib/action_dispatch/middleware/remote_ip.rb:81:in call' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/request_store-1.5.0/lib/request_store/middleware.rb:19:in call' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/actionpack-5.2.5/lib/action_dispatch/middleware/request_id.rb:27:in call' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/rack-2.2.3/lib/rack/method_override.rb:24:in call' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/rack-2.2.3/lib/rack/runtime.rb:22:in call' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.5/lib/active_support/cache/strategy/local_cache_middleware.rb:29:in call' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/actionpack-5.2.5/lib/action_dispatch/middleware/executor.rb:14:in call' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/actionpack-5.2.5/lib/action_dispatch/middleware/static.rb:127:in call' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/rack-2.2.3/lib/rack/sendfile.rb:110:in call' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/rack-2.2.3/lib/rack/content_length.rb:17:in call' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/railties-5.2.5/lib/rails/engine.rb:524:in call' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/rack-2.2.3/lib/rack/urlmap.rb:74:in block in call' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/rack-2.2.3/lib/rack/urlmap.rb:58:in each' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/rack-2.2.3/lib/rack/urlmap.rb:58:in call' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/thin-1.8.0-x64-mingw32/lib/thin/connection.rb:86:in block in pre_process' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/thin-1.8.0-x64-mingw32/lib/thin/connection.rb:84:in catch' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/thin-1.8.0-x64-mingw32/lib/thin/connection.rb:84:in pre_process' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/thin-1.8.0-x64-mingw32/lib/thin/connection.rb:53:in process' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/thin-1.8.0-x64-mingw32/lib/thin/connection.rb:39:in receive_data' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/eventmachine-1.2.7-x64-mingw32/lib/eventmachine.rb:195:in run_machine' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/eventmachine-1.2.7-x64-mingw32/lib/eventmachine.rb:195:in run' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/thin-1.8.0-x64-mingw32/lib/thin/backends/base.rb:75:in start' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/thin-1.8.0-x64-mingw32/lib/thin/server.rb:162:in start' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/thin-1.8.0-x64-mingw32/lib/thin/controllers/controller.rb:87:in start' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/thin-1.8.0-x64-mingw32/lib/thin/runner.rb:203:in run_command' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/thin-1.8.0-x64-mingw32/lib/thin/runner.rb:159:in run!' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/thin-1.8.0-x64-mingw32/bin/thin:6:in <top (required)>' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/bin/thin:29:in load' D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/bin/thin:29:in

' Completed 406 Not Acceptable in 50ms (ActiveRecord: 11.0ms)

ActionController::UnknownFormat (AttachmentsController#more_preview is missing a template for this request format and variant.

request.formats: ["application/pdf"] request.variant: []):

lib/redmine/sudo_mode.rb:61:in sudo_mode' Started GET "/redmine/admin" for 127.0.0.1 at 2021-10-10 22:55:31 +0500 Processing by AdminController#index as HTML Current user: rmaster (id=1) Rendering admin/index.html.erb within layouts/admin Rendered admin/_menu.html.erb (9.5ms) Rendered admin/index.html.erb within layouts/admin (40.4ms) Rendering layouts/base.html.erb Rendered plugins/redmine_more_previews/app/views/hooks/redmine_more_previews/_icon_css.html.erb (0.3ms) Rendered layouts/base.html.erb (34.4ms) Completed 200 OK in 206ms (Views: 140.5ms | ActiveRecord: 33.3ms) Started GET "/redmine/admin/info" for 127.0.0.1 at 2021-10-10 22:55:33 +0500 Processing by AdminController#info as HTML Current user: rmaster (id=1) soffice --versionfailed with error: executable not found: "soffice"pandoc --versionfailed with error: executable not found: "pandoc" Rendering admin/info.html.erb within layouts/admin SCM command failed, make sure that your SCM command (e.g. svn) is in PATH (D:\Bitnami\redmine-4.2.1-3\imagemagick;D:\Bitnami\redmine-4.2.1-3/msys64\bin;D:\Bitnami\redmine-4.2.1-3/ruby\bin;D:\Bitnami\redmine-4.2.1-3/git\bin;D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/bin;C:\Program Files (x86)\VMware\VMware Player\bin\;C:\Program Files (x86)\Intel\iCLS Client\;C:\Program Files\Intel\iCLS Client\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Windows Live\Shared;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)\Intel\OpenCL SDK\2.0\bin\x86;C:\Program Files (x86)\Intel\OpenCL SDK\2.0\bin\x64;C:\Program Files\Intel\WiFi\bin\;C:\Program Files\Common Files\Intel\WirelessCommon\;C:\Program Files\Maven\bin;C:\Program Files\Git\cmd;C:\Program Files\PuTTY\;C:\Program Files\Pandoc) You can configure your scm commands in config/configuration.yml. "svn" --version with: No such file or directory - "svn" --version scm: error during get scm available: No such file or directory - "svn" --version SCM command failed, make sure that your SCM command (e.g. svn) is in PATH (D:\Bitnami\redmine-4.2.1-3\imagemagick;D:\Bitnami\redmine-4.2.1-3/msys64\bin;D:\Bitnami\redmine-4.2.1-3/ruby\bin;D:\Bitnami\redmine-4.2.1-3/git\bin;D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/bin;C:\Program Files (x86)\VMware\VMware Player\bin\;C:\Program Files (x86)\Intel\iCLS Client\;C:\Program Files\Intel\iCLS Client\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Windows Live\Shared;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)\Intel\OpenCL SDK\2.0\bin\x86;C:\Program Files (x86)\Intel\OpenCL SDK\2.0\bin\x64;C:\Program Files\Intel\WiFi\bin\;C:\Program Files\Common Files\Intel\WirelessCommon\;C:\Program Files\Maven\bin;C:\Program Files\Git\cmd;C:\Program Files\PuTTY\;C:\Program Files\Pandoc) You can configure your scm commands in config/configuration.yml. "hg" --version with: No such file or directory - "hg" --version scm: error during get scm available: No such file or directory - "hg" --version SCM command failed, make sure that your SCM command (e.g. svn) is in PATH (D:\Bitnami\redmine-4.2.1-3\imagemagick;D:\Bitnami\redmine-4.2.1-3/msys64\bin;D:\Bitnami\redmine-4.2.1-3/ruby\bin;D:\Bitnami\redmine-4.2.1-3/git\bin;D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/bin;C:\Program Files (x86)\VMware\VMware Player\bin\;C:\Program Files (x86)\Intel\iCLS Client\;C:\Program Files\Intel\iCLS Client\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Windows Live\Shared;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)\Intel\OpenCL SDK\2.0\bin\x86;C:\Program Files (x86)\Intel\OpenCL SDK\2.0\bin\x64;C:\Program Files\Intel\WiFi\bin\;C:\Program Files\Common Files\Intel\WirelessCommon\;C:\Program Files\Maven\bin;C:\Program Files\Git\cmd;C:\Program Files\PuTTY\;C:\Program Files\Pandoc) You can configure your scm commands in config/configuration.yml. "cvs" --version with: No such file or directory - "cvs" --version scm: error during get scm available: No such file or directory - "cvs" --version SCM command failed, make sure that your SCM command (e.g. svn) is in PATH (D:\Bitnami\redmine-4.2.1-3\imagemagick;D:\Bitnami\redmine-4.2.1-3/msys64\bin;D:\Bitnami\redmine-4.2.1-3/ruby\bin;D:\Bitnami\redmine-4.2.1-3/git\bin;D:/Bitnami/redmine-4.2.1-3/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/bin;C:\Program Files (x86)\VMware\VMware Player\bin\;C:\Program Files (x86)\Intel\iCLS Client\;C:\Program Files\Intel\iCLS Client\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Windows Live\Shared;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)\Intel\OpenCL SDK\2.0\bin\x86;C:\Program Files (x86)\Intel\OpenCL SDK\2.0\bin\x64;C:\Program Files\Intel\WiFi\bin\;C:\Program Files\Common Files\Intel\WirelessCommon\;C:\Program Files\Maven\bin;C:\Program Files\Git\cmd;C:\Program Files\PuTTY\;C:\Program Files\Pandoc) You can configure your scm commands in config/configuration.yml. "bzr" --version with: No such file or directory - "bzr" --version scm: error during get scm available: No such file or directory - "bzr" --version Rendered admin/info.html.erb within layouts/admin (126.5ms) Rendered admin/_menu.html.erb (8.5ms) Rendering layouts/base.html.erb Rendered plugins/redmine_more_previews/app/views/hooks/redmine_more_previews/_icon_css.html.erb (0.3ms) Rendered layouts/base.html.erb (36.7ms) Completed 200 OK in 341ms (Views: 197.9ms | ActiveRecord: 26.8ms)

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/HugoHasenbein/redmine_more_previews/issues/30#issuecomment-939526672, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJWRDRCE7AWIQ3OJCSMYSJLUGHI3NANCNFSM5CDLZ4NQ. Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.