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

v63.0 weasyprint.exe - Entry Point Not Found #2289

Open
braggpeaks opened this issue Oct 30, 2024 · 2 comments
Open

v63.0 weasyprint.exe - Entry Point Not Found #2289

braggpeaks opened this issue Oct 30, 2024 · 2 comments

Comments

@braggpeaks
Copy link

Hi all,

after updating to v63.0 using Windows weasyprint.exe I get 4 error popups:
The procedure entry point g_bookmark_file_copy could not be located in the dynamic link library
C:\Users<..>\AppData\Local\Temp_MEI351522\libgobject-2.0-0.dll
click OK
The procedure entry point g_once_init_enter_pointer could not be located in the dynamic link library
C:\Users<..>\AppData\Local\Temp_MEI351522\libpango-1.0-0.dll
click OK
The procedure entry point DllMain could not be located in the dynamic link library
C:\Users<..>\AppData\Local\Temp_MEI351522\libharfbuzz-0.dll

  • 1 more

Still the PDF is being generated.
I get this also for weasyprint.exe call w/o arguments.

Thanks,
Daniel

@liZe
Copy link
Member

liZe commented Oct 31, 2024

Hi!

The CI test doesn’t show this problem.

Here’s a couple of questions for you: 😄

  • Do you have another version of Pango and its dependencies installed on your computer?
  • Do you have the same problem with older versions of WeasyPrint?

@braggpeaks
Copy link
Author

Hi Guillaume, yes, I have GTK3 runtime installed that apparently has some pango dlls installed AND is part of my PATH environment variable. I did not add this manually. As far as I can tell this was installed and configured by either GIMP, Inkscape or Spyder (Python framework).

Ideally weasyprint would prioritize the dlls it is supposed to use. Do I understand correctly weasyprint.exe extracts the dll's to a temporary directory?

C:\Program Files\GTK3-Runtime Win64\bin\libpangowin32-1.0-0.dll
C:\Program Files\GTK3-Runtime Win64\bin\libpangowin32-1.0-0.dll
C:\Program Files\GTK3-Runtime Win64\bin\libpangomm-1.4-1.dll
C:\Program Files\GTK3-Runtime Win64\bin\libpangomm-1.4-1.dll
C:\Program Files\GTK3-Runtime Win64\bin\libpangoft2-1.0-0.dll
C:\Program Files\GTK3-Runtime Win64\bin\libpangoft2-1.0-0.dll
C:\Program Files\GTK3-Runtime Win64\bin\libpangocairo-1.0-0.dll
C:\Program Files\GTK3-Runtime Win64\bin\libpangocairo-1.0-0.dll
C:\Program Files\GTK3-Runtime Win64\bin\libpango-1.0-0.dll
C:\Program Files\GTK3-Runtime Win64\bin\libpango-1.0-0.dll

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

No branches or pull requests

2 participants