master2be1 / pychess

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

Pychess crashes when logging to FICS (sometimes) #374

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Start pychess and Login to FICS
2. Pychess crashes

What is the expected output? What do you see instead?

Does it happen every time?
No, just sometimes, mostly after some problems in FICS in previous run
(like not opening a game for observing, not logging off or so).

What version of the product are you using?
0.10 alpha

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

Please provide any additional information below.
logfile attached

Original issue reported on code.google.com by pe3...@gmail.com on 10 Jan 2009 at 9:02

Attachments:

GoogleCodeExporter commented 9 years ago
Here is another one this time when logging with my account (last one was as a 
guest).
Attaching log from run which was ok. And then the other one when Pychess crashed
after/when logging into FICS.

Original comment by pe3...@gmail.com on 10 Jan 2009 at 9:31

Attachments:

GoogleCodeExporter commented 9 years ago
Should be fixed in 1363. Can't you test it?

Original comment by lobais on 17 Jan 2009 at 12:38

GoogleCodeExporter commented 9 years ago

Original comment by lobais on 9 Feb 2009 at 4:21

GoogleCodeExporter commented 9 years ago
Tried several times with my account and guest account as well and looks very
promising - no crashes when logging in. I think you can close this one.
It actually crashed later (I believe because I immediately start observing a 
game
maybe before everything was fully loaded from FICS).
See attached logfile. This is what was in command line:
petko@petkomp:~/src/pychess-read-only$ PYTHONPATH=~/src/pychess-read-only/lib
~/src/pychess-read-only/pychess
/home/petko/src/pychess-read-only/lib/pychess/System/uistuff.py:368: GtkWarning:
GtkSpinButton: setting an adjustment with non-zero page size is deprecated
  self.glade = gtk.glade.XML(addDataPrefix("glade/%s" % filename))
23:18:45 Default Warning: Chatpanel loaded with no local players
call <function <lambda> at 0xbb43e64>
/call
Exception in thread Thread-44:
Traceback (most recent call last):
  File "/usr/lib/python2.5/threading.py", line 486, in __bootstrap_inner
    self.run()
  File "/home/petko/src/pychess-read-only/lib/pychess/System/GtkWorker.py", line 170,
in run
    self.result = self.func(self)
  File "/home/petko/src/pychess-read-only/lib/pychess/widgets/ionest.py", line 40, in
<lambda>
    workfunc(w, gamemodel, player0tup, player1tup, loaddata))
  File "/home/petko/src/pychess-read-only/lib/pychess/widgets/ionest.py", line 141,
in workfunc
    gamemodel.setPlayers(players)
  File "/home/petko/src/pychess-read-only/lib/pychess/ic/ICGameModel.py", line 50, in
setPlayers
    GameModel.setPlayers (self, players)
  File "/home/petko/src/pychess-read-only/lib/pychess/Utils/GameModel.py", line 74,
in setPlayers
    assert self.status == WAITING_TO_START
AssertionError

Original comment by pe3...@gmail.com on 23 Feb 2009 at 10:25

Attachments:

GoogleCodeExporter commented 9 years ago
Yep, logging in is fine, I tried several more times repeatedly loggin in and 
out with
guest account, playing or observing, everything about it is just fine. Thanks a 
lot
for this one, guys.

Original comment by pe3...@gmail.com on 23 Feb 2009 at 10:32

GoogleCodeExporter commented 9 years ago

Original comment by gbtami on 19 Mar 2009 at 8:09

GoogleCodeExporter commented 9 years ago
Changing to Fixed based on comment 5.

Original comment by mattgatto on 29 Mar 2009 at 8:46