Jnrolfe / pychess

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

Pychess freezes when click on "Show Chat" button #376

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Log on and connect to FICS
2. On FICS windows clic "Show Chat" button.
3. You see pychess freezes

What is the expected output?

Show chat :)

What do you see instead?

It freezes

Does it happen every time?

Yes Sir.

What version of the product are you using?

0.10alpha-0~getdeb1

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

An installed version...

I attach latest pychess logfile.
"

Original issue reported on code.google.com by seb...@gmail.com on 19 Jan 2009 at 12:07

Attachments:

GoogleCodeExporter commented 8 years ago
Thanks for you patience to the questions :)

Can you try grabbing the svn version from
http://code.google.com/p/pychess/source/checkout and see if that one works 
better?

Original comment by lobais on 21 Jan 2009 at 1:46

GoogleCodeExporter commented 8 years ago
Hi lobais, the problem remains, I attach the log file.

Thanks in advance.

Original comment by seb...@gmail.com on 24 Jan 2009 at 12:49

Attachments:

GoogleCodeExporter commented 8 years ago
Does it also happen if you log in as a Guest?
What processor and distribution do you run on ?

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

GoogleCodeExporter commented 8 years ago

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

GoogleCodeExporter commented 8 years ago

Original comment by gbtami on 15 Oct 2011 at 9:15

GoogleCodeExporter commented 8 years ago
hello
same for me
debian squeeze AMD64
pychess intalled with apt-get
i can connect and show chat with guest account but with my real account, when i 
want to show chat, it freezes

if u need anything...

Original comment by ar...@wanadoo.fr on 1 Nov 2011 at 4:21

GoogleCodeExporter commented 8 years ago
Just uploaded a new 0.10.1 beta2 .deb made on Squeeze. Can you try with it 
please?
http://code.google.com/p/pychess/downloads/list

Original comment by gbtami on 2 Nov 2011 at 11:41

GoogleCodeExporter commented 8 years ago
hi,

ok got your deb and installed it with
dpkg -i command
installed but some errors about dependencies
about pyton-glade2
about python-gst0.10
so installed the both AFTER dpkg your .deb
reboot the computer
new entry into debian menu (game > pychess)
logged into guest, ok, chat console ok
logged into my account, ok, chat console, no, always the freeze.

note
as in guest or my account, i need to wait for around 4-5 seconds and pychess 
connects.
i mean, i fill in the first window (guest or my account), immediatly i see the 
main window but no informations into, need to wait 4 seconds and after i can 
see games, players, graph seek, etc, etc (i don't know if this is important for 
u).

can learn how to use svn in order to get the svn version (only if u tell me yes)

waiting for news
areuh

Original comment by ar...@wanadoo.fr on 3 Nov 2011 at 2:11

GoogleCodeExporter commented 8 years ago
Areuh, thx. for the feedback! Unfortunately I can't reproduce the freeze on a 
clean Squeeze install in Virtualbox. Another difference is my Squeeze is 32bit, 
not 64. The beta2 is the same as hg tip at this moment, so we can get no extra 
from a clean checkout (we use mercurial).

About the note. We had to wait for loading FICS news and rating info into the 
dialog to avoid another freeze bug. I hope we can eliminate this inconvenience 
in the future versions.

Original comment by gbtami on 3 Nov 2011 at 5:09

GoogleCodeExporter commented 8 years ago
ok will wait next versions but a question.
Did u ask into FICS's channel85 (linux channel) in order to know if we are many 
to know this issue or just me... anyway i'll ask.

thx
areuh

Original comment by ar...@wanadoo.fr on 3 Nov 2011 at 7:24

GoogleCodeExporter commented 8 years ago
No, I didn't.

Original comment by gbtami on 3 Nov 2011 at 7:59

GoogleCodeExporter commented 8 years ago
I thought we "fixed" this with issue 677. @areuh: Are you sure you are using 
the right version of pychess? Please double-check by checking the version 
("Help > About") after you start pychess. You might want to temporarily 
uninstall the pychess that you installed through your distribution, and then 
run the latest version you downloaded from the pychess website or from hg.

Original comment by mattgatto on 5 Nov 2011 at 9:38

GoogleCodeExporter commented 8 years ago
hi,

ok new player just tried to run pychess under his nickname and he has the same 
problem.

areuh

@mattgatto: will try next week, not home for these days.
i'll come back, thx

Original comment by ar...@wanadoo.fr on 12 Nov 2011 at 3:55

GoogleCodeExporter commented 8 years ago
hi,

ok i tried 4 versions
2 .deb
2 .tar.gz

here the result
--------------------------------------------------------------------------------
---
# dpkg -i pychess_0.10-1_all.deb
into connection window (Welcome - PyChess): about: PyChess Staunton 0.10
guest: show chat console: ok
areuh: show chat console: freeze
# dpkg --purge pychess_0.10-1_all.deb
--------------------------------------------------------------------------------
---
# dpkg -i pychess_0.10.1beta2-1_all.deb
into connection window (Welcome - PyChess): about: PyChess Staunton 0.10.1beta2
guest: show chat console: ok
areuh: show chat console: freeze
# dpkg --purge pychess_0.10.1beta2-1_all.deb
--------------------------------------------------------------------------------
---
pychess-0.10.tar.gz
untar
# cd pychess pychess-0.10
# python setup.py install
new directories (build)
# cd build
# cd scripts-2.6
# python pychess

into connection window (Welcome - PyChess): about: PyChess Staunton 0.10
guest: show chat console: ok
areuh: show chat console: freeze
--------------------------------------------------------------------------------
---
pychess-0.10.1beta2.tar.gz
untar
# cd pychess-0.10.1beta2
# python setup.py install
new directories (build)
# cd build
# cd scripts-2.6
# python pychess

into connection window (Welcome - PyChess): about: PyChess Staunton 0.10.1beta2
guest: show chat console: ok
areuh: show chat console: freeze
--------------------------------------------------------------------------------
---

bye,
areuh

Original comment by ar...@wanadoo.fr on 17 Nov 2011 at 6:06

GoogleCodeExporter commented 8 years ago
I can't reproduce. Did you uninstall the distribution version of pychess you 
installed through apt-get first, before trying the latest version from the 
pychess website?

Original comment by mattgatto on 17 Nov 2011 at 10:04

GoogleCodeExporter commented 8 years ago

Original comment by mattgatto on 17 Nov 2011 at 10:05

GoogleCodeExporter commented 8 years ago
not sure, but would say yes.
anyway, i'll make a new squeeze install and will tell u about these 4 versions.

Original comment by ar...@wanadoo.fr on 18 Nov 2011 at 4:06

GoogleCodeExporter commented 8 years ago
new install squeeze from
debian-6.0.2.1-amd64-cd1.iso
no apt-get dist-upgrade
----------------------------------------------------------------------------
# apt-get install 
pyton-glade2
python-gst0.10
----------------------------------------------------------------------------
reboot
----------------------------------------------------------------------------
pychess versions
01 - pychess_0.10-1_all.deb
02 - pychess_0.10.1beta2-1_all.deb
03 - pychess-0.10.tar.gz
04 - pychess-0.10.1beta2.tar.gz
----------------------------------------------------------------------------
# dpkg -i pychess_0.10-1_all.deb
dependency problem with python-rsvg
# apt-get install python-rsvg

Applications -> games -> pychess
pychess does not run
reboot

Applications -> games -> pychess
a flash window appeared, but pychess did not run
Applications -> games -> pychess (1 more time), pychess ran ok

into connection window (Welcome - PyChess): about: PyChess Staunton 0.10
guest: show chat console: ok
areuh: show chat console: freeze
# dpkg --purge pychess
----------------------------------------------------------------------------
# dpkg -i pychess_0.10.1beta2-1_all.deb
into connection window (Welcome - PyChess): about: PyChess Staunton 0.10.1beta2

Applications -> games -> pychess, pychess ran ok with first attempt

guest: show chat console: ok
areuh: show chat console: freeze
# dpkg --purge pychess
----------------------------------------------------------------------------
pychess-0.10.tar.gz
untar
# cd pychess pychess-0.10
# python setup.py install
new directories (build)
# cd build
# cd scripts-2.6
# python pychess

into connection window (Welcome - PyChess): about: PyChess Staunton 0.10
guest: show chat console: ok
areuh: show chat console: freeze

close pychess but 
# ps -A show me a python task
# killall python has no effect

reboot
no more python task

QUESTION:
i always have
Applications -> games -> pychess, is it normal?

----------------------------------------------------------------------------
pychess-0.10.1beta2.tar.gz
untar
# cd pychess-0.10.1beta2
# python setup.py install
new directories (build)
# cd build
# cd scripts-2.6
# python pychess

into connection window (Welcome - PyChess): about: PyChess Staunton 0.10.1beta2
guest: show chat console: ok

close pychess but 
# ps -A show me a python task
# killall python has no effect

reboot
no more python task

areuh: show chat console: freeze
----------------------------------------------------------------------------

ok
sorry, but english is not my language.
could not find a log file as said into first topic
how can i uninstall pychess (with applications -> games too)
if u need other informations. tell me.
waiting for news.

Original comment by ar...@wanadoo.fr on 23 Nov 2011 at 6:44

GoogleCodeExporter commented 8 years ago
I see what's happening: If one's 'Lang' variable on FICS is set to something 
other than 'English', then the output of the FICS command 'channel_list' comes 
in a different language than English, and the regex matching doesn't work. The 
attached patch should fix the problem.

It doesn't seem like pychess changes the 'Lang' variable on FICS, so I would 
guess that people experiencing this problem used some other FICS client that 
changed 'Lang' before having this particular problem with pychess.

Original comment by mattgatto on 18 Dec 2011 at 2:55

Attachments:

GoogleCodeExporter commented 8 years ago
Confirmed.
1. First I set lang to Spanish in Jin applet
2. Started PyChess without this patch
3. Clicked on Chat button -> freeze
4. Applied the patch
5. No freeze with Chat button

Really nice catch, thx. Matt :)

Original comment by gbtami on 18 Dec 2011 at 8:13

GoogleCodeExporter commented 8 years ago
Btw. have you asked them (FICS) to fix the docs on v_language?

Original comment by gbtami on 18 Dec 2011 at 8:25

GoogleCodeExporter commented 8 years ago
Fixed in revision 8deb06721911.

Original comment by mattgatto on 19 Dec 2011 at 12:40

GoogleCodeExporter commented 8 years ago
gbtami: Fixed to say what? 
http://www.freechess.org/Help/HelpFiles/v_language.html seems to be correct: 
'set Lang Spanish' and 'set language Spanish' both seem to work

Original comment by mattgatto on 19 Dec 2011 at 12:45

GoogleCodeExporter commented 8 years ago
I mean they doesn't mention that lang setting affects not only help but 
channel_list command too.

Original comment by gbtami on 19 Dec 2011 at 7:29

GoogleCodeExporter commented 8 years ago
I suppose it might be worth a try. So much of their documentation though is out 
of date or nonexistent, I'm not sure it would make much of a difference.

Original comment by mattgatto on 19 Dec 2011 at 1:51