Opened 4 weeks ago

Closed 4 weeks 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, 4 weeks 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"
  }

Relevant debug logs:

00000424	22.17420006	[10432] C:\src\OSGeo4W\src\qgis-dev\qgis\src\core\network\qgsnetworkaccessmanager.cpp(313) : (QgsNetworkAccessManager::createRequest) [60ms] [thread:0x21cc5303fd0] Adding trusted CA certs to request	
00000426	22.17709732	[10432] C:\src\OSGeo4W\src\qgis-dev\qgis\src\core\network\qgsnetworkaccessmanager.cpp(121) : (QgsNetworkProxyFactory::queryProxy) [1ms] [thread:0x21cc5303fd0] using fallback proxy for https://fonts.google.com/download?family=Open+Sans	
00000427	22.18054962	[10432] C:\src\OSGeo4W\src\qgis-dev\qgis\src\core\network\qgsnetworkaccessmanager.cpp(391) : (QgsNetworkAccessManager::createRequest) [3ms] [thread:0x21cc5303fd0] Created [reply:21cc67a8790]	

Maybe a certificate issue? (fonts.google.com certificate valid since ‎04/03/‎2024)

Last edited 4 weeks ago by andreaerdna (previous) (diff)

comment:2 by jef, 4 weeks 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, 4 weeks 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, 4 weeks 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, 4 weeks ago

I agree, thank you.

comment:6 by jef, 4 weeks ago

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