fowode / pychess

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

typing invalid command in FICS Console window causes crash #794

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Open a FICS Console window
2. in the Console window type: "who karimov"

What is the expected output?
Since this is an invalid who command, I expect to see a help message for the 
'who' command like:
fics% who karimov
fics% Command:  who
Purpose:  lists all or a subset of current users on the server
Usage:    who [o][r][f][a][R][U][s][b][w][L][S][A][l][t][v][n][#i#j][B]
Examples: who; who 19; who s; who a; who B; who as; who asA; who a15
fics% 

Did you use PyChess from a repo, tarball, install or hg?
hg

What do you see instead?
  File "/home/gatto/code/hg/pychess/lib/pychess/ic/FICSConnection.py", line 270, in run
    self.client.handleSomeText()
  File "/home/gatto/code/hg/pychess/lib/pychess/ic/VerboseTelnet.py", line 170, in handleSomeText
    id, code, text = line.split(BLOCK_SEPARATOR)
<type 'exceptions.ValueError'> too many values to unpack

Original issue reported on code.google.com by mattgatto on 26 Jul 2013 at 6:59

Attachments:

GoogleCodeExporter commented 9 years ago
This issue was closed by revision e840f8a23362.

Original comment by gbtami on 26 Jul 2013 at 9:24