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

Open Sans font installation failedq #58988

Closed
2 tasks done
AmmAmmer opened this issue Oct 7, 2024 · 2 comments · Fixed by #59142
Closed
2 tasks done

Open Sans font installation failedq #58988

AmmAmmer opened this issue Oct 7, 2024 · 2 comments · Fixed by #59142
Assignees
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Regression Something which used to work, but doesn't anymore

Comments

@AmmAmmer
Copy link

AmmAmmer commented Oct 7, 2024

What is the bug or the crash?

Open Sans font installation failed

Steps to reproduce the issue

Error transferring https://github.com/google/fonts/raw/main/ofl/opensans/OpenSans[wdth,wght].ttf - server replied: Not Found

Versions

QGIS version
3.38.3-Grenoble
QGIS code revision
37f9e6e
Qt version
5.15.13
Python version
3.12.6
GDAL/OGR version
3.9.2
PROJ version
9.4.0
EPSG Registry database version
v11.004 (2024-02-24)
GEOS version
3.12.2-CAPI-1.18.2
SQLite version
3.45.1
PDAL version
2.6.3
PostgreSQL client version
16.2
SpatiaLite version
5.1.0
QWT version
6.2.0
QScintilla2 version
2.14.1
OS version
Windows 10 Version 2009

Active Python plugins
quick_map_services
0.19.34
db_manager
0.1.20
grassprovider
2.12.99
MetaSearch
0.3.6
processing
2.12.99

Supported QGIS version

  • I'm running a supported QGIS version according to the roadmap.

New profile

Additional context

No response

@AmmAmmer AmmAmmer added the Bug Either a bug report, or a bug fix. Let's hope for the latter! label Oct 7, 2024
@agiudiceandrea agiudiceandrea added the Regression Something which used to work, but doesn't anymore label Oct 11, 2024
@agiudiceandrea
Copy link
Contributor

agiudiceandrea commented Oct 11, 2024

Hi @nyalldawson, it looks like the issue already previously reported by me #57070 and already fixed by you with a couple of PR (#57153, #57844), is occurring again.

{
  "Bytes Received": 128674,
  "Bytes Total": 128674,
  "Cache (control)": "Load from cache if available, otherwise load from network",
  "Cache (save)": "Can store result in cache",
  "Headers": {
    "User-Agent": "Mozilla/5.0 QGIS/33802/Windows 10 Version 1903"
  },
  "ID": "src\\core\\textrenderer\\qgsfontmanager.cpp:2104 (QgsFontDownloadTask::run)",
  "Initiator": "QgsFontDownloadTask",
  "Operation": "GET",
  "Replies": 2,
  "Reply": {
    "Cache (result)": "Read from network",
    "Error": "Error transferring https://github.com/google/fonts/raw/main/ofl/opensans/OpenSans[wdth,wght].ttf - server replied: Not Found",
    "Error Code": "203",
    "Headers": {
      "Content-Encoding": "gzip",
      "Content-Security-Policy": "default-src 'none'; base-uri 'self'; child-src github.com/assets-cdn/worker/ github.com/webpack/ github.com/assets/ gist.github.com/assets-cdn/worker/; connect-src 'self' uploads.github.com www.githubstatus.com collector.github.com raw.githubusercontent.com api.github.com github-cloud.s3.amazonaws.com github-production-repository-file-5c1aeb.s3.amazonaws.com github-production-upload-manifest-file-7fdce7.s3.amazonaws.com github-production-user-asset-6210df.s3.amazonaws.com *.rel.tunnels.api.visualstudio.com wss://*.rel.tunnels.api.visualstudio.com objects-origin.githubusercontent.com copilot-proxy.githubusercontent.com proxy.individual.githubcopilot.com proxy.business.githubcopilot.com proxy.enterprise.githubcopilot.com; font-src github.githubassets.com; form-action 'self' github.com gist.github.com copilot-workspace.githubnext.com objects-origin.githubusercontent.com; frame-ancestors 'none'; frame-src viewscreen.githubusercontent.com notebooks.githubusercontent.com; img-src 'self' data: blob: github.githubassets.com media.githubusercontent.com camo.githubusercontent.com identicons.github.com avatars.githubusercontent.com private-avatars.githubusercontent.com github-cloud.s3.amazonaws.com objects.githubusercontent.com secured-user-images.githubusercontent.com/ user-images.githubusercontent.com/ private-user-images.githubusercontent.com opengraph.githubassets.com github-production-user-asset-6210df.s3.amazonaws.com customer-stories-feed.github.com spotlights-feed.github.com objects-origin.githubusercontent.com; manifest-src 'self'; media-src github.com user-images.githubusercontent.com/ secured-user-images.githubusercontent.com/ private-user-images.githubusercontent.com github-production-user-asset-6210df.s3.amazonaws.com gist.github.com; script-src github.githubassets.com; style-src 'unsafe-inline' github.githubassets.com; upgrade-insecure-requests; worker-src github.com/assets-cdn/worker/ github.com/webpack/ github.com/assets/ gist.github.com/assets-cdn/worker/",
      "Content-Type": "text/html; charset=utf-8",
      "Date": "Fri, 11 Oct 2024 12:17:23 GMT",
      "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
      "Server": "GitHub.com",
      "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
      "Transfer-Encoding": "chunked",
      "Vary": "Accept-Encoding, Accept, X-Requested-With",
      "X-Content-Type-Options": "nosniff",
      "X-Frame-Options": "deny",
      "X-GitHub-Request-Id": "D8E8:1E0354:6B52341:6D2D4A6:67091753",
      "X-XSS-Protection": "0"
    },
    "Status": "404"
  },
  "Thread": "0x0000026436a4eab0",
  "Total time (ms)": 566,
  "URL": "https://github.com/google/fonts/raw/main/ofl/opensans/OpenSans[wdth,wght].ttf"
}

@mbernasocchi
Copy link
Member

mbernasocchi commented Oct 19, 2024

@agiudiceandrea only a pointer, url encoding [ and ] works at least interactively.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Regression Something which used to work, but doesn't anymore
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants