New issue 24 by hello.jay.araujo: error when trying to re-connect (repost)
http://code.google.com/p/sorrows-mudlib/issues/detail?id=24
What steps will reproduce the problem?
1. Login and quit using telnet on win7
2. Wait 60 seconds (or less)
3. Try to re-login
Error stack:
2010-12-22 20:19:56;net;INFO;Telnet disconnection #1 Address=('127.0.0.1',
51227
)
2010-12-22 20:21:08;net;INFO;Telnet connection #3 Address=('127.0.0.1',
51896)
2010-12-22 20:21:08;net;DEBUG;SEND(login)('127.0.0.1', 51896)[255, 253, 31]
2010-12-22 20:21:08;net;DEBUG;SEND(login)('127.0.0.1', 51896)[255, 251, 1]
2010-12-22 20:21:08;net;DEBUG;TERMINAL SIZE [80, 40] (login)('127.0.0.1',
51896)
2010-12-22 20:21:15;net;ERROR;Error dispatching input
Traceback (most recent call last):
File "C:\Users\jay\Projects\mud\svn\mudlib\services\net\connectionTelnet.py",
line 95, in _ManageConnection
self.user.ReceiveInput(input)
File "C:\Users\jay\Projects\mud\svn\mudlib\user.py", line 24, in
ReceiveInput
self.inputstack.ReceiveInput(s)
File "C:\Users\jay\Projects\mud\svn\mudlib\input.py", line 80, in
ReceiveInput
apply(handler.function, (input,))
File "C:\Users\jay\Projects\mud\svn\mudlib\shell.py", line 23, in
ReceiveInput
result = self.ExecuteCommand()
File "C:\Users\jay\Projects\mud\svn\mudlib\shells\login.py", line 115, in
Exec
uteCommand
self.EnterGame()
File "C:\Users\jay\Projects\mud\svn\mudlib\shells\login.py", line 133, in
Ente
rGame
mudlib.shells.GameShell().Setup(self.stack)
File "C:\Users\jay\Projects\mud\svn\mudlib\shells\user.py", line 33, in
Setup
sorrows.world.AddUser(self.user)
File "C:\Users\jay\Projects\mud\svn\games\room -
simple\services\world.py", li
ne 44, in AddUser
raise RuntimeError("User", user.name, "already present")
RuntimeError: ('User', 'jay', 'already present')