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

Possible bug with downloading spacy model #174

Open
galavera opened this issue Apr 10, 2024 · 2 comments
Open

Possible bug with downloading spacy model #174

galavera opened this issue Apr 10, 2024 · 2 comments

Comments

@galavera
Copy link

url = "https://api.github.com/repos/explosion/spacy-models/releases?per_page=100"

I was getting this error
logger.error('Could not fetch the list of available spaCy models from {}. ' 'Please check your internet connection.'.format(url))
I had to change the url on line 114 to this.
url = "https://api.github.com/repos/explosion/spacy-models/releases"

I basically just removed ?per_page=100 at the end and I was able to auto download the spacy model after that adjustment.

@octimot
Copy link
Owner

octimot commented Apr 11, 2024

Will look into it, thanks!

Do you know which spacy model was the app trying to download?

Cheers!

@galavera
Copy link
Author

Will look into it, thanks!

Do you know which spacy model was the app trying to download?

Cheers!

when searching for models based on language (en) using the original link it would return an error, so no model was found or downloaded.

Somehow the '?per_page=100' was messing it up. I removed it on a whim and that resolved the issue and it was able to find a model and download it.

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