Table of Contents

Troubleshooting puzzle images when exporting N4V elements to Excel or PDF in SAP BusinessObjects Web Intelligence

Anonymised summary of support ticket #778746 (2024-04-23)

Symptom

When exporting N4V elements (Need4Viz extensions) to Excel or PDF from SAP BusinessObjects Web Intelligence, the output displays a generic puzzle image instead of the expected content.

Environment

N4V FOR WEBI (Need4Viz extensions for SAP BusinessObjects Web Intelligence) with Puppeteer module on a Linux server (e.g., RedHat). The N4V server requires access to the N4VCustomElements webapp URL defined in the config.js file to generate PNG files for PDF/Excel exports.

Resolution

  1. Verify Puppeteer version compatibility with the installed Node.js version. If Puppeteer version is > 5.5, uninstall it and install version 5.5.0 using: `npm uninstall puppeteer` followed by `npm install [email protected] --save -g`.
  2. Ensure Puppeteer has the correct permissions by running a recursive `chmod 777` on the Puppeteer folder.
  3. Install missing system libraries required by Puppeteer as per the N4V installation guide (e.g., for RedHat systems).
  4. Check if the N4V server can access the N4VCustomElements webapp URL by running `curl [N4VCustomElements_URL]` from the server. If access is denied, configure network settings (e.g., proxy, firewall) to allow the connection.
  5. If a proxy is required, configure proxy settings in the environment variables (e.g., `http_proxy`, `https_proxy`) or in the `.bashrc` file for the N4V user.
  6. Enable debug logging by setting `LogDebug: true` in the config.js file, restart services using `pm2 start all`, and review the logs in the Need4Viz/logs folder for connection errors.

Other resolution

The N4V server must have unrestricted access to the N4VCustomElements webapp URL to generate PNG files for PDF/Excel exports. If the server is behind a reverse proxy (e.g., IBM WebSEAL), ensure the server's IP is excluded from proxy authentication requirements.