Author Topic: Tremstats 0.6.0 error.  (Read 1905 times)

Snake

  • Posts: 541
  • Turrets: +43/-110
    • IdeaShock
Tremstats 0.6.0 error.
« on: November 12, 2009, 12:55:52 am »
Hello, I have been trying to install Tremstats 0.6.0 on my server which i got from here:

http://freshmeat.net/projects/tremstats/

I setted up everything and everything seems fine, but when i run the tremstats.py, I get this error:

Code: [Select]
user@trem:~/tremstats$ ./tremstats.py
/var/lib/python-support/python2.6/MySQLdb/__init__.py:34: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
Checking temporary logfile ...
Parsing logfile ...
Traceback (most recent call last):                              | ETA:  --:--:--
  File "./tremstats.py", line 205, in <module>
    app.Main()
  File "./tremstats.py", line 111, in Main
    parser.Main(self.dbc, self.Check_map_in_database, self.Add_player_to_update, self.games_log, self.static_log, self.archive_log, self.archive_dir)
  File "/home/user/tremstats/internals/log_parse.py", line 53, in Main
    self.Log_read()
  File "/home/user/tremstats/internals/log_parse.py", line 196, in Log_read
    self.Log_parse_line(line)
  File "/home/user/tremstats/internals/log_parse.py", line 262, in Log_parse_line
    self.Log_ClientTeamClass(gametime, line)
  File "/home/user/tremstats/internals/log_parse.py", line 449, in Log_ClientTeamClass
    self.players[player_id]['team']  = player_team
KeyError: '11'

I'm not sure what's going wrong, but I have searched for newer versions or fixed and haven't gotten anything. It would be nice if I could get any help about this error and/or how to fix it.

Thanks :)
.

Snake

  • Posts: 541
  • Turrets: +43/-110
    • IdeaShock
Re: Tremstats 0.6.0 error.
« Reply #1 on: November 18, 2009, 10:44:07 am »
Hey, Any help with this? :(
.

Kiwi

  • Posts: 859
  • Turrets: +29/-9
Re: Tremstats 0.6.0 error.
« Reply #2 on: November 19, 2009, 02:38:49 am »
Sorry, but I've never used tremstats although I do have a server.
So, I'm not sure how much help I can be, but it couldn't hurt to have a look at http://tremulous.net/forum/index.php?topic=6149.0 and see if it helps at all.