Skip to content

Fonts release is missing #77

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

Closed
iwarp opened this issue Apr 21, 2025 · 1 comment
Closed

Fonts release is missing #77

iwarp opened this issue Apr 21, 2025 · 1 comment

Comments

@iwarp
Copy link

iwarp commented Apr 21, 2025

Have been using this project for a few months now, coming back to it this weekend it's failing to run

thread 'main' panicked at C:\Users\_______\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\usls-0.0.20\src\core\annotator.rs:71:29: Failed to load font: Hub tag 'fonts' not found in releases. Available tags: ["trocr", "smolvlm", "slanet", "rtdetr", "rfdetr", "picodet", "owlv2", "moondream2", "mobileone", "linknet", "jina-clip-v1", "images", "florence2", "fastvit", "fast", "depth-pro", "deit", "deim", "d-fine", "convnext", "beit", "v0.0.1", "yolop", "yolo", "svtr", "sapiens", "sam", "rtmo", "modnet", "grounding-dino"]

The release is still there https://github.com/jamjamjon/assets/releases/tag/fonts

but it never shows up in the api call usls is using to get the releases

https://api.github.com/repos/jamjamjon/assets/releases

cache_releases.json

@jamjamjon
Copy link
Owner

Hello, this is a known issue(#56). The reason is that the number of releases in the assets repository exceeds GitHub's default limit of 30. Here are the current workarounds:

  1. You can avoid using the version from crates.io and instead use:
[dependencies]
usls = { git = "https://github.com/jamjamjon/usls" }

However, please note that some APIs may have changed.

  1. If you want to continue using version 0.0.20, you can use the same method but set the branch to 0.0.20. I will apply a fix for this issue on that branch.

I will also publish a new version to crates.io soon.

Thank you for discovering this issue! @iwarp

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