Barbarian1010 / pychess

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

Freezes under Ubuntu 13.10 #826

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
After upgrading from Ubuntu 12.04 to 13.10 Pychess freezes in many cases, e.g. 
when I chose a menu entriy like "New game", "Offer Draw" or "Internet Chess".

When I select "Save Game" Nothing happens, I can close PyChess normally.

When I select "Load Game" the pop up appears and then it freezes, I can't even 
terminate the program at this point.

I didn't test every menu entry but for example "Engines", "Rotate Board" and 
"Help" do work. I also can play games with the default settings.

What steps will reproduce the problem?
1.Start PyChess
2.Select one of the mentioned menu entries

Does it happen every time?
Yes

What version of the product are you using?
I use the latest Beta, but I also tried the latest stable version with the same 
result. It worked well under Ubuntu 12.04 on the same system.

Did you use an installed version of PyChess or did you run in from a
tarball/svn?
Both.

Please provide any additional information below.
I am a Linux Newbie :)

Please attach the latest pychess logfile. It's in a hidden folder, under
your homedirectory, named ".local/share/pychess/"

22:02:36 Default Debug: PyChess Anderssen 0.12beta4 rev.   started
22:02:38 Default Debug: ionest.generalStart: <GameModel at 40585968 (ply=0, 
variant=Normal, status=0, reason=35, players=[], tags={'TimeControl': '300+0', 
'Time': '22:02:00', 'Result': '*', 'Round': 1, 'Year': 2013, 'Month': 12, 
'Day': 23, 'Event': u'\xd6rtliches Ereignis', 'Site': u'Lokale Seite'}
board=#Weiß KQkq -
# ♜ ♞ ♝ ♛ ♚ ♝ ♞ ♜ 
# ♟ ♟ ♟ ♟ ♟ ♟ ♟ ♟ 
# . . . . . . . . 
# . . . . . . . . 
# . . . . . . . . 
# . . . . . . . . 
# ♙ ♙ ♙ ♙ ♙ ♙ ♙ ♙ 
# ♖ ♘ ♗ ♕ ♔ ♗ ♘ ♖ 
# )>
 (0, <class 'pychess.Players.Human.Human'>, (0, 'Alex'), 'Alex')
 (1, <bound method EngineDiscoverer.initPlayerEngine of <EngineDiscoverer object at 0x1ab9cd0 (pychess+Players+engineNest+EngineDiscoverer at 0x118a400)>>, ({u'protocol': u'xboard', u'name': u'Sjeng 11.2', u'country': u'be', u'args': [], u'command': u'/usr/games/sjeng', u'variants': [u'normal', u'bughouse', u'crazyhouse', u'suicide', u'giveaway', u'losers'], u'analyze': True, u'options': [{u'default': False, u'type': u'check', u'name': u'Ponder', u'value': False}], u'recheck': False, u'md5': u'b683c883d0c4d1326aaac210e81d3a24'}, 1, 20, <class pychess.Variants.normal.NormalChess at 0x1a03460>, 300, 0), u'Sjeng 11.2')
22:02:38 Default Debug: ionest.workfunc: <GameModel at 40585968 (ply=0, 
variant=Normal, status=0, reason=35, players=[], tags={'TimeControl': '300+0', 
'Time': '22:02:00', 'Result': '*', 'Round': 1, 'Year': 2013, 'Month': 12, 
'Day': 23, 'Event': u'\xd6rtliches Ereignis', 'Site': u'Lokale Seite'}
board=#Weiß KQkq -
# ♜ ♞ ♝ ♛ ♚ ♝ ♞ ♜ 
# ♟ ♟ ♟ ♟ ♟ ♟ ♟ ♟ 
# . . . . . . . . 
# . . . . . . . . 
# . . . . . . . . 
# . . . . . . . . 
# ♙ ♙ ♙ ♙ ♙ ♙ ♙ ♙ 
# ♖ ♘ ♗ ♕ ♔ ♗ ♘ ♖ 
# )>
 (0, <class 'pychess.Players.Human.Human'>, (0, 'Alex'), 'Alex')
 (1, <bound method EngineDiscoverer.initPlayerEngine of <EngineDiscoverer object at 0x1ab9cd0 (pychess+Players+engineNest+EngineDiscoverer at 0x118a400)>>, ({u'protocol': u'xboard', u'name': u'Sjeng 11.2', u'country': u'be', u'args': [], u'command': u'/usr/games/sjeng', u'variants': [u'normal', u'bughouse', u'crazyhouse', u'suicide', u'giveaway', u'losers'], u'analyze': True, u'options': [{u'default': False, u'type': u'check', u'name': u'Ponder', u'value': False}], u'recheck': False, u'md5': u'b683c883d0c4d1326aaac210e81d3a24'}, 1, 20, <class pychess.Variants.normal.NormalChess at 0x1a03460>, 300, 0), u'Sjeng 11.2')
22:02:38 (u'Sjeng', '22:12:38.205') Debug: /usr/games/sjeng
22:02:38 (u'Sjeng', '22:12:38.205') Debug: Schwarz
22:02:38 (u'Sjeng', '22:12:38.205') Info: xboard
22:02:38 (u'Sjeng', '22:12:38.205') Info: protover 2
22:02:38 (u'Sjeng', '22:12:38.205') Debug: Attaching Engine Output black 
#140469187271888 to engine <SubProcess object at 0x7fc188028550 
(pychess+System+SubProcess+SubProcess at 0x23ecae0)>
22:02:38 Default Debug: GameModel.run: Starting. self=<GameModel at 40585968 
(ply=0, variant=Normal, status=0, reason=35, players=[Alex, Sjeng 11.2], 
tags={'Site': u'Lokale Seite', 'Black': 'Sjeng 11.2', 'Time': '22:02:00', 
'White': 'Alex', 'Round': 1, 'TimeControl': '300+0', 'Month': 12, 'Result': 
'*', 'Year': 2013, 'Day': 23, 'Event': u'\xd6rtliches Ereignis'}
board=#Weiß KQkq -
# ♜ ♞ ♝ ♛ ♚ ♝ ♞ ♜ 
# ♟ ♟ ♟ ♟ ♟ ♟ ♟ ♟ 
# . . . . . . . . 
# . . . . . . . . 
# . . . . . . . . 
# . . . . . . . . 
# ♙ ♙ ♙ ♙ ♙ ♙ ♙ ♙ 
# ♖ ♘ ♗ ♕ ♔ ♗ ♘ ♖ 
# )>
22:02:38 Default Debug: ionest.workfunc: returning gmwidg=<GameWidget object at 
0x26b46e0 (pychess+widgets+gamewidget+GameWidget at 0x23dfba0)>
 gamemodel=<GameModel at 40585968 (ply=0, variant=Normal, status=2, reason=35, players=[Alex, Sjeng 11.2], tags={'Site': u'Lokale Seite', 'Black': 'Sjeng 11.2', 'Time': '22:02:00', 'White': 'Alex', 'Round': 1, 'TimeControl': '300+0', 'Month': 12, 'Result': '*', 'Year': 2013, 'Day': 23, 'Event': u'\xd6rtliches Ereignis'}
board=#Weiß KQkq -
# ♜ ♞ ♝ ♛ ♚ ♝ ♞ ♜ 
# ♟ ♟ ♟ ♟ ♟ ♟ ♟ ♟ 
# . . . . . . . . 
# . . . . . . . . 
# . . . . . . . . 
# . . . . . . . . 
# ♙ ♙ ♙ ♙ ♙ ♙ ♙ ♙ 
# ♖ ♘ ♗ ♕ ♔ ♗ ♘ ♖ 
# )>
22:02:38 (u'Sjeng', '22:12:38.205') Debug: Allocated 2*1000000 hash entries, 
totalling 64000000 bytes.
22:02:38 (u'Sjeng', '22:12:38.205') Debug: Allocated 1000000 quiescenthash 
entries, totalling 32000000 bytes.
22:02:38 (u'Sjeng', '22:12:38.205') Debug: Allocated 4000 eval cache entries, 
totalling 96000 bytes.
22:02:38 (u'Sjeng', '22:12:38.205') Debug: No .OPN opening book found.
22:02:38 (u'Sjeng', '22:12:38.205') Debug: 
22:02:38 (u'Sjeng', '22:12:38.205') Debug: Sjeng version 11.2, Copyright (C) 
2000-2001 Gian-Carlo Pascutto
22:02:38 (u'Sjeng', '22:12:38.205') Debug: 
22:02:38 (u'Sjeng', '22:12:38.205') Debug: Sjeng comes with ABSOLUTELY NO 
WARRANTY; for details type 'warranty'
22:02:38 (u'Sjeng', '22:12:38.205') Debug: This is free software, and you are 
welcome to redistribute it
22:02:38 (u'Sjeng', '22:12:38.205') Debug: under certain conditions; type 
'distribution'
22:02:38 (u'Sjeng', '22:12:38.205') Debug: 
22:02:38 (u'Sjeng', '22:12:38.205') Debug: 
22:02:38 (u'Sjeng', '22:12:38.205') Debug:   
+----+----+----+----+----+----+----+----+
22:02:38 (u'Sjeng', '22:12:38.205') Debug: 8 | *R | *N | *B | *Q | *K | *B | *N 
| *R |
22:02:38 (u'Sjeng', '22:12:38.205') Debug:   
+----+----+----+----+----+----+----+----+
22:02:38 (u'Sjeng', '22:12:38.205') Debug: 7 | *P | *P | *P | *P | *P | *P | *P 
| *P |
22:02:38 (u'Sjeng', '22:12:38.205') Debug:   
+----+----+----+----+----+----+----+----+
22:02:38 (u'Sjeng', '22:12:38.205') Debug: 6 |    |    |    |    |    |    |    
|    |
22:02:38 (u'Sjeng', '22:12:38.205') Debug:   
+----+----+----+----+----+----+----+----+
22:02:38 (u'Sjeng', '22:12:38.205') Debug: 5 |    |    |    |    |    |    |    
|    |
22:02:38 (u'Sjeng', '22:12:38.205') Debug:   
+----+----+----+----+----+----+----+----+
22:02:38 (u'Sjeng', '22:12:38.205') Debug: 4 |    |    |    |    |    |    |    
|    |
22:02:38 (u'Sjeng', '22:12:38.205') Debug:   
+----+----+----+----+----+----+----+----+
22:02:38 (u'Sjeng', '22:12:38.205') Debug: 3 |    |    |    |    |    |    |    
|    |
22:02:38 (u'Sjeng', '22:12:38.205') Debug:   
+----+----+----+----+----+----+----+----+
22:02:38 (u'Sjeng', '22:12:38.205') Debug: 2 |  P |  P |  P |  P |  P |  P |  P 
|  P |
22:02:38 (u'Sjeng', '22:12:38.205') Debug:   
+----+----+----+----+----+----+----+----+
22:02:38 (u'Sjeng', '22:12:38.205') Debug: 1 |  R |  N |  B |  Q |  K |  B |  N 
|  R |
22:02:38 (u'Sjeng', '22:12:38.205') Debug:   
+----+----+----+----+----+----+----+----+
22:02:38 (u'Sjeng', '22:12:38.205') Debug: 
22:02:38 (u'Sjeng', '22:12:38.205') Debug:      a    b    c    d    e    f    g 
   h
22:02:38 (u'Sjeng', '22:12:38.205') Debug: 
22:02:38 (u'Sjeng', '22:12:38.205') Debug: Sjeng: 
22:02:38 (u'Sjeng', '22:12:38.205') Debug: tellics set f5 1=1
22:02:38 (u'Sjeng', '22:12:38.205') Debug: feature ping=1 setboard=1 
playother=0 san=0 usermove=0 time=1
22:02:38 (u'Sjeng', '22:12:38.205') Debug: feature draw=0 sigint=0 sigterm=0 
reuse=1 analyze=1
22:02:38 (u'Sjeng', '22:12:38.205') Debug: feature myname="Sjeng 11.2"
22:02:38 (u'Sjeng', '22:12:38.205') Debug: feature 
variants="normal,bughouse,crazyhouse,suicide,giveaway,losers"
22:02:38 (u'Sjeng', '22:12:38.205') Debug: feature colors=1 ics=0 name=0 
pause=0 done=1
22:02:38 Default Info: Ignoring tell ics: set f5 1=1
22:02:38 (u'Sjeng', '22:12:38.205') Info: accepted ping
22:02:38 (u'Sjeng', '22:12:38.205') Info: accepted setboard
22:02:38 (u'Sjeng', '22:12:38.205') Info: rejected playother
22:02:38 (u'Sjeng', '22:12:38.205') Info: accepted san
22:02:38 (u'Sjeng', '22:12:38.205') Info: accepted usermove
22:02:38 (u'Sjeng', '22:12:38.205') Info: accepted time
22:02:38 (u'Sjeng', '22:12:38.205') Info: accepted draw
22:02:38 (u'Sjeng', '22:12:38.205') Info: accepted sigint
22:02:38 (u'Sjeng', '22:12:38.205') Info: rejected sigterm
22:02:38 (u'Sjeng', '22:12:38.205') Info: rejected reuse
22:02:38 (u'Sjeng', '22:12:38.205') Info: accepted analyze
22:02:38 (u'Sjeng', '22:12:38.205') Info: accepted myname
22:02:38 (u'Sjeng', '22:12:38.205') Info: accepted variants
22:02:38 (u'Sjeng', '22:12:38.205') Info: accepted colors
22:02:38 (u'Sjeng', '22:12:38.205') Info: rejected ics
22:02:38 (u'Sjeng', '22:12:38.205') Info: rejected name
22:02:38 (u'Sjeng', '22:12:38.205') Info: accepted pause
22:02:38 (u'Sjeng', '22:12:38.205') Info: accepted done
22:02:38 (u'Sjeng', '22:12:38.205') Info: new
22:02:38 (u'Sjeng', '22:12:38.205') Info: post
22:02:38 (u'Sjeng', '22:12:38.205') Info: hard
22:02:38 (u'Sjeng', '22:12:38.205') Info: egtb
22:02:38 (u'Sjeng', '22:12:38.205') Info: level 0 5 0
22:02:38 (u'Sjeng', '22:12:38.205') Debug: Interface does not support a 
required feature...expect trouble.
22:02:38 (u'Sjeng', '22:12:38.205') Debug: Interface does not support a 
required feature...expect trouble.
22:02:38 (u'Sjeng', '22:12:38.205') Debug: Interface does not support a 
required feature...expect trouble.
22:02:38 (u'Sjeng', '22:12:38.205') Debug: Interface does not support a 
required feature...expect trouble.
22:02:38 (u'Sjeng', '22:12:38.205') Debug: Interface does not support a 
required feature...expect trouble.
22:02:38 (u'Sjeng', '22:12:38.205') Debug: tellics set 1 Sjeng 11.2 
(2001-9-28/255)
22:02:38 Default Info: Ignoring tell ics: set 1 Sjeng 11.2 (2001-9-28/255)
22:02:38 Default Debug: GameModel.run: emitting 'game_started' self=<GameModel 
at 40585968 (ply=0, variant=Normal, status=2, reason=35, players=[Alex, Sjeng 
11.2], tags={'Site': u'Lokale Seite', 'Black': 'Sjeng 11.2', 'Time': 
'22:02:00', 'White': 'Alex', 'Round': 1, 'TimeControl': '300+0', 'Month': 12, 
'Result': '*', 'Year': 2013, 'Day': 23, 'Event': u'\xd6rtliches Ereignis'}
board=#Weiß KQkq -
# ♜ ♞ ♝ ♛ ♚ ♝ ♞ ♜ 
# ♟ ♟ ♟ ♟ ♟ ♟ ♟ ♟ 
# . . . . . . . . 
# . . . . . . . . 
# . . . . . . . . 
# . . . . . . . . 
# ♙ ♙ ♙ ♙ ♙ ♙ ♙ ♙ 
# ♖ ♘ ♗ ♕ ♔ ♗ ♘ ♖ 
# )>
22:02:39 Default Debug: GameModel.checkStatus:
22:02:39 Default Debug: GameModel.run: id=40585968, players=[Alex, Sjeng 11.2], 
self.ply=0: updating Alex's time
22:02:39 Default Debug: GameModel.run: id=40585968, players=[Alex, Sjeng 11.2], 
self.ply=0: calling Alex.makeMove()
22:02:39 Default Debug: Human.makeMove: move=None, board1=#Weiß KQkq -
# ♜ ♞ ♝ ♛ ♚ ♝ ♞ ♜ 
# ♟ ♟ ♟ ♟ ♟ ♟ ♟ ♟ 
# . . . . . . . . 
# . . . . . . . . 
# . . . . . . . . 
# . . . . . . . . 
# ♙ ♙ ♙ ♙ ♙ ♙ ♙ ♙ 
# ♖ ♘ ♗ ♕ ♔ ♗ ♘ ♖ 
#  board2=None
22:02:39 Default Debug: GameWidget.setLocked: [Alex, Sjeng 11.2] locked=False
22:02:39 Default Debug: GameWidget.setLocked: [Alex, Sjeng 11.2]: returning

Original issue reported on code.google.com by as67452...@gmail.com on 23 Dec 2013 at 9:25

GoogleCodeExporter commented 9 years ago
Another Log:
.
.
.
22:14:37 Default Debug: GameWidget.setLocked: [Alex, Sjeng 11.2] locked=False
22:14:37 Default Debug: GameWidget.setLocked: [Alex, Sjeng 11.2]: returning
22:16:12 Default Debug: Human.emit_action: self.name=Alex, action=draw offer
22:16:12 Default Debug: GameModel.offerRecieved: offerer=Alex Offer(type="draw 
offer")
22:16:12 Default Debug: GameModel.offerRecieved: doing Sjeng 
11.2.offer(Offer(type="draw offer"))

Original comment by as67452...@gmail.com on 23 Dec 2013 at 9:33

GoogleCodeExporter commented 9 years ago

Original comment by gbtami on 24 Dec 2013 at 4:02

GoogleCodeExporter commented 9 years ago
Try SCID meanwhile, I have similar problems (see issue 822). I play mainly 
internet chess with FICS. You have to read the instructions in the console 
window for using  FICS properly on SCID. They appear right after start, when 
you choose play an internet chess game in the menu.

Original comment by p...@vielfarbich.de on 24 Dec 2013 at 9:23

GoogleCodeExporter commented 9 years ago
See a possible solution in issue #822 !

Original comment by gbtami on 24 Dec 2013 at 11:07

GoogleCodeExporter commented 9 years ago
Works with:

UBUNTU_MENUPROXY= PYTHONPATH=lib pychess

Great! Thanks!

Original comment by as67452...@gmail.com on 25 Dec 2013 at 1:08