Cognitive Services - document translation in container version not working for .pdf files after pulling newest image
Hi,
I've been using the container version of AI Translator (connected to the internet) for some time now without any issues. Yesterday, I decided to pull the latest image, as I had previously been working with the version published on 03/25/2025.
After launching the container with the new image (with no changes to configuration or language models), I noticed that I could no longer translate any documents in .pdf format. The issue also affects PDF documents that were successfully translated before the update.
Upon checking the container logs, I found the following error:
Microsoft.DDB.Definitions.Exceptions.CannotParseException:[.pdf][PdfClown][Unknown]:- Failed to parse the file. System.Reflection.ReflectionTypeLoadException: Unable to load one or more of the requested types. Could not load type 'MT.Diagnostics.Logging.StatsdMetricsClient' from assembly 'MT.Diagnostics.Logging, Version=1.25043.0.0, Culture=neutral, PublicKeyToken=cef71ad57bad51d2'. Could not load type 'MT.Diagnostics.Logging.Interface.IStatsdMetricLeafSettings' from assembly 'MT.Diagnostics.Logging, Version=1.25043.0.0, Culture=neutral, PublicKeyToken=cef71ad57bad51d2'. Could not load type 'MT.Diagnostics.Logging.Interface.IMetricsClient' from assembly 'MT.Diagnostics.Logging, Version=1.25043.0.0, Culture=neutral, PublicKeyToken=cef71ad57bad51d2'. Could not load type 'MT.Diagnostics.Logging.Interface.IMetricsClient' from assembly 'MT.Diagnostics.Logging, Version=1.25043.0.0, Culture=neutral, PublicKeyToken=cef71ad57bad51d2'. at System.Reflection.RuntimeModule.GetTypes(RuntimeModule module)...
This error consistently occurs when attempting to translate PDF files that previously worked without issue.
Other document formats such as .docx and .msg, as well as standard text translation, continue to work correctly.
I also tested older image versions and found that the issue persists in all versions after 03/25/2025. Reverting to the 03/25/2025 version resolves the problem.
Is there a known issue with PDF translation in the current container version? I couldn’t find anything in the documentation or on the known issues page. Will there be a fix released soon, or is there a recommended workaround?
Thank you for your help!