You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ python fetch_shapefiles.py
Finding files in: ftp://ftp2.census.gov/geo/tiger/TIGER2012/CD/ ...
Traceback (most recent call last):
File "fetch_shapefiles.py", line 208, in<module>main()
File "fetch_shapefiles.py", line 203, in main
year=options.year
File "fetch_shapefiles.py", line 146, in get_all_geo_types
get_one_geo_type(geo_type, state, year)
File "fetch_shapefiles.py", line 133, in get_one_geo_type
filename_list = get_filename_list_from_ftp(target, state)
File "fetch_shapefiles.py", line 51, in get_filename_list_from_ftp
target_files = urllib2.urlopen(target).read().splitlines()
File "/usr/lib/python2.7/urllib2.py", line 154, in urlopen
return opener.open(url, data, timeout)
File "/usr/lib/python2.7/urllib2.py", line 429, in open
response = self._open(req, data)
File "/usr/lib/python2.7/urllib2.py", line 447, in _open
'_open', req)
File "/usr/lib/python2.7/urllib2.py", line 407, in _call_chain
result = func(*args)
File "/usr/lib/python2.7/urllib2.py", line 1413, in ftp_open
fw = self.connect_ftp(user, passwd, host, port, dirs, req.timeout)
File "/usr/lib/python2.7/urllib2.py", line 1435, in connect_ftp
persistent=False)
File "/usr/lib/python2.7/urllib.py", line 877, in __init__
self.init()
File "/usr/lib/python2.7/urllib.py", line 886, in init
self.ftp.connect(self.host, self.port, self.timeout)
File "/usr/lib/python2.7/ftplib.py", line 138, in connect
self.welcome = self.getresp()
File "/usr/lib/python2.7/ftplib.py", line 215, in getresp
resp = self.getmultiline()
File "/usr/lib/python2.7/ftplib.py", line 201, in getmultiline
line = self.getline()
File "/usr/lib/python2.7/ftplib.py", line 186, in getline
line = self.file.readline(self.maxline + 1)
File "/usr/lib/python2.7/socket.py", line 480, in readline
data = self._sock.recv(self._rbufsize)
urllib2.URLError: <urlopen error ftp error: [Errno 104] Connection reset by peer>
The text was updated successfully, but these errors were encountered:
The text was updated successfully, but these errors were encountered: