1

Getting the below errors related to Dianoga in log files related to temporary file paths. Dianoga version used is 5.4.1

ERROR Dianoga: Unable to optimize {Image path} due to a processing error! It will be unchanged.

Exception: System.InvalidOperationException
Message: "~\Dianoga Tools\PNGOptimizer\PNGOptimizerCL.exe -file "C:\windows\TEMP\tmp5A88.png"" took longer than 60000ms to run, which is a failure. Output: 

Optimizing tmp5A88.png 
Source: Dianoga
   at Dianoga.Optimizers.CommandLineToolOptimizer.ExecuteProcess(String arguments)
   at Dianoga.Optimizers.CommandLineToolOptimizer.ProcessOptimizer(OptimizerArgs args)
   at Dianoga.Optimizers.OptimizerProcessor.Process(OptimizerArgs args)
Has anyone noticed a similar issue and tried resolving it?
5
  • What size is the image? May 17, 2022 at 8:00
  • @Swathi Did you check this article that has a similar kind of issue and at the end given a solution with github link? github.com/kamsar/Dianoga/issues/34 May 17, 2022 at 8:25
  • @MarkGibbons The size of the images are around 2MB or around 24 MB.
    – Swathi
    May 18, 2022 at 5:52
  • @SumitBhatia Yes but the version used in github link is 5.0.0-beta.1.
    – Swathi
    May 18, 2022 at 5:56
  • 2MB should be fine, but 24MB, might be too much for the server to handle if there are a lot of images on the page. May 18, 2022 at 23:11

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.