Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

socket.error #1

Open
MERI-NJMC opened this issue Jun 19, 2014 · 3 comments
Open

socket.error #1

MERI-NJMC opened this issue Jun 19, 2014 · 3 comments

Comments

@MERI-NJMC
Copy link

For some reason when I run this add in it only downloads one zip folder and then crashes ArcMap. If it doesn't crash the program it throws this socket.error: [Errno 10054] An existing connection was forcibly closed by the remote host. Not sure what to make of it.

@MERI-NJMC
Copy link
Author

this is the full error
Traceback (most recent call last):
File "C:\Users\sbirkner\AppData\Local\ESRI\Desktop10.2\AssemblyCache{5289001F-5F4E-4079-A243-37DF0DA28C06}\NJServices_addin.py", line 79, in onRectangle
zipf.write(response.read())
File "C:\Python27\ArcGIS10.2\Lib\socket.py", line 351, in read
data = self._sock.recv(rbufsize)
File "C:\Python27\ArcGIS10.2\Lib\httplib.py", line 567, in read
s = self.fp.read(amt)
File "C:\Python27\ArcGIS10.2\Lib\socket.py", line 380, in read
data = self._sock.recv(left)
File "C:\Python27\ArcGIS10.2\Lib\ssl.py", line 241, in recv
return self.read(buflen)
File "C:\Python27\ArcGIS10.2\Lib\ssl.py", line 160, in read
return self._sslobj.read(len)
socket.error: [Errno 10054] An existing connection was forcibly closed by the remote host

@johnjreiser
Copy link
Member

Could you let me know which versions of ArcGIS and Python you're using?

@MERI-NJMC
Copy link
Author

10.2.2 and python 3.4.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants