tckz / redmine-wiki_graphviz_plugin

Wiki macro for redmine. The macro render graph-image from wiki contents as dot.
https://passing.breeze.cc/mt/
Other
58 stars 13 forks source link

PDF export not working #20

Open einhander opened 2 years ago

einhander commented 2 years ago

PDF export of graphviz not working. Produce following content in pdf file:

Error executing the graphviz_link macro (Missing template wiki_graphviz/macro with {:locale=>[:ru, :en], :formats=>[:pdf],
:variants=>[], :handlers=>[:raw, :erb, :html, :builder, :ruby, :haml, :rsb]}. Searched in: *
"/usr/share/redmine/plugins/wiki_graphviz_plugin/app/views" *
"/usr/share/redmine/plugins/redmine_more_previews/converters/nil_text/app/views" *
"/usr/share/redmine/plugins/redmine_more_previews/converters/cliff/app/views" *
"/usr/share/redmine/plugins/redmine_more_previews/app/views" * "/usr/share/redmine/plugins/redmine_ldap_sync/app/views" *
"/usr/share/redmine/plugins/redmine_latex_mathjax/app/views" * "/usr/share/redmine/plugins/redmine_issues_tree/app/views" *
"/usr/share/redmine/plugins/redmine_issue_templates/app/views" * "/usr/share/redmine/plugins/redmine_gemavatar/app/views" *
"/usr/share/redmine/plugins/microsoft_project_connector/app/views" * "/usr/share/redmine/app/views" )

Environment: Redmine version 4.0.7.stable Ruby version 2.5.5-p157 (2019-03-15) [x86_64-linux-gnu] Rails version 5.2.3 Environment production Database adapter Mysql2 Mailer queue ActiveJob::QueueAdapters::AsyncAdapter Mailer delivery smtp SCM: Git 2.20.1 Filesystem
Redmine plugins: microsoft_project_connector 1.0.7 redmine_gemavatar 1.1 redmine_impersonate 2.0.0 redmine_issue_templates 1.0.4 redmine_issues_tree 0.0.14 redmine_latex_mathjax 0.4.0 redmine_ldap_sync 2.2.0 redmine_more_previews 2.0.2 redmine_static_link 0.1.0 wiki_graphviz_plugin 0.8.0

tckz commented 2 years ago

When exporting wiki page to PDF, There is no way to embed image which is generated from wiki macro.