プロジェクト

全般

プロフィール

Vote #80811

未完了

Gantt conversion to png failed with error w.r.t. font 'helvetica'

Admin Redmine さんが約2年前に追加. 約2年前に更新.

ステータス:
Resolved
優先度:
通常
担当者:
-
カテゴリ:
Gantt_34
対象バージョン:
-
開始日:
2022/05/09
期日:
進捗率:

0%

予定工数:
category_id:
34
version_id:
0
issue_org_id:
33291
author_id:
361769
assigned_to_id:
0
comments:
1
status_id:
3
tracker_id:
1
plus1:
0
affected_version:
closed_on:
affected_version_id:
160
ステータス-->[Resolved]

説明

h2. Expected Behavior

Gantt-Diagramm converts to png file format.

h2. Actual Behavior

Clicking on the png link at the bottom of the Gantt page causes an error.

h3. Essentials of Error Message

MiniMagick::Error in GanttsController#show
.../tmp/mini_magick20200415-1-ufk9mt.png failed with error: convert-im6.q16: unable to read font helvetica' @ error/annotate.c/RenderFreetype/1333. convert-im6.q16: non-conforming drawing primitive definitiontext' @ error/draw.c/RenderMVGContent/4301.

See the two attached sreenshots of the very long error message.

h2. Steps for Reproduction

Install Redmine according to the Technical Details below with a database populated only be Redmines default data

Define a Project by only setting a name

Create a Ticket by only setting name and due date

Go to Gantt page and click the png link at the bottom

h2. Technical Details

Redmine 4.1.1.stable
Default administrator account changed

Attachments directory writable

Plugin assets directory writable (./public/plugin_assets)

MiniMagick available (optional)

ImageMagick convert available (optional)

ImageMagick PDF support available (optional)

Environment:
Redmine version 4.1.1.stable
Ruby version 2.5.8-p224 (2020-03-31) [x86_64-linux]
Rails version 5.2.4.2
Environment development
Database adapter Mysql2
Mailer queue ActiveJob::QueueAdapters::AsyncAdapter
Mailer delivery smtp
SCM:
Subversion 1.10.4
Mercurial 4.8.2
Git 2.20.1
Filesystem

Redmine plugins:
no plugin installed


journals

h2. Solution

Installation of gsfonts since it is needed by ghostscript.

This bunch of software is necessary to use the Redmine features accompanied with MiniMagick:

* ghostscript
* gsfonts
* imagemagick

--------------------------------------------------------------------------------

Admin Redmine さんが約2年前に更新

  • カテゴリGantt_34 にセット

他の形式にエクスポート: Atom PDF

いいね!0
いいね!0