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

Process hangs when quit #5

Open
microamp opened this issue Sep 13, 2014 · 2 comments
Open

Process hangs when quit #5

microamp opened this issue Sep 13, 2014 · 2 comments

Comments

@microamp
Copy link

Managed to run Doga using Python 2, but the process seems to hang when I quit it.

When I tried to kill the process manually after waiting for a few minutes, I got the following error. (The process was still running after the keyboard interruption, so I manually shut down the terminal it was running on.)

^CTraceback (most recent call last):
  File "/usr/bin/doga", line 9, in <module>
    load_entry_point('Doga==0.2.0', 'console_scripts', 'doga')()
  File "/usr/lib/python2.7/site-packages/Doga/doga.py", line 57, in main
    socket_interface = SocketInterface(packet_parser)
  File "/usr/lib/python2.7/site-packages/Doga/interfaces/sockets.py", line 25, in __init__
    self.capture(self.raw_socket)
  File "/usr/lib/python2.7/site-packages/Doga/interfaces/sockets.py", line 65, in capture
    packet_tuple = sock.recvfrom(65565)
KeyboardInterrupt
^C^C

By the way, it looks good. Looking forward to seeing further enhancements in the future.

@pravj
Copy link
Owner

pravj commented Sep 13, 2014

yeah I have created an issue #1 for this thing.
I'll first work for issue #2 this evening and will come to this soon.

@pravj
Copy link
Owner

pravj commented Sep 13, 2014

as of now I use Ctrl + Z to exit of application. and then pkill 😄

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