Skip to content
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

Allows to call weasyprint with file paths #48

Merged
merged 1 commit into from
Dec 30, 2023

Conversation

AndreiMikhniuk
Copy link
Contributor

Using your wrapper we phased with strange hangs on Linux. It happened even with small 1 page files with few lines of text. We was not able to find the reason of it but passing input\output through files helps.
P.S. I tried to add tests, but they was not working properly: result.Error contains warnings from output. Could be my machine specific. I think some generic things to handle it correctly can be implemented. But it out of the scope the current issue.
image

@berthertogen berthertogen self-assigned this Dec 30, 2023
@berthertogen berthertogen added the enhancement New feature or request label Dec 30, 2023
@berthertogen berthertogen linked an issue Dec 30, 2023 that may be closed by this pull request
@berthertogen berthertogen merged commit 163d7f4 into berthertogen:main Dec 30, 2023
6 checks passed
@berthertogen
Copy link
Owner

berthertogen commented Dec 30, 2023

@AndreiMikhniuk thank you for the contribution!
I've added a new issue linked to this PR to investigate the tests further

@berthertogen
Copy link
Owner

@AndreiMikhniuk version v4.0.1 has been release with this change. I'm creating release 5.0.0 at the moment to upgrade to .net8 (example projects) and all packages and weasyprint to 60
I've added a short text to the readme, the error message you see is related to https://stackoverflow.com/questions/67607643/what-does-this-warning-mean-it-happens-every-time-i-restart-the-node-process#answer-67715630

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Allow file paths to be passed via overload method
2 participants