Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SpunkyBot does not start on a server which is running with more than 10 bots #34

Closed
alexanderkress opened this issue Oct 22, 2016 · 0 comments

Comments

Projects
None yet
1 participant
@alexanderkress
Copy link
Member

commented Oct 22, 2016

  • UrT Server 4.3.1 in TDM mode with more than 10 bots
  • try to start Spunky Bot

Following exception occurs:

Traceback (most recent call last):
  File "spunky.py", line 3179, in <module>
    LogParser(os.path.join(HOME, 'conf', 'settings.conf'))
  File "spunky.py", line 204, in __init__
    self.read_log()
  File "spunky.py", line 336, in read_log
    self.game.go_live()
  File "spunky.py", line 3060, in go_live
    self.maplist = filter(None, self.rcon_handle.get_mapcycle_path())
  File "/opt/spunkybot/lib/rcon.py", line 119, in get_mapcycle_path
    mc_home_path = os.path.join(fs_homepath, fs_game, mapcycle_file)# if fs_homepath else ""
  File "/usr/lib/python2.7/posixpath.py", line 68, in join
    elif path == '' or path.endswith('/'):
AttributeError: 'NoneType' object has no attribute 'endswith'

@alexanderkress alexanderkress added the bug label Oct 22, 2016

@alexanderkress alexanderkress added this to the Release 1.7.1 milestone Oct 22, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.