Replies: 5 comments
-
|
Hi @RohanIghe To help us investigate further, could you please provide the logs (I guess there should be an error/stacktrace) from your |
Beta Was this translation helpful? Give feedback.
-
|
Hi @Jumas PFB stacktrace from polarion logs- 2026-01-23 10:54:30,458 [pool-70-thread-1] ERROR ch.sbb.polarion.extension.pdf_exporter.converter.PdfConverterJobsService - PDF conversion job '64c0cef4-34cd-40ae-89c0-d74f9a227530' is failed with error: Not expected response from WeasyPrint Service. Status: 500, Message: [Unexpected error due converting to PDF: ValueError('expected 0 <= int <= 122, found: 123')] BR, |
Beta Was this translation helpful? Give feedback.
-
|
@RohanIghe this is a stacktrace from pdf-exporter, but we need a log from weasyprint-service. |
Beta Was this translation helpful? Give feedback.
-
|
PFB, error Log from weasyprint- 2026-01-23 09:54:30,416 - fontTools.ttLib.tables._h_e_a_d - WARNING - 'created' timestamp seems very low; regarding as unix timestamp |
Beta Was this translation helpful? Give feedback.
-
|
2026-01-23 12:05:14,004 - app.weasyprint_controller - ERROR - Unexpected error in HTML conversion: expected 0 <= int <= 122, found: 123 |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
We now have installed the latest version of pdf exporter v12.0.0 + weasyprint v68.0.0
And we observed that we get below error when trying to export some documents.
Error occurred during PDF generation:
java.lang.IllegalStateException: Not expected response from WeasyPrint Service. Status: 500, Message: [Unexpected error due converting to PDF: ValueError('expected 0 <= int <= 122, found: 123')]
Do you have any idea what this issue might be related to?
P.S. We checked the 2410 polarion version + the older pdf exporter and there this works fine.
So something definitely changed with new updates.
BR,
Rohan
Beta Was this translation helpful? Give feedback.
All reactions