Version: unspecified (using KDE 4.5.1) OS: Linux During play the following error occurred: [Failure instance: Traceback: <type 'exceptions.AttributeError'>: 'NoneType' object has no attribute 'name' /usr/share/kde4/apps/kajongg/humanclient.py:498:selectedAnswer /usr/share/kde4/apps/kajongg/humanclient.py:493:selectButton /usr/lib/python2.6/dist-packages/twisted/internet/defer.py:318:callback /usr/lib/python2.6/dist-packages/twisted/internet/defer.py:424:_startRunCallbacks --- <exception caught here> --- /usr/lib/python2.6/dist-packages/twisted/internet/defer.py:441:_runCallbacks /usr/share/kde4/apps/kajongg/humanclient.py:714:answered ] ROBOT 3 E HasNoChoice {'tile': ['B4', 'B4', 'B7', 'B7']} [<Message: OK>] Clicked OK and the following displayed: Unknown error for player Ed Beaudoin: %2 %3 Clicked OK and tiles disappeared. Clicked Explain Scored and displayed: There is no active game. Game 977675181718 Reproducible: Didn't try
The game server is telling you that Robot 3 has to discard a dangerous tile (which could easily help somebody else winning). By claiming "no choice" and by showing all his concealed tiles, Robot 3 can avoid having to pay a penalty for playing dangerous. I made a lot of fixes about "dangerous game" and "no choice" situations for KDE 4.6, and backporting them to the 4.5 branch would be a lot of work. I am quite optimistic that such a bug would not happen with the version in KDE SC 4.6, so please update.
It seems this is not completely fixed. I received similar error on Kajongg 4.7.0 game 273911722150 [Failure instance: Traceback: <type 'exceptions.AttributeError'>: 'NoneType' object has no attribute 'name' /usr/share/apps/kajongg/humanclient.py:524:selectedAnswer /usr/share/apps/kajongg/humanclient.py:519:selectButton /usr/lib/python2.7/site-packages/twisted/internet/defer.py:361:callback /usr/lib/python2.7/site-packages/twisted/internet/defer.py:455:_startRunCallbacks --- <exception caught here> --- /usr/lib/python2.7/site-packages/twisted/internet/defer.py:542:_runCallbacks /usr/share/apps/kajongg/humanclient.py:785:answered ] ROBOT 1 S HasNoChoice {'tile': ['B9', 'Ww', 'C5', 'C5', 'B9', 'B9', 'Db', 'Ww', 'Dr', 'Dg']} [<Message: OK>]
SVN commit 1251564 by wrohdewald: Fix handling 'have no choice' when another player claimed 'no choice', the client crashed BUG: 267849 FIXED-IN: KDE 4.7.2 CCBUG: 267849 M +2 -1 message.py WebSVN link: http://websvn.kde.org/?view=rev&revision=1251564
I made a few more bug fixes for 'no choice' situations, but they are rather cosmetic. See the websvn link above. this is a little bit too late for KDE 4.7.1 to be released tomorrow