Jump to content

Recommended Posts

WWBiker_
Posted

This just started out of the blue and stats won't collect any more. Help please.

 

[2025.03.02 17:51:04] unexpected error
Traceback (most recent call last):
  File "C:\il2_stats\src\stats\management\commands\stats_whore.py", line 16, in handle
    stats_whore.main()
  File "C:\il2_stats\src\stats\stats_whore.py", line 62, in main
    stats_whore(m_report_file=m_report_file)
  File "C:\Users\Administrator\AppData\Local\Programs\Python\Python35\lib\contextlib.py", line 30, in inner
    return func(*args, **kwds)
  File "C:\il2_stats\src\stats\stats_whore.py", line 158, in stats_whore
    m_report.processing(files=m_report_files)
  File "C:\il2_stats\src\mission_report\report.py", line 117, in processing
    self.events_handlers[atype_id](**data)
  File "C:\il2_stats\src\mission_report\report.py", line 337, in event_game_object
    country_id=country_id, coal_id=coal_id, parent_id=parent_id)
  File "C:\il2_stats\src\mission_report\report.py", line 446, in __init__
    obj = mission.objects[self.log_name]
KeyError: 'sopwith strutter b'
[2025.03.02 17:51:04] Lock 2202172057528 released on C:\il2_stats\file.lock
Traceback (most recent call last):
  File "manage.py", line 7, in <module>
    execute_from_command_line(sys.argv)
  File "C:\il2_stats\.venv\lib\site-packages\django\core\management\__init__.py", line 364, in execute_from_command_line
    utility.execute()
  File "C:\il2_stats\.venv\lib\site-packages\django\core\management\__init__.py", line 356, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File "C:\il2_stats\.venv\lib\site-packages\django\core\management\base.py", line 283, in run_from_argv
    self.execute(*args, **cmd_options)
  File "C:\il2_stats\.venv\lib\site-packages\django\core\management\base.py", line 330, in execute
    output = self.handle(*args, **options)
  File "C:\il2_stats\src\stats\management\commands\stats_whore.py", line 16, in handle
    stats_whore.main()
  File "C:\il2_stats\src\stats\stats_whore.py", line 62, in main
    stats_whore(m_report_file=m_report_file)
  File "C:\Users\Administrator\AppData\Local\Programs\Python\Python35\lib\contextlib.py", line 30, in inner
    return func(*args, **kwds)
  File "C:\il2_stats\src\stats\stats_whore.py", line 158, in stats_whore
    m_report.processing(files=m_report_files)
  File "C:\il2_stats\src\mission_report\report.py", line 117, in processing
    self.events_handlers[atype_id](**data)
  File "C:\il2_stats\src\mission_report\report.py", line 337, in event_game_object
    country_id=country_id, coal_id=coal_id, parent_id=parent_id)
  File "C:\il2_stats\src\mission_report\report.py", line 446, in __init__
    obj = mission.objects[self.log_name]
KeyError: 'sopwith strutter b'

C:\il2_stats\src>pause
Press any key to continue . . .

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...