HugoHasenbein / redmine_preview_docx

Plugin for Redmine. Show docx attachments in preview pane.
https://www.redmine.org/plugins/redmine_preview_docx
GNU General Public License v2.0
4 stars 4 forks source link

Don't work in Redmine 3.4.5.stable.17339 #1

Open mtolava opened 6 years ago

mtolava commented 6 years ago

Hi! I tested in Debian 9 64bits installing the dependences with: sudo apt-get install haskell-platform sudo apt-get install pandoc pandoc-citeproc

After that, installing the plugin in Redmine, but I cant see the preview view of an docxs archive in the issue. Maybe I am making something wrong?

jasonmacer commented 5 years ago

Hello. I am also not able to get this to work in version 3.4.6.stable.17612 OS: CentOS7 yum install -y pandoc git clone app rake production migrate restart

No errors in redmine and the plugin shows as active, however when attempting to see any .docx file the screen is blank.

zuoliang365 commented 5 years ago

I got the error too, I tried "gem install pandoc-ruby" and got error message "LoadError: cannot load such file -- pandoc-ruby".

Then I installed redmine_preview_office instead. 1.install libreoffice; 2.install redmine plugin redmine_preview_office; 3.enjoy preview now.

danaivehr commented 4 years ago

I've managed it to work for me on Ubuntu 14.

  1. Place 'Gemfile' file with this content into plugin folder:
    
    source 'https://rubygems.org'

gem 'pandoc-ruby', '~> 2.0', '>= 2.0.2'


2. bundle install
3. `ruby bin/rake redmine:plugins RAILS_ENV=production NAME=redmine_preview_docx`
4. restart web server
5. Install pandoc from pandoc site with dpkg -i *.deb