rajrakeshdr / pychess

Automatically exported from code.google.com/p/pychess
GNU General Public License v3.0
0 stars 0 forks source link

Python assertion #280

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Played (as usual) with glaurung (gnuchess as analyzers), and got a Python
assertion i'v never seen before. Huh. (The attribure error was more moves
before the assertion, so i think it's not interesting here.)

tamas:~/svn/pychess$ LANG=C PYTHONPATH=lib ./pychess
3171: old priority 0, new priority 15
3180: old priority 0, new priority 15
3184: old priority 0, new priority 15
Traceback (most recent call last):
  File "/home/tamas/svn/pychess/lib/pychess/widgets/BoardView.py", line
443, inexpose
    self.draw(context, event.area)
  File "/home/tamas/svn/pychess/lib/pychess/widgets/BoardView.py", line
504, indraw
    self.drawLastMove (context, r)
  File "/home/tamas/svn/pychess/lib/pychess/widgets/BoardView.py", line
724, indrawLastMove
    capture = self.model.getBoardAtPly(ply)[self.lastMove.cord1]
AttributeError: 'NoneType' object has no attribute 'cord1'
python: xcb_lock.c:77: _XGetXCBBuffer: Assertion `((int) ((xcb_req) -
(dpy->request)) >= 0)' failed.
Félbeszakítva
tamas:~/svn/pychess$

Original issue reported on code.google.com by gbtami on 31 Dec 2007 at 3:59

Attachments:

GoogleCodeExporter commented 9 years ago
Perhaps its more of an X.org bug then?

Original comment by lobais on 1 Jan 2008 at 5:25

GoogleCodeExporter commented 9 years ago
After googling the error, all I can see is suggestions how the change the 
xorg.conf,
the graphicscard and discussion on the xorg mailing list.

I suppose this happens very rarely? If it does, I think we should close it as 
invalid.

Original comment by lobais on 4 Jan 2008 at 11:36

GoogleCodeExporter commented 9 years ago
Yes, it's rather rare, i agree with you.

Original comment by gbtami on 4 Jan 2008 at 6:17