Action Resolution
 
 
ValueError
Python 2.3: /usr/local/bin/python
Thu Mar 17 04:50:47 2005

A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.

 /home/cpierog/public_html/qmafia/play.cgi
   60 
   61 # Do all the game computations
   62 game.play()
   63 save_game(game)
   64                 
game = <game.Game instance>, game.play = <bound method Game.play of <game.Game instance>>

 /home/cpierog/public_html/qmafia/game.py in play(self=<game.Game instance>)
   68                     self.dusk() # day->night effects
   69             else:
   70                 self.dawn() # night->day effects
   71         else:
   72             return
self = <game.Game instance>, self.dawn = <bound method Game.dawn of <game.Game instance>>

 /home/cpierog/public_html/qmafia/game.py in dawn(self=<game.Game instance>)
  101 
  102         for player in self.players:
  103             player.calc_pointing(player_choices)
  104             
  105         self.swap_day_status()
player = Player Cal, player.calc_pointing = <bound method Player.calc_pointing of Player Cal>, player_choices = {'Cal': 'Lori', 'Conor': 'Katy', 'Eli': 'Katy', 'Jules W': 'Will', 'Katy': 'Jules W', 'Liz Meister': 'Jules W', 'Lori': 'Eli', 'Will': 'Will'}

 /home/cpierog/public_html/qmafia/player.py in calc_pointing(self=Player Cal, player_choices_orig={'Cal': 'Lori', 'Conor': 'Katy', 'Eli': 'Katy', 'Jules W': 'Will', 'Katy': 'Jules W', 'Liz Meister': 'Jules W', 'Lori': 'Eli', 'Will': 'Will'})
  213                     self.record.tonight().priest_exorcises[priest.name] = \
  214                          (target.name, target.is_undead())
  215                     target.exorcise()
  216         
  217 
target = Peon Eli, target.exorcise = <bound method Peon.exorcise of Peon Eli>

 /home/cpierog/public_html/qmafia/player.py in exorcise(self=Peon Eli)
   90         if not self.is_undead():
   91             raise ValueError, 'Tried to exorcise non-zombie "%s"' % self.name
   92         self.master.zombies.remove(self)
   93         self.master = None
   94         self.set_dead()
self = Peon Eli, self.master = Peon Liz Meister, self.master.zombies = [], self.master.zombies.remove = <built-in method remove of list object>

ValueError: list.remove(x): x not in list
      args = ('list.remove(x): x not in list',)