Status: New
Owner: ----
Labels: Type-Defect Priority-Medium
New issue 747 by
subhras....@gmail.com: problem in ieer and inaugural zip
file download
http://code.google.com/p/nltk/issues/detail?id=747
What version of NLTK are you using? 2.0.4
When I am downloading the book in nlyk downloader I am getting an
error "Error with downloaded zip file" which is for ieer and inaugural
package.
>>> from nltk.book import *
*** Introductory Examples for the NLTK Book ***
Loading text1, ..., text9 and sent1, ..., sent9
Type the name of the text or sentence to view it.
Type: 'texts()' or 'sents()' to list the materials.
text1: Moby Dick by Herman Melville 1851
text2: Sense and Sensibility by Jane Austen 1811
text3: The Book of Genesis
Traceback (most recent call last):
File "<pyshell#1>", line 1, in <module>
from nltk.book import *
File "C:\Python27\lib\site-packages\nltk\book.py", line 30, in <module>
text4 = Text(inaugural.words(), name="Inaugural Address Corpus")
File "C:\Python27\lib\site-packages\nltk\corpus\util.py", line 68, in
__getattr__
self.__load()
File "C:\Python27\lib\site-packages\nltk\corpus\util.py", line 53, in
__load
root = nltk.data.find('corpora/%s' % self.__name)
File "C:\Python27\lib\site-packages\nltk\data.py", line 455, in find
try: return find(modified_name)
File "C:\Python27\lib\site-packages\nltk\data.py", line 445, in find
try: return ZipFilePathPointer(p, zipentry)
File "C:\Python27\lib\site-packages\nltk\data.py", line 311, in __init__
zipfile = OpenOnDemandZipFile(os.path.abspath(zipfile))
File "C:\Python27\lib\site-packages\nltk\data.py", line 738, in __init__
zipfile.ZipFile.__init__(self, filename)
File "C:\Python27\lib\zipfile.py", line 766, in __init__
self._RealGetContents()
File "C:\Python27\lib\zipfile.py", line 807, in _RealGetContents
raise BadZipfile, "File is not a zip file"
BadZipfile: File is not a zip file
While installing nltk there were errors too
like "could not install nltk key value"
and 2 other errors
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings