pyrepl

 

Issue10 Editing

TitleOSError 4, interupted system call on Window resize (unix)
Prioritybug Statusunread
Superseder Nosy Listmw
Assigned To Topics

Created on 2006-06-22.15:15:44 by mw, last changed 2006-06-22.15:15:44.

Messages
msg28 Author: mw Date: 2006-06-22.15:15:44 remove
Resizing client windows in many window managers causes
pyrepl (used by the mems-exchange durus interactive object
database client) to bomb out with an OSError. Observed
behaviour on Fluxbox, XFCE4, ion3, wmii and twm for good
measure.

Attached a quick hack in the file, not tested other than in
practical use.
Part of the traceback:

  File
"/usr/local/lib/python2.4/site-packages/pyrepl/python_reader.py",

    l = unicode(self.reader.readline(), 'utf-8')
  File
"/usr/local/lib/python2.4/site-packages/pyrepl/reader.py",
line 54
    self.handle1()
  File
"/usr/local/lib/python2.4/site-packages/pyrepl/reader.py",
line 50
    event = self.console.get_event(block)
  File
"/usr/local/lib/python2.4/site-packages/pyrepl/unix_console.py",
l
    self.push_char(os.read(self.input_fd, 1))
OSError: [Errno 4] Interrupted system call
Files
File nameUploaded
unix_console.py mw, 2006-06-22.15:15:44
History
Date User Action Args
2006-06-22 15:15:44mwcreate