[issue2710] error: (10035, 'The socket operation could not complete without blocking')

2008-04-28 Thread Don Hanlen

New submission from Don Hanlen [EMAIL PROTECTED]:

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
it.  Python 2.5, windoze.  I get it when I execute a Tkinter op that
works elsewhere.

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
here before I try (no clue) increasing BUFSIZE in rpc.py?  I'm not crazy
about tinkering with code I have no clue about..

It has been suggested that the problem is competition with IDLE for
tkinter resources.

-- 

don

--
files: tkinterwork.py
messages: 65928
nosy: dhanlen
severity: normal
status: open
title: error: (10035, 'The socket operation could not complete without 
blocking')
versions: Python 2.5
Added file: http://bugs.python.org/file10133/tkinterwork.py

__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2710
__
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2711] error: (10035, 'The socket operation could not complete without blocking')

2008-04-28 Thread Don Hanlen

New submission from Don Hanlen [EMAIL PROTECTED]:

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
it.  Python 2.5, windoze.  I get it when I execute a Tkinter op that
works elsewhere.

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
here before I try (no clue) increasing BUFSIZE in rpc.py?  I'm not crazy
about tinkering with code I have no clue about..

It has been suggested that the problem is competition with IDLE for
tkinter resources.

-- 

don

--
files: tkinterwork.py
messages: 65929
nosy: dhanlen
severity: normal
status: open
title: error: (10035, 'The socket operation could not complete without 
blocking')
versions: Python 2.5
Added file: http://bugs.python.org/file10132/tkinterwork.py

__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2711
__
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2710] error: (10035, 'The socket operation could not complete without blocking')

2008-04-28 Thread Don Hanlen

Don Hanlen [EMAIL PROTECTED] added the comment:

ah, lines 284-289 (the lines in question) need indenting 4 levels.  I
just DL'd 2.5.2, ran the code once, no problem, 2nd time, got the usual
error message.

__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2710
__
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com