Advertisement
pellekrogholt

Untitled

Jan 20th, 2014
217
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.71 KB | None | 0 0
  1. 2$ ./ping.py
  2. Traceback (most recent call last):
  3. File "./ping.py", line 16, in <module>
  4. ping()
  5. File "./ping.py", line 10, in ping
  6. stderr=STDOUT)
  7. File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 524, in call
  8. return Popen(*popenargs, **kwargs).wait()
  9. File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 703, in __init__
  10. errread, errwrite) = self._get_handles(stdin, stdout, stderr)
  11. File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 1115, in _get_handles
  12. c2pwrite = stdout.fileno()
  13. AttributeError: 'tuple' object has no attribute 'fileno'
  14. bash-3.2$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement