vaibhavk97 / GoBooDo

A Google book downloader with proxy support.
GNU General Public License v3.0
322 stars 60 forks source link

TypeError: cannot unpack non-iterable NoneType object #49

Open dhowe opened 3 years ago

dhowe commented 3 years ago

OSX: 11.3

...
Fetched image for page 1012
Fetched image for page 1013
Fetched image for page 1014
Fetched image for page 1015
Fetched image for page 1016
------------------- Creating PDF -------------------
Traceback (most recent call last):
  File "/Users/dhowe/git/GoBooDo/GoBooDo.py", line 217, in <module>
    book.start()
  File "/Users/dhowe/git/GoBooDo/GoBooDo.py", line 197, in start
    self.processBook()
  File "/Users/dhowe/git/GoBooDo/GoBooDo.py", line 150, in processBook
    service.makePdf()
  File "/Users/dhowe/git/GoBooDo/makePDF.py", line 18, in makePdf
    for pagePath in tqdm(self.imageNameList):
  File "/usr/local/lib/python3.9/site-packages/tqdm/std.py", line 1027, in __init__
    _ncols, _nrows = _dynamic_ncols(file)
TypeError: cannot unpack non-iterable NoneType object
Exception ignored in: <function tqdm.__del__ at 0x11bc5bc10>
Traceback (most recent call last):
  File "/usr/local/lib/python3.9/site-packages/tqdm/std.py", line 1145, in __del__
    self.close()
  File "/usr/local/lib/python3.9/site-packages/tqdm/std.py", line 1264, in close
    if self.disable:
AttributeError: 'tqdm' object has no attribute 'disable'