-
Notifications
You must be signed in to change notification settings - Fork 2
I ran out of resources (urllib.error.HTTPError: HTTP Error 403: rate limit exceeded) #15
Comments
I'm surprised this isn't operating 100% locally
|
The command line build the repo name then download the fonts from github. It allows people to always work with the last build of the fonts, and it's quite fast since they are not ufo or glyphs sources. I'm surprised github puts limits on compiled files download. So I could add an option to pass a folder path to the command line. The class will check first it it founds the fonts folder in it, but it will require the folders are named exactly like the github repositories. |
Maybe a better idea would be to add an option to not delete the fonts folder after download. The scripts will check if they are still here before starting the download. I add it. It works with the |
If you use a local git repo you can fetch the head commit id and then tell
the user to pull it it doesn't match? :)
…On Tue, Aug 18, 2020, 12:54 PM jbmorizot ***@***.***> wrote:
Maybe a better idea would be to add an option to not delete the fonts
folder after download. The scripts will check if they are still here before
starting the download. I add it. It works with the --keep argument.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#15 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAB73S6F2H2IBFHCE2QX57TSBKW37ANCNFSM4QCRXXDQ>
.
|
test to see if we can handle resources
|
I'll test it. Also I'll create a downloaded folder and add it to gitignore so one can keeps the dl fonts to avoid to dl them again and still have no modification in git. Plus I can store the SHA for each of them as Dave suggest and compare with the latest head commit SHA to see if fonts need to be pulled again. Does it sound a working plan? Edit: it's done. |
I ran about 350 merges ... tried to merge everything non-LGC with both Sans and Serif... after a while I started to get "urllib.error.HTTPError: HTTP Error 403: rate limit exceeded" .... What do we need to do to avoid it?
====== SANS ZanabazarSquare
['NotoSans', 'NotoSansZanabazarSquare']
INFO: Download begin
Traceback (most recent call last):
File "./notobuilderCLI.py", line 883, in
File "./notobuilderCLI.py", line 876, in main
File "./notobuilderCLI.py", line 259, in init
File "./notobuilderCLI.py", line 358, in buildRepoName
File "./notobuilderCLI.py", line 47, in init
File "./notobuilderCLI.py", line 70, in dwnldSources
File "/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/urllib/request.py", line 247, in urlretrieve
File "/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/urllib/request.py", line 222, in urlopen
File "/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/urllib/request.py", line 531, in open
File "/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/urllib/request.py", line 641, in http_response
File "/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/urllib/request.py", line 569, in error
File "/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/urllib/request.py", line 503, in _call_chain
File "/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/urllib/request.py", line 649, in http_error_default
urllib.error.HTTPError: HTTP Error 403: rate limit exceeded
The text was updated successfully, but these errors were encountered: