Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

Error in EPS thumbnail process steps

Avatar

Avatar
Validate 1
Level 1
yagyesh11235
Level 1

Likes

0 likes

Total Posts

12 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Affirm 1
View profile

Avatar
Validate 1
Level 1
yagyesh11235
Level 1

Likes

0 likes

Total Posts

12 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Affirm 1
View profile
yagyesh11235
Level 1

30-06-2016

Hi All,

 
I have uploaded a EPS file in DAM , the DAM update Asset workflow runs on image upload.
For eps file i am getting an error :
   
30.06.2016 17:44:40.769 *ERROR* [JobHandler: /etc/workflow/instances/server0/2016-06-30/model_531998837298215:/content/dam/xxx/yyy/zzz/digital/1st%20Source%20Elite_flat-black.eps/jcr:content/renditions/original] com.day.cq.dam.core.process.CommandLineProcess execute: failed to execute command [convert -define jpeg:size=319x319 1st%20Source%20Elite_flat-black.eps -thumbnail 319x319 cq5dam.thumbnail.319.319.png] for asset [/content/dam/xxx/yyy/zzz/digital/1st%20Source%20Elite_flat-black.eps]: 
org.apache.commons.exec.ExecuteException: Process exited with an error: 4(Exit value: 4)
at org.apache.commons.exec.DefaultExecutor.executeInternal(DefaultExecutor.java:346)
at org.apache.commons.exec.DefaultExecutor.execute(DefaultExecutor.java:149)
at org.apache.commons.exec.DefaultExecutor.execute(DefaultExecutor.java:136)
at com.day.cq.dam.core.process.CommandLineProcess.execute(CommandLineProcess.java:235)
at com.day.cq.workflow.compatibility.CQWorkflowProcessRunner.execute(CQWorkflowProcessRunner.java:93)
at com.adobe.granite.workflow.core.job.HandlerBase.executeProcess(HandlerBase.java:184)
at com.adobe.granite.workflow.core.job.JobHandler.process(JobHandler.java:232)
at org.apache.sling.event.impl.jobs.JobConsumerManager$JobConsumerWrapper.process(JobConsumerManager.java:512)
at org.apache.sling.event.impl.jobs.queues.JobRunner.run(JobRunner.java:205)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
 
 
 
ImageMagick is Installed in my system and i am able to convert an eps file to png by running command   convert -define jpeg:size=319x319 1st%20Source%20Elite_flat-black.eps -thumbnail 319x319 cq5dam.thumbnail.319.319.png which is the same command that the process steps use.
 
Please let me if anybody faced similar issue or any pointer to this

Replies

Avatar

Avatar
Boost 1
Employee
amitgupta_adbe
Employee

Likes

2 likes

Total Posts

26 posts

Correct Reply

8 solutions
Top badges earned
Boost 1
Affirm 5
Affirm 3
Affirm 1
View profile

Avatar
Boost 1
Employee
amitgupta_adbe
Employee

Likes

2 likes

Total Posts

26 posts

Correct Reply

8 solutions
Top badges earned
Boost 1
Affirm 5
Affirm 3
Affirm 1
View profile
amitgupta_adbe
Employee

10-07-2016

Please check the configuration of the workflow as explained in https://docs.adobe.com/docs/en/aem/6-0/develop/extending/assets/media-handlers.html#Command Line Based Media Handler

it should be something like convert -define jpeg:size=319x319 ${directory}/${filename} -thumbnail 319x319 ${directory}/cq5dam.thumbnail.319.319.png

I think that it need absolute path to the image

Avatar

Avatar
Validate 1
Level 8
MC_Stuff
Level 8

Likes

78 likes

Total Posts

467 posts

Correct Reply

158 solutions
Top badges earned
Validate 1
Boost 50
Boost 5
Boost 3
Boost 25
View profile

Avatar
Validate 1
Level 8
MC_Stuff
Level 8

Likes

78 likes

Total Posts

467 posts

Correct Reply

158 solutions
Top badges earned
Validate 1
Boost 50
Boost 5
Boost 3
Boost 25
View profile
MC_Stuff
Level 8

30-05-2017

Hi Yesh,

Provide full path for convert & sounds like the installation path of ImageMagick is not in your system library path.

Thanks,

Avatar

Avatar
Give Back
Level 1
NidhiTater
Level 1

Likes

0 likes

Total Posts

2 posts

Correct Reply

0 solutions
Top badges earned
Give Back
View profile

Avatar
Give Back
Level 1
NidhiTater
Level 1

Likes

0 likes

Total Posts

2 posts

Correct Reply

0 solutions
Top badges earned
Give Back
View profile
NidhiTater
Level 1

29-09-2020

Try writing "magick" before the command. (just before convert)

It worked for me on windows