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

Update instructions for install on Windows #1061

Merged
merged 1 commit into from
Apr 2, 2020
Merged

Conversation

mPyth
Copy link
Contributor

@mPyth mPyth commented Feb 14, 2020

In a try to run command "python -m weasyprint http://weasyprint.org weasyprint.pdf" I have encountered on problem "Entry Point Not Found" with following text: "The procedure entry point inflateValidate could not be located in the dynamic link library C:\Program Files\GTK3-Runtime Win64\bin\libpng16-16.dll".
After 90-120 mins I found the problem - there were two "zlib1.dll" files - the second came from PostgreSQL (v10) and because it was first in the PATH it was called instead of GTK's version.
With this small change someone else could save the time and potential new tickets are prevented.

In a try to run command "python -m weasyprint http://weasyprint.org weasyprint.pdf" I have encountered on problem "Entry Point Not Found" with following text: "The procedure entry point inflateValidate could not be located in the dynamic link library C:\Program Files\GTK3-Runtime Win64\bin\libpng16-16.dll".
After 90-120 mins I found the problem - there were two "zlib1.dll" files - the second came from PostgreSQL (v10) and because it was first in the PATH it was called instead of GTK's version.
With this small change someone else could save the time and potential new tickets are prevented.
@liZe liZe merged commit 87b24f2 into Kozea:master Apr 2, 2020
@liZe
Copy link
Member

liZe commented Apr 2, 2020

Thank you!

This problem may virtually happen with any DLL provided by the GTK installer. This Windows let’s-install-one-version-of-each-library-for-each-application strategy is sometimes bad.

One day I’ll sell Windows and macOS binaries with everything bundled. Anyone interested? 😄

@grewn0uille grewn0uille added this to the 52 milestone Oct 29, 2020
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.

3 participants