Troubleshooting

View as MarkdownMarkdown

Set up your AI agent

Give your coding agent live access to the GroupDocs documentation and API reference through the GroupDocs Docs MCP server — no install, no API key. Learn more

claude mcp add --transport http groupdocs-docs https://docs.groupdocs.com/mcp

Also process documents locally

The GroupDocs.Viewer MCP server lets your agent work with files on your machine; they are never uploaded. It needs the .NET 10 SDK or Docker.

claude mcp add groupdocs-viewer -- dnx GroupDocs.Viewer.Mcp --yes
Folders, licensing and more →

This section describes issues that you may face processing files with GroupDocs.Viewer and solutions for them. The Known issues section below lists the limitations known in the current version.

Common problems

ProblemPlatformSolution
The process exits with code 134 and Couldn't find a valid ICU package, with no Python exceptionLinuxInstall ICU: apt-get install libicu-dev. Do not set DOTNET_SYSTEM_GLOBALIZATION_INVARIANT instead
Failed to detect file type for PSD, PSB, AI or ONE filesLinux, macOSThese formats render on Windows only
Cannot find fallback font 'Generic Sans Serif' rendering MPP, MPT or MPX filesLinuxInstall the Microsoft core fonts: apt-get install ttf-mscorefonts-installer && fc-cache -f (on Debian, enable contrib first)
Font SimSun was not found rendering an OFD fileLinux, macOSInstall SimSun, or point the engine at its folder: see Render OFD documents
RuntimeError: The .NET runtime cannot be used in a process forked after it startedLinux, macOSStart worker processes with spawn: see Threads, processes and web servers
LicenseError at the first callAllThe license in GROUPDOCS_LIC_PATH cannot be applied; the message gives the reason. See Licensing and Evaluation

Known issues

These are known in version 26.11, which runs GroupDocs.Viewer for .NET 26.10:

  • Spreadsheet page images on Linux. Page images (PNG, JPEG) of a spreadsheet lose the spaces between words and clip digits at cell edges. Render spreadsheets to PDF or HTML on Linux.
  • A Viewer used twice. A workbook rendered a second time by the same Viewer comes out with more pages. Create a new Viewer for each render.
  • Text extraction on macOS. get_view_info(ViewInfoOptions.for_png_view(True)) fails on a DOCX with “The number greater than zero is expected. (Parameter ‘width’)”.
  • optimize_spreadsheets with ViewerSettings. PdfOptimizationOptions.optimize_spreadsheets has no effect when the Viewer is created with ViewerSettings, a logger for example. Create the Viewer without ViewerSettings when you need the option.
  • Presentations on Linux with fonts-noto-extra. Rendering a presentation whose fonts are not installed can end the Python process when the fonts of Debian’s fonts-noto-extra package are installed. Set default_font_name on the view options to an installed font, or do not install fonts-noto-extra.
  • CVE scanners on Linux report ICU 59 and libpng 1.6.38 inside the engine’s Slides native library. A fix needs an engine release.
  • SpooledTemporaryFile as an output. A tempfile.SpooledTemporaryFile returned by a page-stream function stays empty. Return an io.BytesIO or an open file instead.

For details, please refer to the following pages: