Page 1 of 1

circles5h lockup

Posted: Thu Oct 25, 2007 10:00 pm
by jloehrlein
I am having trouble getting this game to import. This is on WinXP.

I've tried removing my user data. It goes through importing 15 turns of data for which I see the progress bar after which the game bolds on the list. However the bottom status bar still says "querying data" and no messages are listed (I have over 126 for the game).

I can bring up another game, this causes circles5h to unbold and go blank.

Exiting the game and restarting tells me the process is locked. rsw_client.exe is on the task list consuming 103,308K

Posted: Thu Oct 25, 2007 10:02 pm
by jloehrlein
My client log is over 6,000k

it repeats this message over and over:

Traceback (most recent call last):
File "rsw\client\RswClient.pyc", line 787, in __idleCallback
File "rsw\client\Messenger.pyc", line 87, in <lambda>
File "rsw\client\Messenger.pyc", line 123, in send
File "rsw\client\Messenger.pyc", line 137, in __sendMessageAndArgs
File "rsw\client\RswClient.pyc", line 751, in __gameImported
File "rsw\client\RswClient.pyc", line 548, in fillGameList
File "rsw\client\ListTable.pyc", line 140, in setRows
File "rsw\client\ListTable.pyc", line 186, in __doAddRow
File "rsw\client\ListColumn.pyc", line 58, in setItemData
File "rsw\client\GameList.pyc", line 20, in <lambda>
File "rsw\client\ClientGame.pyc", line 253, in formatNumMessages
File "rsw\client\ClientGame.pyc", line 194, in getNumMessages
File "rsw\client\ClientGame.pyc", line 172, in readGameMessages
File "rsw\core\GameBase.pyc", line 211, in readGameMessages
AttributeError: ClientGame instance has no attribute 'gameDb'

Posted: Thu Oct 25, 2007 10:03 pm
by jloehrlein
right before that it lists these messages:

Traceback (most recent call last):
File "rsw\client\RswClient.pyc", line 784, in __idleCallback
File "rsw\client\ThreadedTasker.pyc", line 110, in poll
File "rsw\client\ThreadedTasker.pyc", line 26, in done
File "rsw\client\RswClient.pyc", line 853, in <lambda>
File "rsw\client\RswClient.pyc", line 861, in __requestDone
File "rsw\client\ClientGame.pyc", line 1301, in <lambda>
File "rsw\client\ClientGame.pyc", line 1501, in __gotTurn
File "rsw\client\ClientGame.pyc", line 722, in importXml
File "rsw\client\ClientGame.pyc", line 406, in validateOrders
File "rsw\core\Game.pyc", line 676, in validateOrders
File "rsw\client\ClientGame.pyc", line 77, in makeDeepCopy
File "rsw\core\DatabaseObject.pyc", line 173, in makeDeepCopy
KeyError: 35611192
Traceback (most recent call last):
File "rsw\client\Frame.pyc", line 112, in __windowActivated
File "rsw\client\RswClient.pyc", line 816, in windowActivated
File "rsw\client\RswClient.pyc", line 841, in refresh
File "rsw\client\RswClient.pyc", line 548, in fillGameList
File "rsw\client\ListTable.pyc", line 133, in setRows
File "rsw\client\ListTable.pyc", line 173, in refreshData
File "rsw\client\ListTable.pyc", line 154, in refreshColumnData
File "rsw\client\ListColumn.pyc", line 58, in setItemData
File "rsw\client\GameList.pyc", line 20, in <lambda>
File "rsw\client\ClientGame.pyc", line 253, in formatNumMessages
File "rsw\client\ClientGame.pyc", line 194, in getNumMessages
File "rsw\client\ClientGame.pyc", line 172, in readGameMessages
File "rsw\core\GameBase.pyc", line 211, in readGameMessages
AttributeError: ClientGame instance has no attribute 'gameDb'
Traceback (most recent call last):
File "rsw\client\RswClient.pyc", line 784, in __idleCallback
File "rsw\client\ThreadedTasker.pyc", line 110, in poll
File "rsw\client\ThreadedTasker.pyc", line 26, in done
File "rsw\client\RswClient.pyc", line 853, in <lambda>
File "rsw\client\RswClient.pyc", line 861, in __requestDone
File "rsw\client\ClientGame.pyc", line 1301, in <lambda>
File "rsw\client\ClientGame.pyc", line 1534, in __gotTurn
File "rsw\client\RswClient.pyc", line 691, in <lambda>
File "rsw\client\RswClient.pyc", line 207, in releaseGame
File "rsw\client\RswClient.pyc", line 237, in closeGame
File "rsw\client\RswClient.pyc", line 305, in __closeGameHandle
File "rsw\client\RswClient.pyc", line 548, in fillGameList
File "rsw\client\ListTable.pyc", line 140, in setRows
File "rsw\client\ListTable.pyc", line 186, in __doAddRow
File "rsw\client\ListColumn.pyc", line 58, in setItemData
File "rsw\client\GameList.pyc", line 20, in <lambda>
File "rsw\client\ClientGame.pyc", line 253, in formatNumMessages
File "rsw\client\ClientGame.pyc", line 194, in getNumMessages
File "rsw\client\ClientGame.pyc", line 172, in readGameMessages
File "rsw\core\GameBase.pyc", line 211, in readGameMessages
AttributeError: ClientGame instance has no attribute 'gameDb'

Posted: Fri Oct 26, 2007 7:12 am
by drwr
Yikes! I haven't been able to reproduce this yet, but it does appear to be failing to make an in-memory copy of the game for some reason (and then completely going bonkers because of that initial failure).

Making an in-memory game copy might require a fair amount of RAM--is this machine extremely RAM-limited?

I can definitely fix the bonkers part--it shouldn't just lock up if it fails to make an in-memory copy of the game--and I've put some more conservative code around the copy part, so that it will try writing the game to a temporary file and reading it again if it can't make the in-memory copy the usual way.

Please try this temporary version and let me know if it solves the problem or not:
http://www.ddrose.com/~drose/rswclient-0.94.2-win32.exe

David

Posted: Mon Oct 29, 2007 9:32 pm
by Guest
yep just tried it, seems like it helps