Project

General

Profile

Exporting to pdf a wiki page containing a list of issues

Added by Jerome Dupont over 7 years ago

Hello

We try to generate a pdf document containing an introduction and a list of issues (with their description).

To do this, we have created a wiki page with a macro {{ref_issues(-q=testBdc2)}} (testBdc2 is a predefined report)

The page contains what we want, that is, the wiki page, including our issues.

But now we want to export it in pdf format:
Unfortunately in the generated pdf, instead of issues list, I find :


Error executing the ref_issues macro (Missing partial issues/_list with {:locale=>[:fr, :en], :formats=>[:pdf], :variants=>[],
:handlers=>[:erb, :builder, :raw, :ruby, :haml, :jbuilder, :rsb]}. Searched in:   * "/opt/BNF/redmine-3.3.1/plugins/scrum/app/views"   *
"/opt/BNF/redmine-3.3.1/plugins/redmine_wiki_extensions/app/views"   *
"/opt/BNF/redmine-3.3.1/plugins/redmine_sidekiq/app/views"   * "/opt/BNF/redmine-3.3.1/plugins/redmine_query_share/app/views"   *
"/opt/BNF/redmine-3.3.1/plugins/redmine_pivot_table/app/views"   * "/opt/BNF/redmine-3.3.1/plugins/redmine_pdf_wiki/app/views"   *
"/opt/BNF/redmine-3.3.1/plugins/redmine_mylyn_connector/app/views"   *
"/opt/BNF/redmine-3.3.1/plugins/redmine_multiprojects_issue/app/views"   *
"/opt/BNF/redmine-3.3.1/plugins/redmine_ldap_sync/app/views"   *
"/opt/BNF/redmine-3.3.1/plugins/redmine_issue_templates/app/views"   *
"/opt/BNF/redmine-3.3.1/plugins/redmine_git_hosting/app/views"   *
"/opt/BNF/redmine-3.3.1/plugins/redmine_favourite_projects/app/views"   *
"/opt/BNF/redmine-3.3.1/plugins/redmine_dashboard/app/views"   *
"/opt/BNF/redmine-3.3.1/plugins/redmine_code_review/app/views"   *
"/opt/BNF/redmine-3.3.1/plugins/redmine_bootstrap_kit/app/views"   * "/opt/BNF/redmine-3.3.1/plugins/redmine_banner/app/views"  
* "/opt/BNF/redmine-3.3.1/plugins/plantuml/app/views"   * "/opt/BNF/redmine-3.3.1/plugins/clipboard_image_paste/app/views"   *
"/opt/BNF/redmine-3.3.1/app/views" 
/opt/BNF/redmine-3.3.1/vendor/bundle/ruby/2.3.0/gems/actionview-4.2.7.1/lib/action_view/path_set.rb:46:in `find'

Thanks for help
Jerome


Replies (1)

RE: Exporting to pdf a wiki page containing a list of issues - Added by Anonymous over 7 years ago

Jerome Dupont wrote:

Hello

We try to generate a pdf document containing an introduction and a list of issues (with their description).

To do this, we have created a wiki page with a macro {{ref_issues(-q=testBdc2)}} (testBdc2 is a predefined report)

The page contains what we want, that is, the wiki page, including our issues.

But now we want to export it in pdf format:
Unfortunately in the generated pdf, instead of issues list, I find :

[...]

Thanks for help
Jerome

Hello Jerome,

a similar problem I've got on Redmine while exporting a issue-list with about 400 entries including the description to a pdf-file. Reducing the amount of issues sometimes helps - but it isn't a solution!
The same effect occurs if I try to export the result of a customer query.
This Error occurs since redmine-version 2.1.0

Redmine Error - Message stored in pdf-file:
-------------------------------------------
Error executing the ref_issues macro (Missing partial issues/_list with {:locale=>[:de, :en], :formats=>[:pdf], :variants=>[],
:handlers=>[:erb, :builder, :raw, :ruby, :rsb, :rjs]}. Searched in: *
"C:/Bitnami/redmine-3.1.0-0/apps/redmine/htdocs/plugins/redmine_mail_reminder/app/views" *
"C:/Bitnami/redmine-3.1.0-0/apps/redmine/htdocs/plugins/redmine_issue_templates/app/views" *
"C:/Bitnami/redmine-3.1.0-0/apps/redmine/htdocs/plugins/redmine_ckeditor/app/views" *
"C:/Bitnami/redmine-3.1.0-0/apps/redmine/htdocs/plugins/redmine_checklists/app/views" *
"C:/Bitnami/redmine-3.1.0-0/apps/redmine/htdocs/plugins/redcase/app/views" *
"C:/Bitnami/redmine-3.1.0-0/apps/redmine/htdocs/app/views" *
"C:/Bitnami/redmine-3.1.0-0/ruby/lib/ruby/gems/2.0.0/gems/kaminari-0.16.3/app/views" *
"C:/Bitnami/redmine-3.1.0-0/apps/redmine/htdocs/vendor/bundle/ruby/2.0.0/bundler/gems/rich-93d1dd9526e1/app/views" 
C:/Bitnami/redmine-3.1.0-0/ruby/lib/ruby/gems/2.0.0/gems/actionview-4.2.3/lib/action_view/path_set.rb:46:in `find')
Environment:
  Redmine version                3.1.0.stable
  Ruby version                   2.0.0-p645 (2015-04-13) [i386-mingw32]
  Rails version                  4.2.3
  Environment                    production
  Database adapter               Mysql2
SCM:
  Subversion                     1.9.2
  Git                            1.9.5
  Filesystem                     
Redmine plugins:
  redcase                        1.0
  redmine_checklists             3.1.1
  redmine_ckeditor               1.1.0
  redmine_issue_templates        0.1.3
  redmine_mail_reminder          3.0.0.0001
  redmine_wiki_lists             0.0.6

I would be also appreciated to get a solution for this or a tip how to solve it.

kind regards
Klemens

    (1-1/1)