Eventscript Errors

All other Source.Python topics and issues.
tnarocks
Member
Posts: 56
Joined: Fri Aug 03, 2012 1:35 am

Eventscript Errors

Postby tnarocks » Tue May 23, 2017 1:31 pm

Im getting these errors in my console.log file for eventscripts. And was wondering if someone was able to fix it.

*** EventScripts caught an exception:
Traceback (most recent call last):
File "C:\servers\theadultgungame\cstrike\addons\eventscripts\es.py", line 409, in loadModuleAddon
newaddon = __import__(importname)
File "C:\servers\theadultgungame\cstrike\addons\eventscripts\examples\auth\mani_basic_auth\mani_basic_auth.py", line 143, in <module>
mani_auth = ManiAuthService()
File "C:\servers\theadultgungame\cstrike\addons\eventscripts\examples\auth\mani_basic_auth\mani_basic_auth.py", line 20, in __init__
self.refreshClients()
File "C:\servers\theadultgungame\cstrike\addons\eventscripts\examples\auth\mani_basic_auth\mani_basic_auth.py", line 66, in refreshClients
path = self._convertClientsFile(self.clientspath)
File "C:\servers\theadultgungame\cstrike\addons\eventscripts\examples\auth\mani_basic_auth\mani_basic_auth.py", line 132, in _convertClientsFile
of = open(path, 'rb')
IOError: [Errno 2] No such file or directory: 'C:\\servers\\theadultgungame\\cstrike/cfg/mani_admin_plugin/clients.txt'
Could not open script for addons/eventscripts/examples/auth/mani_basic_auth/es_mani_basic_auth.txt
Error source (console): (no script)
User avatar
Ayuto
Project Leader
Posts: 2193
Joined: Sat Jul 07, 2012 8:17 am
Location: Germany

Re: Eventscript Errors

Postby Ayuto » Tue May 23, 2017 2:18 pm

You are probably loading mani_basic_auth in your autoexec.cfg or server.cfg, but you don't have mani installed. Thus, there is no clients.txt. Take a look at your config files and check if there is the following line somewhere:

Code: Select all

es_load examples/auth/mani_basic_auth
If yes, comment out that line.
tnarocks
Member
Posts: 56
Joined: Fri Aug 03, 2012 1:35 am

Re: Eventscript Errors

Postby tnarocks » Tue May 23, 2017 2:40 pm

Ok found it in my autoexec.bat file. Thanks for the Help

Return to “General Discussion”

Who is online

Users browsing this forum: No registered users and 31 guests