Skip to content

Commit 44b5d18

Browse files
Merge pull request #1591 from syncfusion-content/Task-986210-HtmlFAQ
Task- 986210- Need to update the FAQ in HTML to PDF
2 parents 190a77c + b924c38 commit 44b5d18

File tree

1 file changed

+37
-32
lines changed

1 file changed

+37
-32
lines changed

Document-Processing/PDF/Conversions/HTML-To-PDF/NET/troubleshooting.md

Lines changed: 37 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -182,26 +182,55 @@ blinkConverterSettings.CommandLineArguments.Add("--disable-setuid-sandbox");
182182
## Failed to launch chromium: Missing required dependent packages
183183

184184
<table>
185-
186185
<th style="font-size:14px" width="100px">Exception
187186
</th>
188187
<th style="font-size:14px">Failed to launch chromium: Missing required dependent packages
189188
</th>
190-
191189
<tr>
192190
<th style="font-size:14px" width="100px">Reason
193191
</th>
194192
<td>The required dependencies for the Chromium are not installed on the system.
195193
</td>
196194
</tr>
197-
198-
<tr>
199-
<th style="font-size:14px" width="100px">Solution
200-
</th>
195+
<tr>
196+
<th style="font-size:14px" width="100px">Solution
197+
</th>
201198
<td>Ensure all required dependencies for the Chromium are installed on the system. This may include additional libraries or packages.
202-
</td>
199+
Ensure all required dependencies for the Chromium are installed on the system. This may include additional libraries or packages.
200+
Here's how you can modify your Docker file:
201+
{% highlight dockerfile %}
202+
FROM your-base-image
203+
204+
RUN apt-get update && apt-get install -yq --no-install-recommends \
205+
libasound2 \
206+
libatk1.0-0 \
207+
libc6 \
208+
libcairo2 \
209+
libcups2 \
210+
libdbus-1-3 \
211+
libexpat1 \
212+
libfontconfig1 \
213+
libgcc1 \
214+
libgconf-2-4 \
215+
libgdk-pixbuf2.0-0 \
216+
libglib2.0-0 \
217+
libgtk-3-0 \
218+
libnspr4 \
219+
libpango-1.0-0 \
220+
libpangext6 \
221+
libxfixes3 \
222+
libxi6 \
223+
libxrandr2 \
224+
libxrender1 \
225+
libxss1 \
226+
libxtst6 \
227+
libnss3 \
228+
libgbm1 \
229+
&& apt-get clean \
230+
&& rm -rf /var/lib/apt/lists/*
231+
{% endhighlight %}
232+
</td>
203233
</tr>
204-
205234
</table>
206235

207236
## Application Crash in Syncfusion 29.X.X Due to Missing `locales` Folder Required by Chromium During HTML Rendering or Conversion
@@ -1595,27 +1624,3 @@ Refer to the following package reference:
15951624
{% endhighlight %}
15961625
{% endtabs %}
15971626

1598-
## Installing Chromium in Alpine Linux Docker Without Edge Repository
1599-
1600-
<table>
1601-
<th style="font-size:14px" width="100px">Reason
1602-
</th>
1603-
<th style="font-size:14px">Using the Alpine Edge repository introduces packages that are not part of the stable release, which can trigger Twist lock security issues. To maintain security compliance, we should install Chromium from the stable repository.
1604-
</th>
1605-
1606-
<tr>
1607-
<th style="font-size:14px" width="100px">Solution
1608-
</th>
1609-
<td>You can install Chromium directly from the stable Alpine repository using the following command:
1610-
<br><br>
1611-
<b>Docker File:</b><br><br>
1612-
{% tabs %}
1613-
{% highlight C# tabtitle="C#" %}
1614-
RUN apk add --no-cache chromium && \
1615-
rm -rf /var/cache/apk/*
1616-
1617-
{% endhighlight %}
1618-
{% endtabs %}
1619-
</td>
1620-
</tr>
1621-
</table>

0 commit comments

Comments
 (0)