Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
erp5 erp5
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Labels
    • Labels
  • Merge requests 136
    • Merge requests 136
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Environments
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Graph
  • Jobs
  • Commits
Collapse sidebar
  • nexedi
  • erp5erp5
  • Merge requests
  • !485

Open
Created Nov 08, 2017 by Tristan Cavelier@tcContributor
  • Report abuse
Report abuse

Image.py: remove some warnings from imagemagick stdout

  • Overview 9
  • Commits 1
  • 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
Reviewer
Request review from
None
Milestone
None
Assign milestone
Time tracking
Source branch: imw
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7