Banefire23 / ir-gts

Automatically exported from code.google.com/p/ir-gts
0 stars 0 forks source link

EOFError After ctrl+c from 'm' function #1

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Starting gts.py as a normal user (i.e. not using sudo) leads to an EOFError 
after using the 'Send Multiple' function.

Seems to be related to the second (superuser) instance of gts.py from 
call(args) not handling the KeyboardInterrupt properly.

Traceback (most recent call last):
  File "./gts.py", line 26, in <module>
    call(args)
  File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/subprocess.py", line 444, in call
    return Popen(*popenargs, **kwargs).wait()
  File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/subprocess.py", line 1137, in wait
    pid, sts = os.waitpid(self.pid, 0)
KeyboardInterrupt
[mb] ~/Documents/ir-gts$ Traceback (most recent call last):
  File "./gts.py", line 39, in <module>
    option = raw_input().strip().lower()
EOFError

Original issue reported on code.google.com by infinite...@gmail.com on 20 Jul 2010 at 7:56

GoogleCodeExporter commented 8 years ago

Original comment by infinite...@gmail.com on 20 Jul 2010 at 7:57

GoogleCodeExporter commented 8 years ago
Resolved with revision 36.

Original comment by infinite...@gmail.com on 20 Jul 2010 at 8:17