Uploaded image for project: 'translate5'
  1. translate5
  2. TRANSLATE-4803

Improve and Update Visual Containers

    • High
    • Improvement: Change container inheritance to be prepared for outdating dependencies

      Problem

      • The PDFconverter container is a litle outdated (Ubuntu 22.04) and shall be updated to 24.04 alongside the needed libs (poppler, fontforge, ghostscript). This is important for customers using recent PDFfeatures (Image-formats, fonts)
      • The visualconverter consumes all JavaScript errors & Exceptions that occur during headless workloads. Reason for this is the use of browserless - that also is memory-heavy due to an inbuild unused job-management. This e.g. prevents a proper development of the print-to-pdf feature for website downloads

      Solutions

      a) Update pdf2htmlEX (we may take over the maintenance on github ?)

      Orest shall try to build pdf2htmlEX for newer libraries (poppler, fontforge, ghostsript) that will run on a newer Ubuntu

      b) The visualconverter (headless chrome) container should be based on a "normal" headless-chrome image with php & chrome-php added. We may can use this: https://github.com/Laurianti/headless-chromium-php-docker

      The visual-headlessconverter code needs to be adopted to the new image as starting & stopping chrome has to be added to the code. Then the JavaScript-errors/exceptions during visual workloads can be catched & reported back to translate5 via the log. => AXEL's task

       

            volodymyr@mittagqi.com Volodymyr Kyianenko
            axelbecher Axel Becher
            Axel Becher
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: