Expand my Community achievements bar.

Enhance your AEM Assets & Boost Your Development: [AEM Gems | June 19, 2024] Improving the Developer Experience with New APIs and Events
SOLVED

eps thumbnails not getting generated with ACS commons Bulk workflow

Avatar

Level 1

I am facing one issue where eps thumbnails are not getting generated with ACS commons bulk workflow manager with synthetic multithreaded option. Below is the error that I am getting

12.04.2019 02:39:25.025 *WARN* [synWf-/content/dam/hsy/test/EPS-Test-Cross-Browser-Testing3.eps] com.day.cq.dam.handler.standard.ps.PostScriptHandler I/O error while getting thumbnail image. java.io.CharConversionException: Illegal character in input. at com.day.cq.dam.core.impl.handler.ASCII85Filter.doFilter(ASCII85Filter.java:118) [com.day.cq.dam.cq-dam-core:5.11.326] at com.day.cq.dam.commons.handler.AbstractFilter.filter(AbstractFilter.java:174) [com.day.cq.dam.cq-dam-commons:5.11.180] at com.day.cq.dam.core.impl.handler.EPSThumbnailProcessor.process(EPSThumbnailProcessor.java:178) [com.day.cq.dam.cq-dam-core:5.11.326] at com.day.cq.dam.commons.handler.DefaultFormatHandler.getThumbnailImage(DefaultFormatHandler.java:104) [com.day.cq.dam.cq-dam-commons:5.11.180] at com.day.cq.dam.handler.standard.ps.PostScriptHandler.getThumbnailImage(PostScriptHandler.java:240) [com.day.cq.dam.cq-dam-handler:5.11.26] at com.day.cq.dam.handler.standard.ps.PostScriptHandler.getImage(PostScriptHandler.java:145) [com.day.cq.dam.cq-dam-handler:5.11.26] at com.day.cq.dam.core.impl.cache.CQBufferedImageCache.getImage(CQBufferedImageCache.java:123) [com.day.cq.dam.cq-dam-core:5.11.326] at com.day.cq.dam.core.impl.gfx.CommonsGfxRenderer.createImageLayer(CommonsGfxRenderer.java:490) [com.day.cq.dam.cq-dam-core:5.11.326] at com.day.cq.dam.core.impl.gfx.CommonsGfxRenderer.createLayer(CommonsGfxRenderer.java:165) [com.day.cq.dam.cq-dam-core:5.11.326] at com.day.cq.dam.core.impl.gfx.CommonsGfxRenderer.render(CommonsGfxRenderer.java:116) [com.day.cq.dam.cq-dam-core:5.11.326] at com.adobe.cq.gfx.impl.GfxImpl.render(GfxImpl.java:94) [com.adobe.cq.cq-gfx:1.4.2] at com.day.cq.dam.core.impl.RenditionMakerImpl$PlanBasedTemplate.apply(RenditionMakerImpl.java:131) [com.day.cq.dam.cq-dam-core:5.11.326] at com.day.cq.dam.core.impl.RenditionMakerImpl.generateRenditions(RenditionMakerImpl.java:210) [com.day.cq.dam.cq-dam-core:5.11.326] at com.day.cq.dam.core.process.CreateThumbnailProcess.createThumbnails(CreateThumbnailProcess.java:119) [com.day.cq.dam.cq-dam-core:5.11.326] at com.day.cq.dam.core.process.ThumbnailProcess.execute(ThumbnailProcess.java:102) [com.day.cq.dam.cq-dam-core:5.11.326] at com.adobe.acs.commons.workflow.synthetic.impl.SyntheticWorkflowRunnerImpl.runCqWorkflowProcess(SyntheticWorkflowRunnerImpl.java:324) [com.adobe.acs.acs-aem-commons-bundle:3.19.0] at com.adobe.acs.commons.workflow.synthetic.impl.SyntheticWorkflowRunnerImpl.run(SyntheticWorkflowRunnerImpl.java:248) [com.adobe.acs.acs-aem-commons-bundle:3.19.0] at com.adobe.acs.commons.workflow.synthetic.impl.SyntheticWorkflowRunnerImpl.execute(SyntheticWorkflowRunnerImpl.java:147) [com.adobe.acs.acs-aem-commons-bundle:3.19.0] at com.adobe.acs.commons.workflow.synthetic.impl.SyntheticWorkflowRunnerImpl.execute(SyntheticWorkflowRunnerImpl.java:186) [com.adobe.acs.acs-aem-commons-bundle:3.19.0] at com.adobe.acs.commons.workflow.synthetic.impl.SyntheticWorkflowRunnerImpl.execute(SyntheticWorkflowRunnerImpl.java:199) [com.adobe.acs.acs-aem-commons-bundle:3.19.0] at com.adobe.acs.commons.fam.actions.Actions.lambda$startSyntheticWorkflows$1(Actions.java:118) [com.adobe.acs.acs-aem-commons-bundle:3.19.0] at com.adobe.acs.commons.fam.actions.Actions.lambda$retryAll$0(Actions.java:89) [com.adobe.acs.acs-aem-commons-bundle:3.19.0] at com.adobe.acs.commons.workflow.bulk.execution.impl.runners.FastActionManagerRunnerImpl$FastActionManagerRunnable.lambda$null$1(FastActionManagerRunnerImpl.java:253) [com.adobe.acs.acs-aem-commons-bundle:3.19.0] at com.adobe.acs.commons.fam.impl.ActionManagerImpl.withResolver(ActionManagerImpl.java:214) [com.adobe.acs.acs-aem-commons-bundle:3.19.0] at com.adobe.acs.commons.fam.impl.ActionManagerImpl.runActionAndLogErrors(ActionManagerImpl.java:176) [com.adobe.acs.acs-aem-commons-bundle:3.19.0] at com.adobe.acs.commons.fam.impl.ActionManagerImpl.lambda$deferredWithResolver$0(ActionManagerImpl.java:168) [com.adobe.acs.acs-aem-commons-bundle:3.19.0] at com.adobe.acs.commons.fam.impl.TimedRunnable.run(TimedRunnable.java:88) [com.adobe.acs.acs-aem-commons-bundle:3.19.0] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748)

1 Accepted Solution

Avatar

Correct answer by
Employee Advisor

Looking at the error, it looks like there are some special characters in the Asset name. Try removing any special characters and re-upload the image.

That being said, OOTB Support for EPS files applies to raster images only. For example, the thumbnail generation for EPS vector images is not supported by default. To add support you need to configure ImageMagick as Hemant Mentioned.

Check [1] for more details

[1] Assets Supported Formats

View solution in original post

5 Replies

Avatar

Level 8

Have you configured Image magik ?

Install and configure ImageMagick to work with AEM Assets

you will be required to configure image magik in the update asset workflow and then run the acs commons bulk workflow manager to run update asset workflow on assets in bulk.

Avatar

Correct answer by
Employee Advisor

Looking at the error, it looks like there are some special characters in the Asset name. Try removing any special characters and re-upload the image.

That being said, OOTB Support for EPS files applies to raster images only. For example, the thumbnail generation for EPS vector images is not supported by default. To add support you need to configure ImageMagick as Hemant Mentioned.

Check [1] for more details

[1] Assets Supported Formats

Avatar

Level 1

Image Magick is already there. problem is thumbnails for eps files are getting generated when I run manually DAM update asset workflow for single asset but eps thumbnails does not generate when I run DAM update asset workflow with acs commons bulk workflow manager

Avatar

Level 1

The issue is i have to keep two command line workflow steps in DAM update asset workflow

1. generate gif renditions for gif assets with image magick

2. generate eps renditions for eps assets with Image magick

however with acs commons bulk workflow, only the last command line process executes