From ab5f69694e9da66ec0586d975fe54ca528f28b03 Mon Sep 17 00:00:00 2001 From: Alan Orth Date: Mon, 3 Dec 2018 18:28:21 +0200 Subject: [PATCH] Update notes for 2018-12-03 --- content/posts/2018-12.md | 32 ++++++++++++++++++++++++++++ docs/2018-12/index.html | 46 +++++++++++++++++++++++++++++++++++++--- docs/robots.txt | 2 +- docs/sitemap.xml | 20 ++++++++--------- 4 files changed, 86 insertions(+), 14 deletions(-) diff --git a/content/posts/2018-12.md b/content/posts/2018-12.md index 9bdf094d2..2cce254d2 100644 --- a/content/posts/2018-12.md +++ b/content/posts/2018-12.md @@ -199,4 +199,36 @@ Creator: Microsoft® Word for Office 365 Producer: Microsoft® Word for Office 365 ``` +- I remembered an old technique I was using to generate thumbnails in 2015 using Inkscape followed by ImageMagick or GraphicsMagick: + +``` +$ inkscape Food\ safety\ Kenya\ fruits.pdf -z --export-dpi=72 --export-area-drawing --export-png='cover.png' +$ gm convert -resize x600 -flatten -quality 85 cover.png cover.jpg +``` + +- I've tried a few times this week to register for the [Ethiopian eVisa website](https://www.evisa.gov.et/), but it is never successful +- In the end I tried one last time to just apply without registering and it was apparently successful +- Testing DSpace 5.8 (`5_x-prod` branch) in an Ubuntu 18.04 VM with Tomcat 8.5 and had some issues: + - JSPUI shows an internal error (log shows something about tag cloud, though, so might be unrelated) + - Atmire Listings and Reports, which use JSPUI, asks you to log in again and then doesn't work + - Content and Usage Analysis doesn't show up in the sidebar after logging in + - I can navigate to [/atmire/reporting-suite/usage-graph-editor](https://dspacetest.cgiar.org/atmire/reporting-suite/usage-graph-editor), but it's only the Atmire theme and a "page not found" message + - Related messages from dspace.log: + +``` +2018-12-03 15:44:00,030 WARN org.dspace.core.ConfigurationManager @ Requested configuration module: atmire-datatables not found +2018-12-03 15:44:03,390 ERROR com.atmire.app.webui.servlet.ExportServlet @ Error converter plugin not found: interface org.infoCon.ConverterPlugin +... +2018-12-03 15:45:01,667 WARN org.dspace.core.ConfigurationManager @ Requested configuration module: atmire-listing-and-reports not found +``` + +- I tested it on my local environment with Tomcat 8.5.34 and the JSPUI application still has an error (again, the logs show something about tag cloud, so be unrelated), and the Listings and Reports still asks you to log in again, despite already being logged in in XMLUI, but does appear to work (I generated a report and exported a PDF) +- I think the errors about missing Atmire components must be important, here on my local machine as well (though not the one about atmire-listings-and-reports): + +``` +2018-12-03 16:44:00,009 WARN org.dspace.core.ConfigurationManager @ Requested configuration module: atmire-datatables not found +``` + +- This has got to be part Ubuntu Tomcat packaging, and part DSpace 5.x Tomcat 8.5 readiness...? + diff --git a/docs/2018-12/index.html b/docs/2018-12/index.html index bd7d88e18..d64977f5c 100644 --- a/docs/2018-12/index.html +++ b/docs/2018-12/index.html @@ -21,7 +21,7 @@ I noticed that there is another issue with PDF thumbnails on CGSpace, and I see " /> - + @@ -48,9 +48,9 @@ I noticed that there is another issue with PDF thumbnails on CGSpace, and I see "@type": "BlogPosting", "headline": "December, 2018", "url": "https://alanorth.github.io/cgspace-notes/2018-12/", - "wordCount": "1195", + "wordCount": "1503", "datePublished": "2018-12-02T02:09:30+02:00", - "dateModified": "2018-12-03T12:35:27+02:00", + "dateModified": "2018-12-03T13:16:42+02:00", "author": { "@type": "Person", "name": "Alan Orth" @@ -330,6 +330,46 @@ Creator: Microsoft® Word for Office 365 Producer: Microsoft® Word for Office 365 + + +
$ inkscape Food\ safety\ Kenya\ fruits.pdf -z --export-dpi=72 --export-area-drawing --export-png='cover.png'
+$ gm convert -resize x600 -flatten -quality 85 cover.png cover.jpg
+
+ + + +
2018-12-03 15:44:00,030 WARN  org.dspace.core.ConfigurationManager @ Requested configuration module: atmire-datatables not found
+2018-12-03 15:44:03,390 ERROR com.atmire.app.webui.servlet.ExportServlet @ Error converter plugin not found: interface org.infoCon.ConverterPlugin
+...
+2018-12-03 15:45:01,667 WARN  org.dspace.core.ConfigurationManager @ Requested configuration module: atmire-listing-and-reports not found
+
+ + + +
2018-12-03 16:44:00,009 WARN  org.dspace.core.ConfigurationManager @ Requested configuration module: atmire-datatables not found
+
+ + + diff --git a/docs/robots.txt b/docs/robots.txt index e5d4b2f54..3d2efaa86 100644 --- a/docs/robots.txt +++ b/docs/robots.txt @@ -42,7 +42,7 @@ Disallow: /cgspace-notes/2015-12/ Disallow: /cgspace-notes/2015-11/ Disallow: /cgspace-notes/ Disallow: /cgspace-notes/categories/ -Disallow: /cgspace-notes/categories/notes/ Disallow: /cgspace-notes/tags/notes/ +Disallow: /cgspace-notes/categories/notes/ Disallow: /cgspace-notes/posts/ Disallow: /cgspace-notes/tags/ diff --git a/docs/sitemap.xml b/docs/sitemap.xml index 5a9768f13..099d6d67a 100644 --- a/docs/sitemap.xml +++ b/docs/sitemap.xml @@ -4,7 +4,7 @@ https://alanorth.github.io/cgspace-notes/2018-12/ - 2018-12-03T12:35:27+02:00 + 2018-12-03T13:16:42+02:00 @@ -199,7 +199,7 @@ https://alanorth.github.io/cgspace-notes/ - 2018-12-03T12:35:27+02:00 + 2018-12-03T13:16:42+02:00 0 @@ -208,27 +208,27 @@ 0 + + https://alanorth.github.io/cgspace-notes/tags/notes/ + 2018-12-03T13:16:42+02:00 + 0 + + https://alanorth.github.io/cgspace-notes/categories/notes/ 2018-03-09T22:10:33+02:00 0 - - https://alanorth.github.io/cgspace-notes/tags/notes/ - 2018-12-03T12:35:27+02:00 - 0 - - https://alanorth.github.io/cgspace-notes/posts/ - 2018-12-03T12:35:27+02:00 + 2018-12-03T13:16:42+02:00 0 https://alanorth.github.io/cgspace-notes/tags/ - 2018-12-03T12:35:27+02:00 + 2018-12-03T13:16:42+02:00 0