Sometimes, zipped packages miss a corresponding .xml file. Then, 'make pkg_index' ignores these packages silently and doesn't add them to the index, so they cannot be downloaded.
Wouldn't it be nice if this situation could trigger a warning, without necessarily raising an error? It only requires a few additional lines in nltk/downloader.py to produce the following warnings:
Sometimes, zipped packages miss a corresponding .xml file. Then, 'make pkg_index' ignores these packages silently and doesn't add them to the index, so they cannot be downloaded.
Wouldn't it be nice if this situation could trigger a warning, without necessarily raising an error? It only requires a few additional lines in nltk/downloader.py to produce the following warnings: