On Mon, 29 Oct 2018 at 01:34, Craig Russell <[email protected]> wrote:
>
> Good news and other news.
>
> I was able to convert the .png files to .pdf via drag/drop and file the ICLA.
>
> I was unable to convert the .gif files to .pdf via drag/drop. Exception: 
> #<RuntimeError: Failed to concatenate ICLA-YuriGor-1.gif and 
> ICLA-YuriGor-2.gif>
>
> I was unable to convert the .gif files to .pdf via Edit pdf-ize. Exception: 
> #<RuntimeError: Failed to pdf-ize ICLA-YuriGor-1.gif in 
> /secretary/workbench/201810/4f1be03a74/>
>
> I was  unable to rotate the .gif files.

error.log says

"Exception: unknown PIL colorspace: P"

A quick Google search did not produce anything obvious, sorry.

> There is the original (forwarded .gif) message in secretary mail in-box. I'll 
> leave it there until you tell me that you no longer want to try to fix it.
>
> Craig
>
> On Oct 28, 2018, at 6:20 PM, Sam Ruby <[email protected]> wrote:
>
> On Sun, Oct 28, 2018 at 3:08 PM Craig Russell <[email protected]> wrote:
>
>
> Thanks for tracking this down. Who would have thought that image conversion 
> would be so hard?
>
>
> Everything works locally and should be go to go on the whimsy server.
> I changed drag/drop, rotate, and burst.
>
> Craig
>
>
> - Sam Ruby
>
> On Oct 28, 2018, at 10:50 AM, Sam Ruby <[email protected]> wrote:
>
> On Fri, Oct 26, 2018 at 2:38 PM Sam Ruby <[email protected]> wrote:
>
>
> I'm still digging, but may not have much spare time until this weekend.
>
>
> Lots of weirdness.  It looks like the best fix is to switch to use
> different pdf utilities.  I've got a pull request to install them on
> whimsy server:
> https://github.com/apache/infrastructure-puppet/pull/1222.  I see this
> has been merged so I will wait until it is applied and then push the
> whimsy changes.
>
> Weirdness #1:
>
> ImageMagick had a vulnerability reported against it ("ImageTragick")
> which was tracked down to their usage of another utility
> ("ghostscript").  Until that was fixed, the Ubuntu distribution
> disabled pdf conversions in a configuration file.  It since has been
> fixed, but the configuration file changes have not yet been reverted.
>
> Weirdness #2:
>
> The normal way to update XML configuration files in Puppet is to use a
> tool named "augeas".  This tool doesn't seem to handle file names that
> start with a capital letter, so it can't be used on
> /etc/ImageMagick-6/policy.xml.  sed can be used as an alternative.
>
> Weirdness #3:
>
> pdftk can no longer be installed as a package on Ubuntu 18.04.  It
> needs to be installed as a snap utility.  Apparently, snap utilities
> run in a mini-container, and therefore have their own /tmp directory
> (and therefore no access to /tmp files created prior to this process
> being run).  Doesn't currently affect whimsy-vm4, which is using
> Ubuntu 16.04.
>
> - - -
>
> The simplest fix seems to be avoid using ImageMagick convert and
> pdftk.  img2pdf and pdfunite are available on Ubuntu 16.04 and 18.04
> and do the job.  I'll push this change later this afternoon.
>
> - Sam Ruby
>
>
> Craig L Russell
> Secretary, Apache Software Foundation
> [email protected] http://db.apache.org/jdo
>
>
> Craig L Russell
> Secretary, Apache Software Foundation
> [email protected] http://db.apache.org/jdo
>

Reply via email to