Skip to content

reported from PDF-exporter #78

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
grigoriev opened this issue Sep 26, 2024 · 0 comments · Fixed by #79 or #80
Closed

reported from PDF-exporter #78

grigoriev opened this issue Sep 26, 2024 · 0 comments · Fixed by #79 or #80
Assignees
Labels
bug Something isn't working

Comments

@grigoriev
Copy link
Contributor

Current Behavior

2024-09-26 12:11:14,542 [pool-38-thread-1] ERROR ch.sbb.polarion.extension.pdf_exporter.converter.PdfConverterJobsService - PDF conversion job 'e0aca15d-dee6-4097-b5ad-f92f21f9ca7c' is failed with error: java.lang.IllegalStateException: Not expected response from WeasyPrint Service. Status: 500, Message: [Unexpected error due converting to PDF: TypeError("can't multiply sequence by non-int of type 'float'")]
java.util.concurrent.CompletionException: java.lang.IllegalStateException: Not expected response from WeasyPrint Service. Status: 500, Message: [Unexpected error due converting to PDF: TypeError("can't multiply sequence by non-int of type 'float'")]
	at java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:315) ~[?:?]
	at java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:320) ~[?:?]
	at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1770) ~[?:?]
	at java.util.concurrent.CompletableFuture$AsyncSupply.exec(CompletableFuture.java:1760) ~[?:?]
	at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:373) ~[?:?]
	at java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1182) ~[?:?]
	at java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1655) ~[?:?]
	at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1622) ~[?:?]
	at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:165) ~[?:?]
Caused by: java.lang.IllegalStateException: Not expected response from WeasyPrint Service. Status: 500, Message: [Unexpected error due converting to PDF: TypeError("can't multiply sequence by non-int of type 'float'")]
	at ch.sbb.polarion.extension.pdf_exporter.weasyprint.service.WeasyPrintServiceConnector.convertToPdf(WeasyPrintServiceConnector.java:71) ~[ch.sbb.polarion.extension.pdf-exporter.jar:?]
	at ch.sbb.polarion.extension.pdf_exporter.converter.CoverPageProcessor.lambda$generatePdfWithTitle$1(CoverPageProcessor.java:56) ~[ch.sbb.polarion.extension.pdf-exporter.jar:?]
	at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1768) ~[?:?]
	... 6 more

Expected Behavior

document should be converted

Steps To Reproduce

not available

Anything else

No response

@grigoriev grigoriev added the bug Something isn't working label Sep 26, 2024
@grigoriev grigoriev self-assigned this Sep 26, 2024
grigoriev added a commit that referenced this issue Sep 26, 2024
trying to fix the reported bug

Refs: #78
@grigoriev grigoriev linked a pull request Sep 26, 2024 that will close this issue
grigoriev added a commit that referenced this issue Sep 26, 2024
trying to fix the reported bug

Refs: #78
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
1 participant