Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save unixsurfer/67db620d87f667423f6f6e3a04e0bff5 to your computer and use it in GitHub Desktop.
Save unixsurfer/67db620d87f667423f6f6e3a04e0bff5 to your computer and use it in GitHub Desktop.
Exception in thread foo1:
Traceback (most recent call last):
File "foo../lib/python3.4/threading.py", line 911, in _bootstrap_inner
self.run()
File "foo../lib/python3.4/site-packages/anycast_healthchecker/servicecheck.py", line 189, in run
if not self._ip_assigned():
File "foo../lib/python3.4/site-packages/anycast_healthchecker/servicecheck.py", line 93, in _ip_assigned
timeout=1)
File "foo../lib/python3.4/subprocess.py", line 612, in check_output
output, unused_err = process.communicate()
File "foo../lib/python3.4/subprocess.py", line 962, in communicate
stdout, stderr = self._communicate(input, endtime, timeout)
File "foo../lib/python3.4/subprocess.py", line 1614, in _communicate
selector.register(self.stdout, selectors.EVENT_READ)
File "foo../lib/python3.4/selectors.py", line 342, in register
key = super().register(fileobj, events, data)
File "foo../lib/python3.4/selectors.py", line 228, in register
key = SelectorKey(fileobj, self._fileobj_lookup(fileobj), events, data)
File "foo../lib/python3.4/selectors.py", line 215, in _fileobj_lookup
return _fileobj_to_fd(fileobj)
File "foo../lib/python3.4/selectors.py", line 39, in _fileobj_to_fd
"{!r}".format(fileobj)) from None
ValueError: Invalid file object: <_io.TextIOWrapper name=11 encoding='UTF-8'>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment