Issue 735 in nltk: Just can not connect to nltk

135 views
Skip to first unread message

nl...@googlecode.com

unread,
Apr 16, 2012, 6:20:29 PM4/16/12
to nltk-...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 735 by superhea...@gmail.com: Just can not connect to nltk
http://code.google.com/p/nltk/issues/detail?id=735

What version of NLTK are you using? (See nltk.__version__). Please only
submit bug reports for the current version.

nltk-2[1].0b9.win32.msi

What steps will reproduce the problem? (e.g. include Python source code)

run nltk.download()
but get connection error

What is the expected output? What do you see instead?

Just want to download the text resources

Please use labels and text to provide additional information.

>>> nltk.download()

Traceback (most recent call last):
File "<pyshell#36>", line 1, in <module>
nltk.download()
File "H:\Python\lib\site-packages\nltk\downloader.py", line 644, in
download
self._interactive_download()
File "H:\Python\lib\site-packages\nltk\downloader.py", line 960, in
_interactive_download
DownloaderGUI(self).mainloop()
File "H:\Python\lib\site-packages\nltk\downloader.py", line 1184, in
__init__
self._fill_table()
File "H:\Python\lib\site-packages\nltk\downloader.py", line 1451, in
_fill_table
items = self._ds.collections()
File "H:\Python\lib\site-packages\nltk\downloader.py", line 489, in
collections
self._update_index()
File "H:\Python\lib\site-packages\nltk\downloader.py", line 814, in
_update_index
ElementTree.parse(urllib2.urlopen(self._url)).getroot())
File "H:\Python\lib\urllib2.py", line 126, in urlopen
return _opener.open(url, data, timeout)
File "H:\Python\lib\urllib2.py", line 394, in open
response = self._open(req, data)
File "H:\Python\lib\urllib2.py", line 412, in _open
'_open', req)
File "H:\Python\lib\urllib2.py", line 372, in _call_chain
result = func(*args)
File "H:\Python\lib\urllib2.py", line 1199, in http_open
return self.do_open(httplib.HTTPConnection, req)
File "H:\Python\lib\urllib2.py", line 1174, in do_open
raise URLError(err)
URLError: <urlopen error [Errno 10060] A connection attempt failed because
the connected party did not properly respond after a period of time, or
established connection failed because connected host has failed to respond>

nl...@googlecode.com

unread,
Apr 16, 2012, 6:22:10 PM4/16/12
to nltk-...@googlegroups.com

Comment #1 on issue 735 by superhea...@gmail.com: Just can not connect to
nltk
http://code.google.com/p/nltk/issues/detail?id=735

I can use some functions locally. I think the installation is good.
Wonder whether there is banlist on the server?

Reply all
Reply to author
Forward
0 new messages