Archive
Highlighted

Why do I keep getting a NoSectionError / TypeError in BOTS environment?

Path Finder

Hi there,

I'm trying to set up the Boss of the SOC v1 (BOTS) environment but I keep getting the following error while looking at the questions page in the app. I've followed all the steps in the guide (https://github.com/splunk/SA-ctf_scoreboard) so I'm confused why I keep getting this error.

NoSectionError at "/opt/splunk/lib/python2.7/ConfigParser.py", line 607 : No section: 'ScoreboardController'

 TypeError at "/opt/splunk/lib/python2.7/json/decoder.py", line 364 : expected string or buffer

Does anyone know what might cause this error?

Tags (1)
Highlighted

Re: Why do I keep getting a NoSectionError / TypeError in BOTS environment?

Path Finder

The issue was due to the app having the name SA-ctfscoreboard-master instead of SA-ctfscoreboard, changing that the error was resolved.

I now have the following error even though the ctf_hints was properly imported:

UnboundLocalError at "/opt/splunk/etc/apps/SA-ctf_scoreboard/bin/gethints.py", line 121 : local variable 'ctf_hints' referenced before assignment

Highlighted

Re: Why do I keep getting a NoSectionError / TypeError in BOTS environment?

Path Finder

I am also having the came ctf_hints variable issue.

Hopefully someone can chime and help us both out.

0 Karma
Highlighted

Re: Why do I keep getting a NoSectionError / TypeError in BOTS environment?

New Member

Hi, I'm having the same issue. Any updates?

0 Karma
Highlighted

Re: Why do I keep getting a NoSectionError / TypeError in BOTS environment?

Path Finder

Figured it out, since we had a different default port the python scripts used needed to be adjusted.

View solution in original post

0 Karma