openzim / wikihow

WikiHow scraper
https://download.kiwix.org/zim/wikihow/
GNU General Public License v3.0
15 stars 2 forks source link

ERROR:object of type 'NoneType' has no len() #120

Closed kelson42 closed 2 years ago

kelson42 commented 2 years ago

https://farm.openzim.org/pipeline/98e17e22b04c5a6adf0bf126/debug

[MainThread::2022-03-02 18:04:09,980] ERROR:FAILED. An error occurred: object of type 'NoneType' has no len() [MainThread::2022-03-02 18:04:09,980] ERROR:object of type 'NoneType' has no len() Traceback (most recent call last):   File "/usr/local/lib/python3.8/site-packages/wikihow2zim-1.0.2-py3.8.egg/wikihow2zim/entrypoint.py", line 215, in main     scraper = wikihow2zim(**dict(args._get_kwargs()))   File "/usr/local/lib/python3.8/site-packages/wikihow2zim-1.0.2-py3.8.egg/wikihow2zim/scraper.py", line 47, in __init__     Global.conf = Conf(**kwargs)   File "<string>", line 38, in __init__   File "/usr/local/lib/python3.8/site-packages/wikihow2zim-1.0.2-py3.8.egg/wikihow2zim/constants.py", line 143, in __post_init__     if len(self.categories) == 1 TypeError: object of type 'NoneType' has no len()
--