Add notes for 2017-02-21

This commit is contained in:
Alan Orth 2017-02-21 12:29:14 +02:00
parent c89ffca331
commit 0042349f62
Signed by: alanorth
GPG Key ID: 0FB860CC9C45B1B9
5 changed files with 132 additions and 1 deletions

View File

@ -188,3 +188,26 @@ b'Entwicklung & L\xc3\xa4ndlicher Raum'
``` ```
- So for now I will remove the encode call from the script (though it was never used on the versions on the Linux hosts), leading me to believe it really *was* a temporary problem, perhaps due to macOS or the Python build I was using. - So for now I will remove the encode call from the script (though it was never used on the versions on the Linux hosts), leading me to believe it really *was* a temporary problem, perhaps due to macOS or the Python build I was using.
## 2017-02-21
- Testing regenerating PDF thumbnails, like I started in 2016-11
- It seems there is a bug in `filter-media` that causes it to process formats that aren't part of its configuration:
```
$ [dspace]/bin/dspace filter-media -f -i 10568/16856 -p "ImageMagick PDF Thumbnail"
File: earlywinproposal_esa_postharvest.pdf.jpg
FILTERED: bitstream 13787 (item: 10568/16881) and created 'earlywinproposal_esa_postharvest.pdf.jpg'
File: postHarvest.jpg.jpg
FILTERED: bitstream 16524 (item: 10568/24655) and created 'postHarvest.jpg.jpg'
```
- According to `dspace.cfg` the ImageMagick PDF Thumbnail plugin should only process PDFs:
```
filter.org.dspace.app.mediafilter.ImageMagickImageThumbnailFilter.inputFormats = BMP, GIF, image/png, JPG, TIFF, JPEG, JPEG 2000
filter.org.dspace.app.mediafilter.ImageMagickPdfThumbnailFilter.inputFormats = Adobe PDF
```
- I've sent a message to the mailing list and might file a Jira issue
- Ask Atmire about the failed interpolation of the `dspace.internalUrl` variable in `atmire-cua.cfg`

View File

@ -92,7 +92,7 @@ Looks like we’ll be using cg.identifier.ccafsprojectpii as the field name
"headline": "February, 2017", "headline": "February, 2017",
"url": "https://alanorth.github.io/cgspace-notes/2017-02/", "url": "https://alanorth.github.io/cgspace-notes/2017-02/",
"wordCount": "1347", "wordCount": "1459",
"datePublished": "2017-02-07T07:04:52-08:00", "datePublished": "2017-02-07T07:04:52-08:00",
@ -387,6 +387,33 @@ b'Entwicklung & L\xc3\xa4ndlicher Raum'
<li>So for now I will remove the encode call from the script (though it was never used on the versions on the Linux hosts), leading me to believe it really <em>was</em> a temporary problem, perhaps due to macOS or the Python build I was using.</li> <li>So for now I will remove the encode call from the script (though it was never used on the versions on the Linux hosts), leading me to believe it really <em>was</em> a temporary problem, perhaps due to macOS or the Python build I was using.</li>
</ul> </ul>
<h2 id="2017-02-21">2017-02-21</h2>
<ul>
<li>Testing regenerating PDF thumbnails, like I started in 2016-11</li>
<li>It seems there is a bug in <code>filter-media</code> that causes it to process formats that aren&rsquo;t part of its configuration:</li>
</ul>
<pre><code>$ [dspace]/bin/dspace filter-media -f -i 10568/16856 -p &quot;ImageMagick PDF Thumbnail&quot;
File: earlywinproposal_esa_postharvest.pdf.jpg
FILTERED: bitstream 13787 (item: 10568/16881) and created 'earlywinproposal_esa_postharvest.pdf.jpg'
File: postHarvest.jpg.jpg
FILTERED: bitstream 16524 (item: 10568/24655) and created 'postHarvest.jpg.jpg'
</code></pre>
<ul>
<li>According to <code>dspace.cfg</code> the ImageMagick PDF Thumbnail plugin should only process PDFs:</li>
</ul>
<pre><code>filter.org.dspace.app.mediafilter.ImageMagickImageThumbnailFilter.inputFormats = BMP, GIF, image/png, JPG, TIFF, JPEG, JPEG 2000
filter.org.dspace.app.mediafilter.ImageMagickPdfThumbnailFilter.inputFormats = Adobe PDF
</code></pre>
<ul>
<li>I&rsquo;ve sent a message to the mailing list and might file a Jira issue</li>
<li>Ask Atmire about the failed interpolation of the <code>dspace.internalUrl</code> variable in <code>atmire-cua.cfg</code></li>
</ul>

View File

@ -233,6 +233,33 @@ b&#39;Entwicklung &amp;amp; L\xc3\xa4ndlicher Raum&#39;
&lt;ul&gt; &lt;ul&gt;
&lt;li&gt;So for now I will remove the encode call from the script (though it was never used on the versions on the Linux hosts), leading me to believe it really &lt;em&gt;was&lt;/em&gt; a temporary problem, perhaps due to macOS or the Python build I was using.&lt;/li&gt; &lt;li&gt;So for now I will remove the encode call from the script (though it was never used on the versions on the Linux hosts), leading me to believe it really &lt;em&gt;was&lt;/em&gt; a temporary problem, perhaps due to macOS or the Python build I was using.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&#34;2017-02-21&#34;&gt;2017-02-21&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;Testing regenerating PDF thumbnails, like I started in 2016-11&lt;/li&gt;
&lt;li&gt;It seems there is a bug in &lt;code&gt;filter-media&lt;/code&gt; that causes it to process formats that aren&amp;rsquo;t part of its configuration:&lt;/li&gt;
&lt;/ul&gt;
&lt;pre&gt;&lt;code&gt;$ [dspace]/bin/dspace filter-media -f -i 10568/16856 -p &amp;quot;ImageMagick PDF Thumbnail&amp;quot;
File: earlywinproposal_esa_postharvest.pdf.jpg
FILTERED: bitstream 13787 (item: 10568/16881) and created &#39;earlywinproposal_esa_postharvest.pdf.jpg&#39;
File: postHarvest.jpg.jpg
FILTERED: bitstream 16524 (item: 10568/24655) and created &#39;postHarvest.jpg.jpg&#39;
&lt;/code&gt;&lt;/pre&gt;
&lt;ul&gt;
&lt;li&gt;According to &lt;code&gt;dspace.cfg&lt;/code&gt; the ImageMagick PDF Thumbnail plugin should only process PDFs:&lt;/li&gt;
&lt;/ul&gt;
&lt;pre&gt;&lt;code&gt;filter.org.dspace.app.mediafilter.ImageMagickImageThumbnailFilter.inputFormats = BMP, GIF, image/png, JPG, TIFF, JPEG, JPEG 2000
filter.org.dspace.app.mediafilter.ImageMagickPdfThumbnailFilter.inputFormats = Adobe PDF
&lt;/code&gt;&lt;/pre&gt;
&lt;ul&gt;
&lt;li&gt;I&amp;rsquo;ve sent a message to the mailing list and might file a Jira issue&lt;/li&gt;
&lt;li&gt;Ask Atmire about the failed interpolation of the &lt;code&gt;dspace.internalUrl&lt;/code&gt; variable in &lt;code&gt;atmire-cua.cfg&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;</description> &lt;/ul&gt;</description>
</item> </item>

View File

@ -233,6 +233,33 @@ b&#39;Entwicklung &amp;amp; L\xc3\xa4ndlicher Raum&#39;
&lt;ul&gt; &lt;ul&gt;
&lt;li&gt;So for now I will remove the encode call from the script (though it was never used on the versions on the Linux hosts), leading me to believe it really &lt;em&gt;was&lt;/em&gt; a temporary problem, perhaps due to macOS or the Python build I was using.&lt;/li&gt; &lt;li&gt;So for now I will remove the encode call from the script (though it was never used on the versions on the Linux hosts), leading me to believe it really &lt;em&gt;was&lt;/em&gt; a temporary problem, perhaps due to macOS or the Python build I was using.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&#34;2017-02-21&#34;&gt;2017-02-21&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;Testing regenerating PDF thumbnails, like I started in 2016-11&lt;/li&gt;
&lt;li&gt;It seems there is a bug in &lt;code&gt;filter-media&lt;/code&gt; that causes it to process formats that aren&amp;rsquo;t part of its configuration:&lt;/li&gt;
&lt;/ul&gt;
&lt;pre&gt;&lt;code&gt;$ [dspace]/bin/dspace filter-media -f -i 10568/16856 -p &amp;quot;ImageMagick PDF Thumbnail&amp;quot;
File: earlywinproposal_esa_postharvest.pdf.jpg
FILTERED: bitstream 13787 (item: 10568/16881) and created &#39;earlywinproposal_esa_postharvest.pdf.jpg&#39;
File: postHarvest.jpg.jpg
FILTERED: bitstream 16524 (item: 10568/24655) and created &#39;postHarvest.jpg.jpg&#39;
&lt;/code&gt;&lt;/pre&gt;
&lt;ul&gt;
&lt;li&gt;According to &lt;code&gt;dspace.cfg&lt;/code&gt; the ImageMagick PDF Thumbnail plugin should only process PDFs:&lt;/li&gt;
&lt;/ul&gt;
&lt;pre&gt;&lt;code&gt;filter.org.dspace.app.mediafilter.ImageMagickImageThumbnailFilter.inputFormats = BMP, GIF, image/png, JPG, TIFF, JPEG, JPEG 2000
filter.org.dspace.app.mediafilter.ImageMagickPdfThumbnailFilter.inputFormats = Adobe PDF
&lt;/code&gt;&lt;/pre&gt;
&lt;ul&gt;
&lt;li&gt;I&amp;rsquo;ve sent a message to the mailing list and might file a Jira issue&lt;/li&gt;
&lt;li&gt;Ask Atmire about the failed interpolation of the &lt;code&gt;dspace.internalUrl&lt;/code&gt; variable in &lt;code&gt;atmire-cua.cfg&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;</description> &lt;/ul&gt;</description>
</item> </item>

View File

@ -232,6 +232,33 @@ b&#39;Entwicklung &amp;amp; L\xc3\xa4ndlicher Raum&#39;
&lt;ul&gt; &lt;ul&gt;
&lt;li&gt;So for now I will remove the encode call from the script (though it was never used on the versions on the Linux hosts), leading me to believe it really &lt;em&gt;was&lt;/em&gt; a temporary problem, perhaps due to macOS or the Python build I was using.&lt;/li&gt; &lt;li&gt;So for now I will remove the encode call from the script (though it was never used on the versions on the Linux hosts), leading me to believe it really &lt;em&gt;was&lt;/em&gt; a temporary problem, perhaps due to macOS or the Python build I was using.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&#34;2017-02-21&#34;&gt;2017-02-21&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;Testing regenerating PDF thumbnails, like I started in 2016-11&lt;/li&gt;
&lt;li&gt;It seems there is a bug in &lt;code&gt;filter-media&lt;/code&gt; that causes it to process formats that aren&amp;rsquo;t part of its configuration:&lt;/li&gt;
&lt;/ul&gt;
&lt;pre&gt;&lt;code&gt;$ [dspace]/bin/dspace filter-media -f -i 10568/16856 -p &amp;quot;ImageMagick PDF Thumbnail&amp;quot;
File: earlywinproposal_esa_postharvest.pdf.jpg
FILTERED: bitstream 13787 (item: 10568/16881) and created &#39;earlywinproposal_esa_postharvest.pdf.jpg&#39;
File: postHarvest.jpg.jpg
FILTERED: bitstream 16524 (item: 10568/24655) and created &#39;postHarvest.jpg.jpg&#39;
&lt;/code&gt;&lt;/pre&gt;
&lt;ul&gt;
&lt;li&gt;According to &lt;code&gt;dspace.cfg&lt;/code&gt; the ImageMagick PDF Thumbnail plugin should only process PDFs:&lt;/li&gt;
&lt;/ul&gt;
&lt;pre&gt;&lt;code&gt;filter.org.dspace.app.mediafilter.ImageMagickImageThumbnailFilter.inputFormats = BMP, GIF, image/png, JPG, TIFF, JPEG, JPEG 2000
filter.org.dspace.app.mediafilter.ImageMagickPdfThumbnailFilter.inputFormats = Adobe PDF
&lt;/code&gt;&lt;/pre&gt;
&lt;ul&gt;
&lt;li&gt;I&amp;rsquo;ve sent a message to the mailing list and might file a Jira issue&lt;/li&gt;
&lt;li&gt;Ask Atmire about the failed interpolation of the &lt;code&gt;dspace.internalUrl&lt;/code&gt; variable in &lt;code&gt;atmire-cua.cfg&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;</description> &lt;/ul&gt;</description>
</item> </item>