=FB=Vaal 135 Posted September 23, 2018 Try to delete the line in the file settings.py https://docs.djangoproject.com/en/1.11/ref/clickjacking/#setting-x-frame-options-for-all-responses Share this post Link to post Share on other sites
LFDM-Carleo 14 Posted September 23, 2018 (edited) Great is working perfectly Thanks you Edited September 23, 2018 by OBT-Carleo Share this post Link to post Share on other sites
LFDM-Carleo 14 Posted September 27, 2018 hello, I have seen some statistics main pages with the online players or the remaining time on mission. How can i activate those options on my website Share this post Link to post Share on other sites
SAS_Storebror 1168 Posted September 27, 2018 28 minutes ago, OBT-Carleo said: remaining time on mission How would il2stats know? Mike Share this post Link to post Share on other sites
LFDM-Carleo 14 Posted September 27, 2018 here on the wing of liberty stats http://il2stat.aviaskins.com:8008/en/ I don't know how, but they do it. I don't know if it is il2stats option or a pure wingofliberty production. So i ask. Share this post Link to post Share on other sites
=FB=Vaal 135 Posted September 27, 2018 The current mission and time is their own modification. Share this post Link to post Share on other sites
LFDM-Carleo 14 Posted September 27, 2018 (edited) Ok thanks to you vaal I m going to ask Wing of liberty mastermind Edited September 27, 2018 by OBT-Carleo Share this post Link to post Share on other sites
Sketch 1077 Posted September 27, 2018 What would you write in the py code to say "reset stats on death"? I thought using vlife.ak_total would reset each time the player died.... Help? Share this post Link to post Share on other sites
=FB=Vaal 135 Posted September 27, 2018 After death, a new vlife is created. You can use the relive parameter, it will become 1 if vlife is over. 1 Share this post Link to post Share on other sites
Sketch 1077 Posted September 27, 2018 (edited) I'll give this a go, and report back. Thanks again @=FB=Vaal. So something like this....? # 15 missions completed in one life def german_cross_in_gold(vlife): # check to see if the player has died... if vlife.relive > 1: # player hasn't died yet, so check to see if they earned medal, if so give them medal. return vlife.sorties_total >= 15 else: #player has died (relive == 1 || relive < 1), so remove earned medal. return False Edited September 28, 2018 by [TWB]Sketch Added logic as I understand it. Share this post Link to post Share on other sites
SAS_Storebror 1168 Posted September 30, 2018 Looks like with the 3.006 patch we need an update to objects.csv again. unexpected error Traceback (most recent call last): File "C:\Python3\virtualenvs\il2stat\il2_stats\src\stats\management\commands\stats_whore.py", line 16, in handle stats_whore.main() File "C:\Python3\virtualenvs\il2stat\il2_stats\src\stats\stats_whore.py", line 63, in main stats_whore(m_report_file=m_report_file) File "C:\Python3\lib\contextlib.py", line 52, in inner return func(*args, **kwds) File "C:\Python3\virtualenvs\il2stat\il2_stats\src\stats\stats_whore.py", line 162, in stats_whore m_report.processing(files=m_report_files) File "C:\Python3\virtualenvs\il2stat\il2_stats\src\mission_report\report.py", line 109, in processing self.events_handlers[atype_id](**data) File "C:\Python3\virtualenvs\il2stat\il2_stats\src\mission_report\report.py", line 233, in event_hit ammo = self.objects[ammo.lower()]['cls'] KeyError: 'rkt_ger_pb1_m8' Inserting rocket,RKT_GER_PB1_M8,0,, after rocket,RKT_GER_PB1,0,, into objects.csv fixed it for me temporarily, but I don't know whether more changes are necessary. Mike Share this post Link to post Share on other sites
ZG15_dasSofa 28 Posted September 30, 2018 And the FW 190 1000KG Bomb brings the Statsworking also to an End. Share this post Link to post Share on other sites
JG1_Snaggle 1 Posted October 14, 2018 Hi Vaal, I'm on step 6 of the install instructions it appears that I'm having an issue but can't see what it would be? I never get asked to create a administrative user? Would you mind looking at this and giving a suggestion as where to go at this time? C:\il2_stats\run>cd ../ C:\il2_stats>python -m venv --clear .venv C:\il2_stats>".venv/Scripts/python.exe" -m pip install --quiet -r requirements.t xt C:\il2_stats>pause Press any key to continue . . . C:\il2_stats>cd src C:\il2_stats\src>"../.venv/Scripts/python.exe" manage.py collectstatic --noinput --verbosity 0 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 308, in execute settings.INSTALLED_APPS File "C:\il2_stats\.venv\lib\site-packages\django\conf\__init__.py", line 56, in __getattr__ self._setup(name) File "C:\il2_stats\.venv\lib\site-packages\django\conf\__init__.py", line 41, in _setup self._wrapped = Settings(settings_module) File "C:\il2_stats\.venv\lib\site-packages\django\conf\__init__.py", line 110, in __init__ mod = importlib.import_module(self.SETTINGS_MODULE) File "C:\Python35\lib\importlib\__init__.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "<frozen importlib._bootstrap>", line 986, in _gcd_import File "<frozen importlib._bootstrap>", line 969, in _find_and_load File "<frozen importlib._bootstrap>", line 958, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 673, in _load_unlocked File "<frozen importlib._bootstrap_external>", line 665, in exec_module File "<frozen importlib._bootstrap>", line 222, in _call_with_frames_removed File "C:\il2_stats\src\core\settings.py", line 340, in <module> from config import * File "C:\il2_stats\src\config.py", line 66, in <module> conf = get_conf() File "C:\il2_stats\src\config.py", line 61, in get_conf startup_cfg.read_string(startup_string) File "C:\Python35\lib\configparser.py", line 720, in read_string self.read_file(sfile, source) File "C:\Python35\lib\configparser.py", line 715, in read_file self._read(f, source) File "C:\Python35\lib\configparser.py", line 1089, in _read fpname, lineno) configparser.DuplicateOptionError: While reading from '<string>' [line 76]: opti on 'text_log_folder' in section 'KEY = system' already exists C:\il2_stats\src>pause Press any key to continue . . . C:\il2_stats\src>"../.venv/Scripts/python.exe" manage.py migrate --noinput --ver bosity 0 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 308, in execute settings.INSTALLED_APPS File "C:\il2_stats\.venv\lib\site-packages\django\conf\__init__.py", line 56, in __getattr__ self._setup(name) File "C:\il2_stats\.venv\lib\site-packages\django\conf\__init__.py", line 41, in _setup self._wrapped = Settings(settings_module) File "C:\il2_stats\.venv\lib\site-packages\django\conf\__init__.py", line 110, in __init__ mod = importlib.import_module(self.SETTINGS_MODULE) File "C:\Python35\lib\importlib\__init__.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "<frozen importlib._bootstrap>", line 986, in _gcd_import File "<frozen importlib._bootstrap>", line 969, in _find_and_load File "<frozen importlib._bootstrap>", line 958, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 673, in _load_unlocked File "<frozen importlib._bootstrap_external>", line 665, in exec_module File "<frozen importlib._bootstrap>", line 222, in _call_with_frames_removed File "C:\il2_stats\src\core\settings.py", line 340, in <module> from config import * File "C:\il2_stats\src\config.py", line 66, in <module> conf = get_conf() File "C:\il2_stats\src\config.py", line 61, in get_conf startup_cfg.read_string(startup_string) File "C:\Python35\lib\configparser.py", line 720, in read_string self.read_file(sfile, source) File "C:\Python35\lib\configparser.py", line 715, in read_file self._read(f, source) File "C:\Python35\lib\configparser.py", line 1089, in _read fpname, lineno) configparser.DuplicateOptionError: While reading from '<string>' [line 76]: opti on 'text_log_folder' in section 'KEY = system' already exists C:\il2_stats\src>pause Press any key to continue . . . C:\il2_stats\src>"../.venv/Scripts/python.exe" manage.py import_csv_data --verbo sity 0 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 308, in execute settings.INSTALLED_APPS File "C:\il2_stats\.venv\lib\site-packages\django\conf\__init__.py", line 56, in __getattr__ self._setup(name) File "C:\il2_stats\.venv\lib\site-packages\django\conf\__init__.py", line 41, in _setup self._wrapped = Settings(settings_module) File "C:\il2_stats\.venv\lib\site-packages\django\conf\__init__.py", line 110, in __init__ mod = importlib.import_module(self.SETTINGS_MODULE) File "C:\Python35\lib\importlib\__init__.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "<frozen importlib._bootstrap>", line 986, in _gcd_import File "<frozen importlib._bootstrap>", line 969, in _find_and_load File "<frozen importlib._bootstrap>", line 958, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 673, in _load_unlocked File "<frozen importlib._bootstrap_external>", line 665, in exec_module File "<frozen importlib._bootstrap>", line 222, in _call_with_frames_removed File "C:\il2_stats\src\core\settings.py", line 340, in <module> from config import * File "C:\il2_stats\src\config.py", line 66, in <module> conf = get_conf() File "C:\il2_stats\src\config.py", line 61, in get_conf startup_cfg.read_string(startup_string) File "C:\Python35\lib\configparser.py", line 720, in read_string self.read_file(sfile, source) File "C:\Python35\lib\configparser.py", line 715, in read_file self._read(f, source) File "C:\Python35\lib\configparser.py", line 1089, in _read fpname, lineno) configparser.DuplicateOptionError: While reading from '<string>' [line 76]: opti on 'text_log_folder' in section 'KEY = system' already exists C:\il2_stats\src>pause Press any key to continue . . . C:\il2_stats\src>"../.venv/Scripts/python.exe" manage.py createsuperuser --verbo sity 0 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 308, in execute settings.INSTALLED_APPS File "C:\il2_stats\.venv\lib\site-packages\django\conf\__init__.py", line 56, in __getattr__ self._setup(name) File "C:\il2_stats\.venv\lib\site-packages\django\conf\__init__.py", line 41, in _setup self._wrapped = Settings(settings_module) File "C:\il2_stats\.venv\lib\site-packages\django\conf\__init__.py", line 110, in __init__ mod = importlib.import_module(self.SETTINGS_MODULE) File "C:\Python35\lib\importlib\__init__.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "<frozen importlib._bootstrap>", line 986, in _gcd_import File "<frozen importlib._bootstrap>", line 969, in _find_and_load File "<frozen importlib._bootstrap>", line 958, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 673, in _load_unlocked File "<frozen importlib._bootstrap_external>", line 665, in exec_module File "<frozen importlib._bootstrap>", line 222, in _call_with_frames_removed File "C:\il2_stats\src\core\settings.py", line 340, in <module> from config import * File "C:\il2_stats\src\config.py", line 66, in <module> conf = get_conf() File "C:\il2_stats\src\config.py", line 61, in get_conf startup_cfg.read_string(startup_string) File "C:\Python35\lib\configparser.py", line 720, in read_string self.read_file(sfile, source) File "C:\Python35\lib\configparser.py", line 715, in read_file self._read(f, source) File "C:\Python35\lib\configparser.py", line 1089, in _read fpname, lineno) configparser.DuplicateOptionError: While reading from '<string>' [line 76]: opti on 'text_log_folder' in section 'KEY = system' already exists C:\il2_stats\src>pause Press any key to continue . . . Thanks Share this post Link to post Share on other sites
=FB=Vaal 135 Posted October 14, 2018 configparser.DuplicateOptionError: While reading from '<string>' [line 76]: opti on 'text_log_folder' in section 'KEY = system' already exists check that the game config you have no duplication of parameters Share this post Link to post Share on other sites
JG1_Snaggle 1 Posted October 14, 2018 Vaal, Will do thanks! Share this post Link to post Share on other sites
JG1_Snaggle 1 Posted October 15, 2018 Vaal, Found it you were dead on!! Thanks Again! Share this post Link to post Share on other sites
NN_Kervinou 3 Posted November 7, 2018 (edited) Hi I try to install it for our "NN" training server but i have an issue like this : OSError: [Errno 22] Invalid argument: '"c:\\Program Files (x86)\\IL-2 Sturmovik Battle of Moscow\\"\\data\\startup.cfg' after the command line : C:\il2_stats\src>"../.venv/Scripts/python.exe" manage.py collectstatic --noinput --verbosity 0 same thing after command line : C:\il2_stats\src>"../.venv/Scripts/python.exe" manage.py migrate --noinput --verbosity 0 it seems that it don't get the true path, i don't understand why ! have you got any idea ? thanks Edited November 7, 2018 by NN_Kervinou Share this post Link to post Share on other sites
=FB=Vaal 135 Posted November 7, 2018 Apparently the path to the game in the config is incorrectly specified. Quotes or something like that. Share this post Link to post Share on other sites
IRRE_Genius 59 Posted November 10, 2018 Hello, First thanks for all your work. Is-it possible to have a sort of resume of the mission with this data (with a specific command or other) Aircraft lost by team (Ok - already in IL2 stats) Pilot lost by team List of all objects or vehicles damaged (in %) or destroy by team Unit of bombs or ammunition used (or lost by destroy plane) during mission by team If not, what file do I have to modify to try to obtain this information? Thanks Share this post Link to post Share on other sites
=FB=Vaal 135 Posted November 13, 2018 Quote Aircraft lost by team (Ok - already in IL2 stats) Pilot lost by team Maybe sometime we'll add. Need to think about design. Now the principle is simple - the longer the line the better. Lost aircraft and lost pilots (not only shotdown) are not compatible with the current design. Quote List of all objects or vehicles damaged (in %) or destroy by team Unit of bombs or ammunition used (or lost by destroy plane) during mission by team Why do need this is we not understanding. Those. We do not consider this as some interesting information that needs to be collected and displayed. So it will definitely not be added. Quote If not, what file do I have to modify to try to obtain this information? There is no single file and no easy way to do it. You need to know how to program, know the Python programming language and the Django framework. It is necessary to modify the log file handler, data models and database structure, controllers and templates that display data on the page. Share this post Link to post Share on other sites
IRRE_Genius 59 Posted November 14, 2018 (edited) Thanks. The ideas behind my questions are too found and use some information to impact mission sequence (information that would not necessarily be published on the web statistics but which would be searchable by the game master). Like: - How many plane are lost (destroy or captured) ? - How many pilot are dead or captured ? - How many ammunition (bombs, shell, etc..) are use - Wich factory as damaged to x% or destroy ? - How many tanks or vehicules are destroy by team ? - etc... S! Edited November 14, 2018 by -IRRE-Genius Share this post Link to post Share on other sites
JG1_Snaggle 1 Posted November 27, 2018 Hello Vaal hope all is well, Quick question: Shouldn't a superuser be able to edit objects and missions via the Django Site admin page? Also always THANKS! Share this post Link to post Share on other sites
=FB=Vaal 135 Posted November 27, 2018 8 hours ago, JG1_Snaggle_J4 said: Hello Vaal hope all is well, Quick question: Shouldn't a superuser be able to edit objects and missions via the Django Site admin page? Also always THANKS! Missions no For objects, you can change some fields. Share this post Link to post Share on other sites
JG1_Snaggle 1 Posted November 27, 2018 2 hours ago, =FB=Vaal said: Missions no For objects, you can change some fields. Vaal you know what is coming next. LoL Best way to delete missions? Best way to make objects active for tracking in stats? Thanks Share this post Link to post Share on other sites
=FB=Vaal 135 Posted November 27, 2018 There is no easy way to delete a mission. And even if you remove it directly from the database - it does not change the statistics of players. Quote Best way to make objects active for tracking in stats? What do you mean? Is there an example? Share this post Link to post Share on other sites
CountZero 1855 Posted November 27, 2018 Hi Vaal Is it posible to have in stats that when player that is damaged disconects, player who damaged him gets the kill. In game kill is credited but in stats not. example: Ripgrunwald damaged 109 of Aim_Deusi, his engine was smooking,http://il2stat.aviaskins.com:8008/en/sortie/log/3759929/?tour=41 and then Aim disconected from server.http://il2stat.aviaskins.com:8008/en/sortie/3759898/?tour=41 In Game chat and stats say Rip get kill from him, but web stats no. Share this post Link to post Share on other sites
=FB=Vaal 135 Posted November 27, 2018 Added to todo list 1 Share this post Link to post Share on other sites
II./JG1_Schulte 18 Posted November 28, 2018 ~~S~ Vaal JG1 is preparing and working on a competition, and we love your stats set up! Jg1_Snaggle, asked a couple of question on my "our" behalf. Deleting missions, or a least renaming them. (Were doing much testing. This can be worked around. "Renaming" a mission would be a benefit, as an altenitive) Object is playable? As example, All the "objects" in the competition, are viable and part of the "system". Tracking/stating them would also be a benefit. Bridges come to mind. Is it possible? On behalf of II./JG1 Thanks II./JG1_Heinz "Moxy" Schulte Mox Share this post Link to post Share on other sites
=FB=Vaal 135 Posted November 28, 2018 Read above about deleting missions. I do not understand why you need to delete the mission, if it does not affect the player’s statistics (the statistics will remain as if the mission was not deleted). About objects, I still do not understand what you mean. What's wrong with bridges? they are in the statistics, for them you can get points. Share this post Link to post Share on other sites
II./JG1_Schulte 18 Posted November 29, 2018 ~S~ Vaal Bridges: OK...So then Im not understanding "is playable"? My assumption, is/was that those x'ed out, are not collected? Deleting: As "our" campaign rotates its mission, it logs, of course as it is suppose too. But the rotated mission is up for only a minute, then we shut it down. So when "we" look at missions, we have several "non retentive" missions logs with the same name, date, only the mission played time is the indicator. So a delete or edit, would be helpful Thanks Vaal Just getting into it Mox Share this post Link to post Share on other sites
=FB=Vaal 135 Posted November 29, 2018 Quote OK...So then Im not understanding "is playable"? This is a just mark for objects that the player can control - aircraft, tanks. About the delete of the mission, I will not promise anything. I need to see how hard it is. Share this post Link to post Share on other sites
II./JG1_Schulte 18 Posted November 30, 2018 ~S~ Vaal "Playable" OK now Im starting to get it. With that info, things start making sence Thanks Delete/edit mission text, great if simple...If not I can get creative, like work the mission name. Thanks so much II./JG1_Schulte "Moxy" Share this post Link to post Share on other sites
1PL-Husar-1Esk 1242 Posted November 30, 2018 Small suggest, I would like to be able to access my opponent statistics page more easy. His name should take me there from sortie log when I click at his name in the top of the page. Share this post Link to post Share on other sites
DeadMeat0383 153 Posted December 1, 2018 Hi Vaal, I have noticed that with the new version of the stats server it now reports that the mission has not completed correctly? "[2018.12.01 13:07:08] missionReport(2018-12-01_13-06-13)[0] - mission has not been completed correctly" Is this an issue with my mission design? or is it a configuration bug in my stats server? I also noted that not all the missions/sorties are being shown, not sure if its a logs file issue or not. Any ideas? Thanks, DeadMeat Share this post Link to post Share on other sites
=FB=Vaal 135 Posted December 1, 2018 This is the old functionality. Basically it is not error. This warning eans that the parser did not find a record of the end of the mission in the logs. The parser starts processing logs in two conditions: 1) the first logs of the next mission appeared in the folder 2) if the last mission log file was created more than 2 minutes ago (in a normal situation, logs are created every 30 seconds or more often) If this warning appears often, then it is not normal. But I have no idea why this might be. Share this post Link to post Share on other sites
DeadMeat0383 153 Posted December 1, 2018 5 minutes ago, =FB=Vaal said: This is the old functionality. Basically it is not error. This warning eans that the parser did not find a record of the end of the mission in the logs. The parser starts processing logs in two conditions: 1) the first logs of the next mission appeared in the folder 2) if the last mission log file was created more than 2 minutes ago (in a normal situation, logs are created every 30 seconds or more often) If this warning appears often, then it is not normal. But I have no idea why this might be. I also found that there were a massive amount of log files in the folder too... I have just deleted the log files and let it start again. I have also adjusted the win conditions of my missions. I will let you know what the results are tomorrow Share this post Link to post Share on other sites
DeadMeat0383 153 Posted December 2, 2018 Ok so I checked the stats server after rebuilding the missions. I noted its still doing the below All of the missions where it says that it has not been completed checking the stats server mission it shows that the mission only ran for less than a minute? This particular mission had around 20 people on it at one point.... yet it shows no pilots on and it says the mission ran for 0 time. Share this post Link to post Share on other sites
=FB=Vaal 135 Posted December 2, 2018 Sorry, but I have no ideas, it seems to be some kind of local problem. Check that no other programs work with game logs. That time in the system is configured correctly and synchronized. Share this post Link to post Share on other sites
DeadMeat0383 153 Posted December 3, 2018 8 hours ago, =FB=Vaal said: Sorry, but I have no ideas, it seems to be some kind of local problem. Check that no other programs work with game logs. That time in the system is configured correctly and synchronized. I think I have figured it out. I run multiple dserver instances (2-3 depending on mission development). It seems that something has changed in the way mission logs are done in the current patch as i went back through the logs until the issue first appeared. It seems that prior to this patch the mission log parser could tell the difference between the log files, but the current version of the log files it cant. I made a complete copy of my il2 directory and disabled log files in the second instance and that appears to have fixed it Share this post Link to post Share on other sites
LLv34_Temuri 861 Posted December 5, 2018 I think something might have changed in the 3.008 logs. Got this error: [2018.12.06 00:04:50] missionReport(2018-12-05_17-48-54)[0] - processing new report [2018.12.06 00:04:50] unexpected error Traceback (most recent call last): File "C:\Ohjelmat\IL2-BoS-stats\src\stats\management\commands\stats_whore.py", line 16, in handle stats_whore.main() File "C:\Ohjelmat\IL2-BoS-stats\src\stats\stats_whore.py", line 62, in main stats_whore(m_report_file=m_report_file) File "C:\Ohjelmat\Python\Python35-32\lib\contextlib.py", line 30, in inner return func(*args, **kwds) File "C:\Ohjelmat\IL2-BoS-stats\src\stats\stats_whore.py", line 159, in stats_whore m_report.processing(files=m_report_files) File "C:\Ohjelmat\IL2-BoS-stats\src\mission_report\report.py", line 109, in processing self.events_handlers[atype_id](**data) File "C:\Ohjelmat\IL2-BoS-stats\src\mission_report\report.py", line 319, in event_game_object country_id=country_id, coal_id=coal_id, parent_id=parent_id) File "C:\Ohjelmat\IL2-BoS-stats\src\mission_report\report.py", line 425, in __init__ obj = mission.objects[self.log_name] KeyError: '61-k turret 1124' [2018.12.06 00:04:50] Lock 108147408 released on C:\Ohjelmat\IL2-BoS-stats\file.lock Traceback (most recent call last): File "manage.py", line 7, in <module> execute_from_command_line(sys.argv) File "C:\Ohjelmat\IL2-BoS-stats\.venv\lib\site-packages\django\core\management\__init__.py", line 364, in execute_from_command_line utility.execute() File "C:\Ohjelmat\IL2-BoS-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:\Ohjelmat\IL2-BoS-stats\.venv\lib\site-packages\django\core\management\base.py", line 283, in run_from_argv self.execute(*args, **cmd_options) File "C:\Ohjelmat\IL2-BoS-stats\.venv\lib\site-packages\django\core\management\base.py", line 330, in execute output = self.handle(*args, **options) File "C:\Ohjelmat\IL2-BoS-stats\src\stats\management\commands\stats_whore.py", line 16, in handle stats_whore.main() File "C:\Ohjelmat\IL2-BoS-stats\src\stats\stats_whore.py", line 62, in main stats_whore(m_report_file=m_report_file) File "C:\Ohjelmat\Python\Python35-32\lib\contextlib.py", line 30, in inner return func(*args, **kwds) File "C:\Ohjelmat\IL2-BoS-stats\src\stats\stats_whore.py", line 159, in stats_whore m_report.processing(files=m_report_files) File "C:\Ohjelmat\IL2-BoS-stats\src\mission_report\report.py", line 109, in processing self.events_handlers[atype_id](**data) File "C:\Ohjelmat\IL2-BoS-stats\src\mission_report\report.py", line 319, in event_game_object country_id=country_id, coal_id=coal_id, parent_id=parent_id) File "C:\Ohjelmat\IL2-BoS-stats\src\mission_report\report.py", line 425, in __init__ obj = mission.objects[self.log_name] KeyError: '61-k turret 1124' Share this post Link to post Share on other sites