Topic: "Next Bages Screen not working

After you log in and click the "Next Badges" button you get this page of error.  It has been this way for about a month.

MOD_PYTHON ERROR

ProcessId:      2894
Interpreter:    'signature.statseb.fr'

ServerName:     'signature.statseb.fr'
DocumentRoot:   '/web/sebastien/Stats_users/html'

URI:            '/next_badges.py'
Location:       None
Directory:      '/web/sebastien/Stats_users/html/'
Filename:       '/web/sebastien/Stats_users/html/next_badges.py'
PathInfo:       ''

Phase:          'PythonHandler'
Handler:        'mod_python.publisher'

Traceback (most recent call last):

  File "/usr/lib/python2.7/dist-packages/mod_python/importer.py", line 1537, in HandlerDispatch
    default=default_handler, arg=req, silent=hlist.silent)

  File "/usr/lib/python2.7/dist-packages/mod_python/importer.py", line 1229, in _process_target
    result = _execute_target(config, req, object, arg)

  File "/usr/lib/python2.7/dist-packages/mod_python/importer.py", line 1128, in _execute_target
    result = object(arg)

  File "/usr/lib/python2.7/dist-packages/mod_python/publisher.py", line 213, in handler
    published = publish_object(req, object)

  File "/usr/lib/python2.7/dist-packages/mod_python/publisher.py", line 425, in publish_object
    return publish_object(req,util.apply_fs_data(object, req.form, req=req))

  File "/usr/lib/python2.7/dist-packages/mod_python/util.py", line 554, in apply_fs_data
    return object(**args)

  File "/web/sebastien/Stats_users/html/next_badges.py", line 1190, in index
    step=seuil[i]-total

IndexError: list index out of range


MODULE CACHE DETAILS

Accessed:       Fri May  5 09:28:53 2023
Generation:     2

_mp_b0806b6c9e1ad12476d1f082bc16ac90 {
  FileName:     '/web/sebastien/Stats_users/html/next_badges.py'
  Instance:     1 [IMPORT]
  Generation:   3
  Modified:     Sat Dec 31 14:08:50 2022
  Imported:     Fri May  5 09:28:53 2023
}