Skip to content

Instantly share code, notes, and snippets.

@airstrike
Created January 9, 2012 20:38
Show Gist options
  • Select an option

  • Save airstrike/1584814 to your computer and use it in GitHub Desktop.

Select an option

Save airstrike/1584814 to your computer and use it in GitHub Desktop.
epio create: error calling connect() on a socket object (second item in tuple must be an integer!)
(sandbox) C:\projects\sandbox>epio create -e [email protected]
Traceback (most recent call last):
File "C:\virtual\grapher\Scripts\epio-script.py", line 8, in <module>
load_entry_point('epio==0.3.1', 'console_scripts', 'epio')()
File "C:\virtual\grapher\lib\site-packages\epio\__init__.py", line 161, in main
CommandLineClient(sys.argv).execute()
File "C:\virtual\grapher\lib\site-packages\epio\__init__.py", line 157, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "C:\virtual\grapher\lib\site-packages\epio\commands\__init__.py", line 86, in run_from_argv
self.handle(*args, **options.__dict__)
File "C:\virtual\grapher\lib\site-packages\epio\commands\__init__.py", line 137, in handle
return self.handle_app_name(app_name, *args, **options)
File "C:\virtual\grapher\lib\site-packages\epio\commands\create.py", line 27, in handle_app_name
'name': app_name or "<random>",
File "C:\virtual\grapher\lib\site-packages\epio\client.py", line 134, in post
return self.request(path, 'POST', data)
File "C:\virtual\grapher\lib\site-packages\epio\client.py", line 162, in request
body = data and urlencode(data) or "",
File "C:\virtual\grapher\lib\site-packages\httplib2\__init__.py", line 1445, in request
(response, content) = self._request(conn, authority, uri, request_uri, method, body, headers, redirections, cachekey
)
File "C:\virtual\grapher\lib\site-packages\httplib2\__init__.py", line 1197, in _request
(response, content) = self._conn_request(conn, request_uri, method, body, headers)
File "C:\virtual\grapher\lib\site-packages\httplib2\__init__.py", line 1133, in _conn_request
conn.connect()
File "C:\virtual\grapher\lib\site-packages\httplib2\__init__.py", line 890, in connect
sock.connect((self.host, self.port))
File "C:\virtual\grapher\lib\site-packages\httplib2\socks.py", line 423, in connect
_orgsocket.connect(self,(self.__proxy[1], portnum))
File "C:\Python27\Lib\socket.py", line 225, in meth
return getattr(self._sock,name)(*args)
TypeError: an integer is required
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment