Skip to content

Conversation

@stanislaw
Copy link
Collaborator

Closes #58

@stanislaw stanislaw force-pushed the stanislaw/handle branch 2 times, most recently from 8ea194e to e7ed194 Compare December 9, 2025 21:00
@stanislaw stanislaw merged commit 0829768 into main Dec 9, 2025
8 checks passed
stanislaw added a commit to strictdoc-project/strictdoc that referenced this pull request Dec 9, 2025
…is not found

**WHAT:**

This change improves the error message when the StrictDoc web server
cannot find a Chrome installation on the system it is running on.

**WHY:**

Before this change, the error message was a simple Internal Server Error
without an explicit indication that the Chrome could not be found.

**HOW:**

This integrates the upstream html2pdf4doc work where the error reporting
was improved at the main.py driver program.

In particular, the driver now exits with a specific exit code
`COULD_NOT_FIND_CHROME = 5` that we can rely on in StrictDoc to identify
the missing Chrome issue.

strictdoc-project/html2pdf4doc_python#58
strictdoc-project/html2pdf4doc_python#70
stanislaw added a commit to strictdoc-project/strictdoc that referenced this pull request Dec 9, 2025
…is not found

**WHAT:**

This change improves the error message when the StrictDoc web server
cannot find a Chrome installation on the system it is running on.

**WHY:**

Before this change, the error message was a simple Internal Server Error
without an explicit indication that the Chrome could not be found. A
user would have to dig through the server logs to understand the issue.

**HOW:**

This integrates the upstream html2pdf4doc work where the error reporting
was improved at the main.py driver program.

In particular, the driver now exits with a specific exit code
`COULD_NOT_FIND_CHROME = 5` that we can rely on in StrictDoc to identify
the missing Chrome issue.

strictdoc-project/html2pdf4doc_python#58
strictdoc-project/html2pdf4doc_python#70
stanislaw added a commit to strictdoc-project/strictdoc that referenced this pull request Dec 9, 2025
…is not found

**WHAT:**

This change improves the error message when the StrictDoc web server
cannot find a Chrome installation on the system it is running on.

**WHY:**

Before this change, the error message was a simple Internal Server Error
without an explicit indication that the Chrome could not be found. A
user would have to dig through the server logs to understand the issue.

**HOW:**

This integrates the upstream html2pdf4doc work where the error reporting
was improved in the main.py driver program.

In particular, the driver now exits with a specific exit code
`COULD_NOT_FIND_CHROME = 5` that we can rely on in StrictDoc to identify
the missing Chrome issue.

strictdoc-project/html2pdf4doc_python#58
strictdoc-project/html2pdf4doc_python#70
stanislaw added a commit to strictdoc-project/strictdoc that referenced this pull request Dec 9, 2025
…is not found

**WHAT:**

This change improves the error message when the StrictDoc web server
cannot find a Chrome installation on the system it is running on.

**WHY:**

Before this change, the error message was a simple Internal Server Error
without an explicit indication that the Chrome could not be found. A
user would have to dig through the server logs to understand the issue.

**HOW:**

This integrates the upstream html2pdf4doc work where the error reporting
was improved in the main.py driver program.

In particular, the driver now exits with a specific exit code
`COULD_NOT_FIND_CHROME = 5` that we can rely on in StrictDoc to identify
the missing Chrome issue.

strictdoc-project/html2pdf4doc_python#58
strictdoc-project/html2pdf4doc_python#70
stanislaw added a commit to strictdoc-project/strictdoc that referenced this pull request Dec 9, 2025
…is not found

**WHAT:**

This change improves the error message when the StrictDoc web server
cannot find a Chrome installation on the system it is running on.

**WHY:**

Before this change, the error message was a simple Internal Server Error
without an explicit indication that the Chrome could not be found. A
user would have to dig through the server logs to understand the issue.

**HOW:**

This integrates the upstream html2pdf4doc work where the error reporting
was improved in the main.py driver program.

In particular, the driver now exits with a specific exit code
`COULD_NOT_FIND_CHROME = 5` that we can rely on in StrictDoc to identify
the missing Chrome issue.

strictdoc-project/html2pdf4doc_python#58
strictdoc-project/html2pdf4doc_python#70
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Implement better error handling of the case when the Chrome is not yet installed on Linux

2 participants