pyrepl

 

Message editing

Author mw
Recipients
Date 2006-06-22.15:15:44
Content
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:44mwlinkissue10 messages
2006-06-22 15:15:44mwcreate