From 151de36b3bf056755f34f76e9c1b9492bdba72c7 Mon Sep 17 00:00:00 2001 From: Srihariharan Date: Mon, 8 Apr 2024 17:58:18 +0530 Subject: [PATCH 1/3] 881103: OCR not working on Docker net 8.0: Exception. --- .../PDF/Working-with-OCR/Troubleshooting.md | 43 +++++++++++++++++++ 1 file changed, 43 insertions(+) diff --git a/File-Formats/PDF/Working-with-OCR/Troubleshooting.md b/File-Formats/PDF/Working-with-OCR/Troubleshooting.md index 3fad7b8a1..e413777bc 100644 --- a/File-Formats/PDF/Working-with-OCR/Troubleshooting.md +++ b/File-Formats/PDF/Working-with-OCR/Troubleshooting.md @@ -356,6 +356,49 @@ Step 3: {% endhighlight %} {% endtabs %} + + + + +## OCR not working on Docker net 8.0: Exception has been thrown by target of an invocation. + + + + + + + + + + +
ExceptionOCR not working on Docker net 8.0: Exception has been thrown by target of an invocation.
Reason +The reported issue occurs due to the missing prerequisite dependencies packages in the Docker container in .NET 8.0 version. +
Solution + We can resolve the reported issue by installing the tesseract required dependencies by using Docker file. Please refer the below commands. + +FROM mcr.microsoft.com/dotnet/aspnet:8.0 AS base + +`RUN apt-get update && \` + +`apt-get install -yq --no-install-recommends \` + +`libgdiplus libc6-dev libleptonica-dev libjpeg62` + +`RUN ln -s /usr/lib/x86_64-linux-gnu/libtiff.so.6 /usr/lib/x86_64-linux-gnu/libtiff.so.5` + +`RUN ln -s /lib/x86_64-linux-gnu/libdl.so.2 /usr/lib/x86_64-linux-gnu/libdl.so` + + + +USER app + +WORKDIR /app + +EXPOSE 8080 + +EXPOSE 8081 + +
\ No newline at end of file From b3636a511d56808e2d4e6cbc469ceb0f25fcec9d Mon Sep 17 00:00:00 2001 From: Srihariharan Date: Tue, 9 Apr 2024 10:17:01 +0530 Subject: [PATCH 2/3] 881103: resolve the CI Status failure issue. --- File-Formats/PDF/Working-with-OCR/Troubleshooting.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/File-Formats/PDF/Working-with-OCR/Troubleshooting.md b/File-Formats/PDF/Working-with-OCR/Troubleshooting.md index e413777bc..c3accda84 100644 --- a/File-Formats/PDF/Working-with-OCR/Troubleshooting.md +++ b/File-Formats/PDF/Working-with-OCR/Troubleshooting.md @@ -180,7 +180,7 @@ By using the best tessdata, we can improve the OCR results. For more information To resolve this problem, you should install and utilize Tesseract 5 on your Mac machine. Refer to the following steps for installing Tesseract 5 and integrating it into an OCR processing workflow.

-1.Execute the following command to install Tesserat 5. +1.Execute the following command to install Tesseract 5.

{% tabs %} {% highlight C# %} @@ -376,6 +376,10 @@ Step 3: We can resolve the reported issue by installing the tesseract required dependencies by using Docker file. Please refer the below commands. +{% tabs %} + +{% highlight C# %} + FROM mcr.microsoft.com/dotnet/aspnet:8.0 AS base `RUN apt-get update && \` @@ -398,6 +402,9 @@ EXPOSE 8080 EXPOSE 8081 +{% endhighlight %} + +{% endtabs %} From 99eca94a2306292973b4aa6e1ebd14aafeb7c687 Mon Sep 17 00:00:00 2001 From: Srihariharan Date: Tue, 9 Apr 2024 14:44:12 +0530 Subject: [PATCH 3/3] 880908: Update proper URL links fpr troubleshooting. --- File-Formats/PDF/Convert-HTML-To-PDF/troubleshooting.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/File-Formats/PDF/Convert-HTML-To-PDF/troubleshooting.md b/File-Formats/PDF/Convert-HTML-To-PDF/troubleshooting.md index 197398af8..0668a0a1b 100644 --- a/File-Formats/PDF/Convert-HTML-To-PDF/troubleshooting.md +++ b/File-Formats/PDF/Convert-HTML-To-PDF/troubleshooting.md @@ -841,12 +841,12 @@ If you are using Windows 7/8 or Windows Server 2008/2012, please use Chromium ve

Please refer to the below thread for more information, -[https://support.google.com/chrome/thread/185534985](https://support.google.com/chrome/thread/185534985) +https://support.google.com/chrome/thread/185534985
Blink binaries (Version 109.0.5414.75), -[https://www.syncfusion.com/downloads/support/directtrac/general/ze/BlinkBinaries_109.0.5414.7560606898](https://www.syncfusion.com/downloads/support/directtrac/general/ze/BlinkBinaries_109.0.5414.7560606898) +https://www.syncfusion.com/downloads/support/directtrac/general/ze/BlinkBinaries_109.0.5414.7560606898