-
Notifications
You must be signed in to change notification settings - Fork 243
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
Error when receive message #87
Comments
The fix that you quoted is for Bad file descriptor |
So, what should i do ? |
Are you sure that you modified /usr/lib/python2.7/asyncore.py? |
yea i did |
What to do ? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
None yet
0 participants
Hello,
First i was having AssertionErr then i fixed it from this link by the code:
You have to go to /usr/lib/python2.7/ and open the file asyncore.py In the file, find the line 199 and change def loop(timeout=30.0, use_poll=False, map=None, count=None): to def loop(timeout=30.0, use_poll=True, map=None , count=None):
After doing this i am having an
Bad file
descriptor``Err_Log
self.stack.loop(timeout=0.5, discrete=0.5) File "/usr/local/lib/python2.7/dist-packages/yowsup/stacks/yowstack.py", line 188, in loop asyncore.loop(*args, **kwargs) File "/usr/lib/python2.7/asyncore.py", line 216, in loop poll_fun(timeout, map) File "/usr/lib/python2.7/asyncore.py", line 145, in poll r, w, e = select.select(r, w, e, timeout) error: (9, 'Bad file descriptor') _server.py_ [INFO][2016-07-09 16:17:42,580] Restarting.. _server.py_ [INFO][2016-07-09 16:17:42,581] ################################################## _server.py_ [INFO][2016-07-09 16:17:42,581] Server started. Phone number: *********** _server.py_ [INFO][2016-07-09 16:17:42,581] ################################################## _server.py_ [ERROR][2016-07-09 16:17:42,581] Unexpected Exception: Traceback (most recent call last): File "src/server.py", line 38, in start self.stack.loop(timeout=0.5, discrete=0.5) File "/usr/local/lib/python2.7/dist-packages/yowsup/stacks/yowstack.py", line 188, in loop asyncore.loop(*args, **kwargs) File "/usr/lib/python2.7/asyncore.py", line 216, in loop poll_fun(timeout, map) File "/usr/lib/python2.7/asyncore.py", line 145, in poll r, w, e = select.select(r, w, e, timeout) error: (9, 'Bad file descriptor') _server.py_ [INFO][2016-07-09 16:17:42,582] Restarting.. _server.py_ [INFO][2016-07-09 16:17:42,582] ####################################
The text was updated successfully, but these errors were encountered: