Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Register
  • Sign in
  • erp5 erp5
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Merge requests 142
    • Merge requests 142
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Jobs
  • Commits
Collapse sidebar
  • nexedinexedi
  • erp5erp5
  • Merge requests
  • !485

Image.py: remove some warnings from imagemagick stdout

  • Review changes

  • Download
  • Patches
  • Plain diff
Open Tristan Cavelier requested to merge tc/erp5:imw into master Nov 08, 2017
  • Overview 9
  • Commits 1
  • Pipelines 0
  • Changes 1
**** Warning: considering '0000000000 XXXXX n' as a free entry.

https://codeyarns.com/2014/03/10/free-entry-warning-with-ghostscript-and-imagemagick/

This warning turns out to be from the Ghostscript program, which is used by ImageMagick internally to perform this format conversion. This page explains that this error has been fixed in a recent version of Ghostscript. I used a newer version of Ubuntu, that is 13.11, that had a newer version of gs and I was able to perform the format conversion. It still gave off the warning, but the conversion was done.

Image.py tells imagemagick to convert to stdout. Warnings are also returned via stdout before actual rendering.


I also tested with the previous imagemagick used on Nexedi ERP5, the issue still happens.

So far, I have no other quick solution except by testing latest ghostscript + imagemagick (for instance on a Debian or Ubuntu machine before trying upgrade them in SlapOS).

/cc @jp @seb @romain

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: imw
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7