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: (10035, 'The socket operation could not complete without blocking') #46962
Comments
IDLE internal error in runcode()
Traceback (most recent call last):
File "C:\PYTHON25\lib\idlelib\rpc.py", line 235, in asyncqueue
self.putmessage((seq, request))
File "C:\PYTHON25\lib\idlelib\rpc.py", line 332, in putmessage
n = self.sock.send(s[:BUFSIZE])
error: (10035, 'The socket operation could not complete without blocking') Does this look familiar to anyone? I can't figure out what to do about changing this (works): t = self.b.create_text(
(point.baseX + 1)*self.checkerSize/2 + fudge,
y + fudge,
text = str(point.occupied),
width = self.checkerSize) to t = self.b.create_text(
(point.baseX + 1)*self.checkerSize/2 + fudge,
y + fudge,
text = str(point.occupied),
font=("Times", str(self.checkerSize/2), "bold"),
width = self.checkerSize) for example. The same code works fine elsewhere. I thought I'd ask It has been suggested that the problem is competition with IDLE for -- don |
ah, lines 284-289 (the lines in question) need indenting 4 levels. I |
Don: any news on this? Do you still get the same error with 2.6? |
Hi Don, I don't think this is an issue about idle competing for tkinter |
AFAIK, WSAEWOULDBLOCK means that the socket is in nonblocking mode and |
Rather pessimistic way to see it :) I've always read it as "operation
Richard Stevens, MSDN |
So this patch should fix it. But I cannot fire the bug using the posted |
I just tried writing tests for it, but I don't know idlelib/rpc.py I started trying to test rpc.RPCClient together with run.main but it |
If there is no verification that there is a bug in 2.7/3.1,2, then I think this should be closed. |
This can be reopened if the problem ever appears in a current issue. |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: