You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to use fs.get_all_families(target_directory). It stops after a few downloaded fonts:
Python 3.7.3 (default, May 25 2019, 04:51:33)
[GCC 7.3.0] on haiku1
fs = fontsquirrel.FontSquirrel()
fs.get_all_families("fontsdir/")
(...)
INFO:root:Downloading zip from http://www.fontsquirrel.com/fonts/download/After-Shok
INFO:root:Downloading zip from http://www.fontsquirrel.com/fonts/download/agane
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/boot/home/fontsquirrel_dl-master/fontsquirrel.py", line 198, in get_all_families
zip_file.extract(filename, path=dest+url_name)
File "/packages/python3-3.7.3-2/.self/lib/python3.7/zipfile.py", line 1599, in extract
return self._extract_member(member, path, pwd)
File "/packages/python3-3.7.3-2/.self/lib/python3.7/zipfile.py", line 1638, in _extract_member
member = self.getinfo(member)
File "/packages/python3-3.7.3-2/.self/lib/python3.7/zipfile.py", line 1395, in getinfo
'There is no item named %r in the archive' % name)
KeyError: "There is no item named 'Aganè 45 (light).ttf' in the archive"
It should should continue if errors are occuring.
The text was updated successfully, but these errors were encountered:
I am trying to use
fs.get_all_families(target_directory)
. It stops after a few downloaded fonts:It should should continue if errors are occuring.
The text was updated successfully, but these errors were encountered: