Opened 9 months ago

Closed 9 months ago

#824 closed defect (upstream)

Open Sans Schriftartinstallation gescheitert/Open Sans font installation failed

Reported by: Andreas Müller Owned by: osgeo4w-dev@…
Priority: normal Component: Package
Version: Keywords: QGIS-LTR, Open Sans
Cc:

Description

I did a fresh install of QGIS-LTR 3.34.5-Prizren. When opening I get an error "Open Sans Schriftartinstallation gescheitert".

Change History (6)

comment:1 by andreaerdna, 9 months ago

I can confirm: the error messages in English are:

  • in the top notification bar: Open Sans font installation failed
  • clicking on View Error:
    Font Install Failed
    Could not read fonts from data
    
  • in the Log Messages panel (Messages):
    2024-04-04T14:47:34     WARNING    Open Sans font installation failed
    
  • in the Log Messages panel (General):
    2024-04-04T14:47:34     WARNING    Error opening zip archive: 'C:/Users/Andrea/AppData/Local/Temp/QGIS3.mSskqY' (Error code: 19)
    

The "Debugging/Development Tools" panel logs the following request:

{
    "Bytes Received": 8383,
    "Bytes Total": 8383,
    "Cache (control)": "Always load from network, do not check cache",
    "Cache (save)": "Result cannot be stored in cache",
    "Headers": {
      "User-Agent": "Mozilla/5.0 QGIS/33405/Windows 10 Version 1903"
    },
    "Initiator": "unknown",
    "Operation": "GET",
    "Query": {
      "family": "Open+Sans"
    },
    "Replies": 2,
    "Reply": {
      "Cache (result)": "Read from network",
      "Headers": {
        "Alt-Svc": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000",
        "Cache-Control": "no-cache, no-store, max-age=0, must-revalidate",
        "Content-Encoding": "gzip",
        "Content-Security-Policy": "script-src 'nonce-Ecwcu2MBp_RmbL5BPKHIWQ' 'unsafe-inline' 'strict-dynamic' https: http:;object-src 'none';base-uri 'self';report-uri /cspreport",
        "Content-Type": "text/html; charset=utf-8",
        "Cross-Origin-Opener-Policy": "same-origin-allow-popups",
        "Date": "Thu, 04 Apr 2024 13:27:08 GMT",
        "Expires": "Mon, 01 Jan 1990 00:00:00 GMT",
        "P3P": "CP=\"This is not a P3P policy! See g.co/p3phelp for more info.\"",
        "Pragma": "no-cache",
        "Server": "ESF",
        "Set-Cookie": "NID=513=icWKhrkMgUc3sE5D2foTCk6M-jQD7F-eq5_1_FGoqnJqEAhcVDtJL6LwHaaaJD8Stis61ViDjQQow73MU5O6C8751YDpBOwrLQ3NCRFg1_C7vdU44hAVH8X7EEZqIubpMwDuOKyhg84dJC5pNG7uq1oJH8u_CKKsgSNtYpVTiZI; expires=Fri, 04-Oct-2024 13:27:08 GMT; path=/; domain=.google.com; HttpOnly",
        "Transfer-Encoding": "chunked",
        "X-Content-Type-Options": "nosniff",
        "X-Frame-Options": "SAMEORIGIN",
        "X-XSS-Protection": "0"
      },
      "Status": "200"
    },
    "Thread": "0x000002397de3b2e0",
    "Total time (ms)": 226,
    "URL": "https://fonts.google.com/download?family=Open+Sans"
  }
Version 1, edited 9 months ago by andreaerdna (previous) (next) (diff)

comment:2 by jef, 9 months ago

Or something else changed on the google end. The url leads to a webpage that invokes a blob download with javascript. It doesn't look like a packaging issue to me.

in reply to:  2 comment:3 by andreaerdna, 9 months ago

Replying to jef:

Or something else changed on the google end.

I agree. See https://github.com/google/fonts/issues/7481.

comment:4 by andreaerdna, 9 months ago

I've reported the issue on GitHub https://github.com/qgis/QGIS/issues/57070 so I think this ticket can be closed since it is not a packaging issue.

comment:5 by Andreas Müller, 9 months ago

I agree, thank you.

comment:6 by jef, 9 months ago

Resolution: upstream
Status: newclosed
Note: See TracTickets for help on using tickets.