I have installed cntlm and it is working fine.
But still i am not able to download nltk data.
output is :
vishnu@xortics:~$ wget
www.nltk.org
--2011-03-01 13:00:36--
http://www.nltk.org/
Resolving localhost... ::1, 127.0.0.1
Connecting to localhost|::1|:12345... failed: Connection refused.
Connecting to localhost|127.0.0.1|:12345... connected.
Proxy request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: `index.html.3'
[ <=> ] 24,768 159K/s in
0.2s
2011-03-01 13:00:38 (159 KB/s) - `index.html.3' saved [24768]
vishnu@xortics:~sudo python -m nltk.downloader -d /usr/share/nltk_data
all
[nltk_data] Error loading all: <urlopen error [Errno 110] Connection
[nltk_data] timed out>
Error installing package. Retry? [n/y/e]
y
Traceback (most recent call last):
File "/usr/lib/python2.6/runpy.py", line 122, in _run_module_as_main
"__main__", fname, loader, pkg_name)
File "/usr/lib/python2.6/runpy.py", line 34, in _run_code
exec code in run_globals
File "/usr/local/lib/python2.6/dist-packages/nltk/downloader.py",
line 2162, in <module>
halt_on_error=options.halt_on_error)
File "/usr/local/lib/python2.6/dist-packages/nltk/downloader.py",
line 666, in download
if not self.download(
msg.package.id, download_dir,
AttributeError: 'NoneType' object has no attribute 'id'
plz help me.................