when i exec tremstats.py
i get this error
Python 2.7.2 (default, Jun 12 2011, 15:08:59) [MSC v.1500 32 bit (Intel)] on win32
Type "copyright", "credits" or "license()" for more information.
>>> ================================ RESTART ================================
>>>
Traceback (most recent call last):
File "C:\Users\root\AppData\Roaming\Tremulous\starburst\tremstats.py", line 206, in <module>
app.Main()
File "C:\Users\root\AppData\Roaming\Tremulous\starburst\tremstats.py", line 112, 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 "C:\Users\root\AppData\Roaming\Tremulous\starburst\internals\log_parse.py", line 56, in Main
self.Log_read()
File "C:\Users\root\AppData\Roaming\Tremulous\starburst\internals\log_parse.py", line 104, in Log_read
sys.exit("Log does not exist.")
SystemExit: Log does not exist.
>>>
as a side note...tremstats shows the live statistics on my website..but it does not log player records..because it cant read the games.log file..when i clearly pointed it to the games.log file within the config.py file..
here is what mine looks like..
# -*- coding: utf-8 -*-
CONFIG = {}
# Hostname of you MySQL-server
CONFIG['MYSQL_HOSTNAME'] = ''
# Username
CONFIG['MYSQL_USERNAME'] = ''
# Password
CONFIG['MYSQL_PASSWORD'] = ''
# Database
CONFIG['MYSQL_DATABASE'] = ''
# Log file (do not work with '~', give absolute path)
# In Windows, paths should be set as follows:
# C:\\path\\to\\your\\games.log
CONFIG['GAMES_LOG'] = 'C:\Users\root\AppData\Roaming\Tremulous\starburst\games.log'
# Directory which contains the archived game logs. Must be absolute.
# You may either give the path or None, to use the default directory.
CONFIG['ARCH_DIR'] = None
# Directory which contains the PK3 files. Must be absolute.
CONFIG['PK3_DIR'] = 'C:\Users\root\Desktop\starburst\base'
# Name/Partname of unnamed nick (case sensitive)
# Lakitu7's patch have these cvars:
# set g_newbieNumbering 1
# set g_newbieNamePrefix "UnnamedPlayer #"
# eg: UnnamedPlayer #0 ~ UnnamedPlayer #1 ~ etc...
# Don't change the default value if you don't have the Lakitu7's patch set
CONFIG['UNNAMED_PLAYER'] = 'UnnamedPlayer'
I have removed the mysql info on purpose so that way i am not sharing my precious info..
lolz..
any help would be great....