evennia / evennia

Python MUD/MUX/MUSH/MU* development system
http://www.evennia.com
BSD 3-Clause "New" or "Revised" License
1.81k stars 697 forks source link

Using @quit leads to an AttributeError if you logged in more then once #145

Closed Griatch closed 10 years ago

Griatch commented 10 years ago

From mar...@heavy.ch on March 18, 2011 13:54:01

A) What steps will reproduce the problem? 1. login 2x from different browsers with the same user (in my case the superuser)

  1. user @quit in one browser/user
  2. see a traceback appears on the other still logged in user B) What is the expected output? What do you see instead (tracebacks, error messages)? Traceback (most recent call last): File "/home/evennia/mud/evennia/src/commands/cmdhandler.py", line 394, in cmdhandler cmd.func() File "/home/evennia/mud/evennia/src/commands/default/general.py", line 336, in func session.session_disconnect() File "/home/evennia/mud/evennia/src/server/session.py", line 153, in session_disconnect self.at_disconnect() File "/home/evennia/mud/evennia/src/server/webclient.py", line 251, in at_disconnect char.at_disconnect() File "/home/evennia/mud/evennia/game/gamesrc/objects/baseobjects.py", line 116, in at_disconnect self.location.msg_contents("%s has left the game." % self.name) AttributeError: 'NoneType' object has no attribute 'msg_contents'

Above traceback is from an untrapped error. Please file a bug report. C) What version/svn revision of Evennia are you using? On what operating system? Give as much information as possible to make it easier for developers to recreate the problem. latest... r1367 D) Please provide any additional information/suggestions below. I guess the error exist always if you log out with @quit, but with only one user you don't get the error message...

Original issue: http://code.google.com/p/evennia/issues/detail?id=145

Griatch commented 10 years ago

From griatch on March 19, 2011 15:17:09

This issue was closed by revision r1368 .

Status: Fixed