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

fonts.google_en is failing to produce working ZIM with Zimit2 #323

Open
benoit74 opened this issue Jun 20, 2024 · 3 comments
Open

fonts.google_en is failing to produce working ZIM with Zimit2 #323

benoit74 opened this issue Jun 20, 2024 · 3 comments
Assignees
Labels
bug Something isn't working recipe
Milestone

Comments

@benoit74
Copy link
Collaborator

See openzim/zim-requests#1059

@benoit74 benoit74 added the bug Something isn't working label Jun 20, 2024
@benoit74 benoit74 added this to the 2.1.0 milestone Jun 20, 2024
@benoit74 benoit74 self-assigned this Jun 20, 2024
@benoit74
Copy link
Collaborator Author

benoit74 commented Jul 18, 2024

@benoit74
Copy link
Collaborator Author

No obvious reason for it to not work.

What I observed / tried:

  • other that google analytics 404 and usual console error, there is a single console error
Uncaught TypeError: _._DumpException is not a function
    <anonymous> http://135.181.181.97:8888/content/tests_eng_fonts-google_2024-07/www.gstatic.com/_/fonts/_/js/k=fonts.app.en_US.V7Gi5yHnsxw.2018.O/am=GAY/d=1/br=1/rs=AE60u5c4vlWNe_YNFMARCLo-otqhsU_8sg/m=core:1478
    call http://135.181.181.97:8888/content/tests_eng_fonts-google_2024-07/_zim_static/wombat.js:21
    <anonymous> http://135.181.181.97:8888/content/tests_eng_fonts-google_2024-07/www.gstatic.com/_/fonts/_/js/k=fonts.app.en_US.V7Gi5yHnsxw.2018.O/am=GAY/d=1/br=1/rs=AE60u5c4vlWNe_YNFMARCLo-otqhsU_8sg/m=core:1479
  • there is no other 4xx error, so everything seems to be loaded just fine
  • in main HTML page, there is a JS script which is even before the DOCTYPE statement ; I suspected this might need to not be rewritten since wombat is not yet initialized ; not rewriting this (with a hack) does not help
  • in main HTML page, there are lot of nonce attribute ; they are not supposed to be a concern since kiwix-serve is not sending a CSP ; I however tried to drop them, no change

@benoit74 benoit74 modified the milestones: 2.1.0, 2.2.0 Jul 18, 2024
@benoit74
Copy link
Collaborator Author

Postponing this to 2.2.0, this is a problem on a very specific site, it does not look at all like a generic problem which might help other sites to proceed if solved.

@benoit74 benoit74 modified the milestones: 2.2.0, later Aug 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working recipe
Projects
None yet
Development

No branches or pull requests

1 participant