Bug 119353

Summary: ports/games/glchess badly broken
Product: Ports & Packages Reporter: soralx <soralx>
Component: Individual Port(s)Assignee: Marcelo Araujo <araujo>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description soralx 2008-01-05 09:20:01 UTC
[root@freen0de /]# glchess > log 2>log.err
^C^C^C^C^\^\^\Quit: 3 (core dumped)

[root@freen0de /]# cat log
This is glChess 2.20.2
Loading AI configuration from /usr/local/share/glchess/ai.xml
Detected AI: GNU Chess at /usr/local/bin/gnome-gnuchess
Detected AI: Crafty at /usr/local/bin/crafty
This is glChess 2.20.2
Loading AI configuration from /usr/local/share/glchess/ai.xml
Detected AI: GNU Chess at /usr/local/bin/gnome-gnuchess
Detected AI: Crafty at /usr/local/bin/crafty

[root@freen0de /]# ll log.err
-rw-r--r--  1 root  wheel   114M Jan  4 20:39 log2

[root@freen0de /]# head -64 log.err
Traceback (most recent call last):
  File "/usr/local/lib/python2.5/site-packages/glchess/gtkui/gtkui.py", line 854, in _on_menu_movef_human_activate
    glchess.config.set('move_format', 'human')
  File "/usr/local/lib/python2.5/site-packages/glchess/config.py", line 143, in set
    if oldValue == value:
RuntimeError: maximum recursion depth exceeded in cmp
Traceback (most recent call last):
  File "/usr/local/lib/python2.5/site-packages/glchess/gtkui/gtkui.py", line 862, in _on_menu_movef_san_activate
    glchess.config.set('move_format', 'san')
  File "/usr/local/lib/python2.5/site-packages/glchess/config.py", line 143, in set
    if oldValue == value:
RuntimeError: maximum recursion depth exceeded in cmp
Traceback (most recent call last):
  File "/usr/local/lib/python2.5/site-packages/glchess/gtkui/gtkui.py", line 862, in _on_menu_movef_san_activate
    glchess.config.set('move_format', 'san')
  File "/usr/local/lib/python2.5/site-packages/glchess/config.py", line 157, in set
    _save()
  File "/usr/local/lib/python2.5/site-packages/glchess/config.py", line 190, in _save
    e = document.createComment('Automatically generated by glChess, do not edit!')
  File "/usr/local/lib/python2.5/site-packages/_xmlplus/dom/minidom.py", line 1623, in createComment
    c = Comment(data)
  File "/usr/local/lib/python2.5/site-packages/_xmlplus/dom/minidom.py", line 1135, in __init__
    self.data = self.nodeValue = data
RuntimeError: maximum recursion depth exceeded
Traceback (most recent call last):
  File "/usr/local/lib/python2.5/site-packages/glchess/gtkui/gtkui.py", line 862, in _on_menu_movef_san_activate
    glchess.config.set('move_format', 'san')
  File "/usr/local/lib/python2.5/site-packages/glchess/config.py", line 143, in set
    if oldValue == value:
RuntimeError: maximum recursion depth exceeded in cmp
Traceback (most recent call last):
  File "/usr/local/lib/python2.5/site-packages/glchess/gtkui/gtkui.py", line 854, in _on_menu_movef_human_activate
    glchess.config.set('move_format', 'human')
  File "/usr/local/lib/python2.5/site-packages/glchess/config.py", line 143, in set
    if oldValue == value:
RuntimeError: maximum recursion depth exceeded in cmp
Traceback (most recent call last):
  File "/usr/local/lib/python2.5/site-packages/glchess/gtkui/gtkui.py", line 854, in _on_menu_movef_human_activate
    glchess.config.set('move_format', 'human')
  File "/usr/local/lib/python2.5/site-packages/glchess/config.py", line 157, in set
    _save()
  File "/usr/local/lib/python2.5/site-packages/glchess/config.py", line 190, in _save
    e = document.createComment('Automatically generated by glChess, do not edit!')
  File "/usr/local/lib/python2.5/site-packages/_xmlplus/dom/minidom.py", line 1623, in createComment
    c = Comment(data)
  File "/usr/local/lib/python2.5/site-packages/_xmlplus/dom/minidom.py", line 1135, in __init__
    self.data = self.nodeValue = data
RuntimeError: maximum recursion depth exceeded
Traceback (most recent call last):
  File "/usr/local/lib/python2.5/site-packages/glchess/gtkui/gtkui.py", line 862, in _on_menu_movef_san_activate
    glchess.config.set('move_format', 'san')
  File "/usr/local/lib/python2.5/site-packages/glchess/config.py", line 143, in set
    if oldValue == value:
RuntimeError: maximum recursion depth exceeded in cmp
Traceback (most recent call last):
  File "/usr/local/lib/python2.5/site-packages/glchess/gtkui/gtkui.py", line 854, in _on_menu_movef_human_activate
    glchess.config.set('move_format', 'human')
  File "/usr/local/lib/python2.5/site-packages/glchess/config.py", line 143, in set
    if oldValue == value:
RuntimeError: maximum recursion depth exceeded in cmp
Traceback (most recent call last):
  File "/usr/local/lib/python2.5/site-packages/glchess/gtkui/gtkui.py", line 854, in _on_menu_movef_human_activate
    glchess.config.set('move_format', 'human')
  File "/usr/local/lib/python2.5/site-packages/glchess/config.py", line 157, in set

[root@freen0de /]# /var/db/pkg/py 
py-gnome-1.4.4_6/        py25-lxml-1.2.1_1/       py25-sip-4.7.1,1/
py25-cairo-1.4.0_1/      py25-numeric-24.2/       py25-tkinter-2.5.1_2/
py25-gobject-2.14.0/     py25-opengl-2.0.1.07_4/  py25-xml-0.8.4/
py25-gtk-2.12.0/         py25-qt-3.17.3,1/        pyrex-0.9.6.2/
py25-gtkglext-1.1.0_1/   py25-qt4-core-4.3.1/     python25-2.5.1_1/
py25-imaging-1.1.6_2/    py25-qt4-gui-4.3.1/      
py25-libxml2-2.6.30/     py25-setuptools-0.6c7_1/

How-To-Repeat: 	Install glchess either from ports or the latest one from gnome-games, startx with 'nvidia' driver, exec `glchess`. It used to work nicely in the times of 6.1-RC, AFAIR. It can easily be that something is not right with python...
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2008-01-05 09:20:08 UTC
Responsible Changed
From-To: freebsd-ports-bugs->araujo

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 Marcelo Araujo freebsd_committer freebsd_triage 2008-06-09 03:28:37 UTC
State Changed
From-To: open->closed

Not reproduced more, nobody more have reported this issue.