=AD=uumembwa Posted October 8, 2021 Posted October 8, 2021 We need a devs help here... Tanks appear in log with INAIR option. They not take off - so they can't recieve landed status. 2 hours ago, CountZero said: tank player can finish his sortie only by bail out from tank or rtb to spawn point, and not how its now at any point in mission. On the over hand, if mission ends and plane in air over enemy territory - it's ok, not capture. With tanks - must be same isn't it? So how split mission end and player exit? 2 hours ago, CountZero said: So if player in tank disconects or just finish mission its same, so thats why disco dont exist for tanks. It is not same in game. For example - i set timer to 15sec for mission end. If players choose "Exit mission" - they must wait 15sec and only after that enter to briefing. But some people not wait - they choose leave server. In that case no timers - you just leave it and save you virtual live.
CountZero Posted October 8, 2021 Posted October 8, 2021 1 hour ago, NHK295M said: We need a devs help here... Tanks appear in log with INAIR option. They not take off - so they can't recieve landed status. yes 1 hour ago, NHK295M said: On the over hand, if mission ends and plane in air over enemy territory - it's ok, not capture. With tanks - must be same isn't it? So how split mission end and player exit? for tanks i can not split it same way it works for airplanes, because from log data i cant make differance betwen finish and disco same way i can for airplanes. 1 hour ago, NHK295M said: It is not same in game. For example - i set timer to 15sec for mission end. If players choose "Exit mission" - they must wait 15sec and only after that enter to briefing. But some people not wait - they choose leave server. In that case no timers - you just leave it and save you virtual live. Its something devs can only fix, i cant do anything more with what game log gives.
=FEW=Revolves Posted October 10, 2021 Author Posted October 10, 2021 OK I've updated the bundle to 1.8.2 with the fix for tank_XXXX penalties. They should work as intended now. To update: Just copy over /src, no need to run update.cmd if you've got 1.8.1 installed. On 10/8/2021 at 3:42 PM, NHK295M said: On the over hand, if mission ends and plane in air over enemy territory - it's ok, not capture. With tanks - must be same isn't it? So how split mission end and player exit? Problem here is the data from the server is incomplete/wrong. Often, when a tank sortie ends the wrong position is given as the final position. So "Capture"/"Ditched" logic doesn't work. This is something the IL-2 devs need to fix.
=AD=uumembwa Posted October 17, 2021 Posted October 17, 2021 (edited) I do mission logic where winner side take whole map via command behavior: when allias or axis wins in 1second opponents influence area changed country to winners one. Tested it and found it not work Dunno why stats give status dead when you bail out on you territory. Why in log appear "wounded" and "dead" lines before "bail out" line? I record this test and nobody was wound or dead in my crew in this mission. How it could be? http://il2action.ddns.net/en/tankman_sortie/log/1954/?tour=5 end of fight: Edited October 17, 2021 by NHK295M
=FEW=Revolves Posted October 18, 2021 Author Posted October 18, 2021 If you have DServer logs I could check for 100% in that case, 13 hours ago, NHK295M said: I do mission logic where winner side take whole map via command behavior: when allias or axis wins in 1second opponents influence area changed country to winners one. Tested it and found it not work Dunno why stats give status dead when you bail out on you territory. Why in log appear "wounded" and "dead" lines before "bail out" line? I record this test and nobody was wound or dead in my crew in this mission. How it could be? http://il2action.ddns.net/en/tankman_sortie/log/1954/?tour=5 end of fight: If you have DServer logs for that mission then I could tell you what happened inside the stats parser. My theory is that the game thought that you died when you bailed out. At 1:18 it says you got killed. There's pretty much nothing me or CountZero can do to fix that - it means that the IL-2 game has a bug. Perhaps post that video in https://forum.il2sturmovik.ru/forum/50-обсуждение-технических-вопросов-и-сбор-сообщений-об-ошибках/ ? I think you should not have died in game there.
=AD=uumembwa Posted October 18, 2021 Posted October 18, 2021 This is the end of mission: T:480373 AType:8 OBJID:128 POS(159452.5313,24.0960,201339.1719) COAL:1 TYPE:0 RES:1 ICTYPE:0 T:480423 AType:13 AID:72704 COUNTRY:103 ENABLED:1 BC(0,0,0,0,0) T:0 AType:15 VER:17 T:481286 AType:2 DMG:1.0000 AID:-1 TID:15362 POS(146051.8906,7696.8179,-37614.8984) T:481286 AType:3 AID:-1 TID:15362 POS(146051.8906,7696.8179,-37614.8984) T:481286 AType:4 PLID:13314 PID:15362 BUL:0 SH:0 BOMB:0 RCT:0 (0.0000,0.0000,0.0000) T:481294 AType:12 ID:35842 TYPE:BotTankKV1_Gunner COUNTRY:101 NAME:BotTankKV1_Gunner PID:34818 POS(133531.7031,185.2027,207598.2344) T:481294 AType:3 AID:-1 TID:35842 POS(240493.1563,9825.0586,-13004.1602) T:481321 AType:2 DMG:1.0000 AID:-1 TID:13314 POS(133532.5938,183.7064,207598.3594) T:481321 AType:3 AID:-1 TID:13314 POS(133532.5938,183.7064,207598.3594) T:481342 AType:18 BOTID:16386 PARENTID:28674 POS(133532.4844,185.7399,207597.9375) T:481434 AType:18 BOTID:15362 PARENTID:13314 POS(146114.6563,7734.4663,-38845.1016) T:0 AType:15 VER:17 T:481601 AType:18 BOTID:30722 PARENTID:18434 POS(133530.7031,185.1994,207597.7188) T:481641 AType:18 BOTID:10242 PARENTID:8194 POS(133532.3438,185.3159,207597.5938) T:481792 AType:18 BOTID:35842 PARENTID:34818 POS(241159.5625,9885.2480,-14379.0225) T:482221 AType:16 BOTID:15362 POS(133528.8750,184.5093,207598.9688) T:0 AType:15 VER:17 T:483373 AType:7 13314 - me
=FEW=Revolves Posted October 18, 2021 Author Posted October 18, 2021 (edited) It is a bug with the IL-2 game, as I suspected. AType: 3 is death, AType:18 is bailout. Relevant part is: T:481294 AType:12 ID:35842 TYPE:BotTankKV1_Gunner COUNTRY:101 NAME:BotTankKV1_Gunner PID:34818 POS(133531.7031,185.2027,207598.2344) T:481294 AType:3 AID:-1 TID:35842 POS(240493.1563,9825.0586,-13004.1602) T:481321 AType:2 DMG:1.0000 AID:-1 TID:13314 POS(133532.5938,183.7064,207598.3594) T:481321 AType:3 AID:-1 TID:13314 POS(133532.5938,183.7064,207598.3594) T:481342 AType:18 BOTID:16386 PARENTID:28674 POS(133532.4844,185.7399,207597.9375)T:481434 AType:18 BOTID:15362 PARENTID:13314 POS(146114.6563,7734.4663,-38845.1016) T:0 AType:15 VER:17 T:481601 AType:18 BOTID:30722 PARENTID:18434 POS(133530.7031,185.1994,207597.7188) T:481641 AType:18 BOTID:10242 PARENTID:8194 POS(133532.3438,185.3159,207597.5938) So IL-2 thinks that you died before bailing out, or at least that is what is written to DSever logs. I'm not sure if it makes sense to try and detect this bug and work around it on the parser, because that might introduce new bugs. Do you want me to post a bug report to IL-2 devs or do you want me to do it? Edited October 18, 2021 by =FEW=Revolves
=AD=uumembwa Posted October 18, 2021 Posted October 18, 2021 Yes i noted that, AID:-1 it's a like when you damaged by invisible trees. Tomorrow i do test again...
JGr2/J5_Baeumer Posted October 22, 2021 Posted October 22, 2021 Appreciate all your guys work. Question: Has anyone modded the parser to track gunner position (rear seat) credit scoring/tracking similar to how tanker and truck gunners are tracked?
=AD=uumembwa Posted October 24, 2021 Posted October 24, 2021 On 10/18/2021 at 3:35 PM, =FEW=Revolves said: Do you want me to post a bug report to IL-2 devs or do you want me to do it? I give a link for this post - bug is confirmed, so i not recommend tankmans bail out until it will be fixed
=FEW=Revolves Posted October 27, 2021 Author Posted October 27, 2021 On 10/24/2021 at 2:27 AM, NHK295M said: I give a link for this post - bug is confirmed, so i not recommend tankmans bail out until it will be fixed Latest patch seems to fix this. Nr 18 in patch 4.605
=FEW=Revolves Posted October 29, 2021 Author Posted October 29, 2021 (edited) I've just released a small compatibility update to the bundle to make it compatible with the latest version of il2 stats (1.2.57). To update: Install the base il2_stats update (i.e. copy over the src of the base project), then copy over the src/ of the latest version of the bundle, then run update.cmd. Edited October 29, 2021 by =FEW=Revolves
super-truite Posted October 30, 2021 Posted October 30, 2021 hello, just tried to update and I have this error: Traceback (most recent call last): File "C:\Users\admin\Documents\IL2Stats\il2_stats\il2_stats\src\stats\management\commands\stats_whore.py", line 16, in handle stats_whore.main() File "C:\Users\admin\Documents\IL2Stats\il2_stats\il2_stats\src\stats\stats_whore.py", line 64, in main stats_whore(m_report_file=m_report_file) File "C:\Users\admin\AppData\Local\Programs\Python\Python35-32\lib\contextlib.py", line 30, in inner return func(*args, **kwds) File "C:\Users\admin\Documents\IL2Stats\il2_stats\il2_stats\src\stats\stats_whore.py", line 161, in stats_whore m_report.processing(files=m_report_files) File "C:\Users\admin\Documents\IL2Stats\il2_stats\il2_stats\src\mission_report\report.py", line 117, in processing self.events_handlers[atype_id](**data) File "C:\Users\admin\Documents\IL2Stats\il2_stats\il2_stats\src\mission_report\report.py", line 339, in event_game_object country_id=country_id, coal_id=coal_id, parent_id=parent_id) File "C:\Users\admin\Documents\IL2Stats\il2_stats\il2_stats\src\mission_report\report.py", line 453, in __init__ obj = mission.objects[self.log_name] KeyError: 'cvisorcamera_2461696' [2021.10.30 02:39:49] Lock 77531664 released on C:\Users\admin\Documents\IL2Stats\il2_stats\il2_stats\file.lock Traceback (most recent call last): File "manage.py", line 7, in <module> execute_from_command_line(sys.argv) File "C:\Users\admin\Documents\IL2Stats\il2_stats\il2_stats\.venv\lib\site-packages\django\core\management\__init__.py", line 364, in execute_from_command_line utility.execute() File "C:\Users\admin\Documents\IL2Stats\il2_stats\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:\Users\admin\Documents\IL2Stats\il2_stats\il2_stats\.venv\lib\site-packages\django\core\management\base.py", line 283, in run_from_argv self.execute(*args, **cmd_options) File "C:\Users\admin\Documents\IL2Stats\il2_stats\il2_stats\.venv\lib\site-packages\django\core\management\base.py", line 330, in execute output = self.handle(*args, **options) File "C:\Users\admin\Documents\IL2Stats\il2_stats\il2_stats\src\stats\management\commands\stats_whore.py", line 16, in handle stats_whore.main() File "C:\Users\admin\Documents\IL2Stats\il2_stats\il2_stats\src\stats\stats_whore.py", line 64, in main stats_whore(m_report_file=m_report_file) File "C:\Users\admin\AppData\Local\Programs\Python\Python35-32\lib\contextlib.py", line 30, in inner return func(*args, **kwds) File "C:\Users\admin\Documents\IL2Stats\il2_stats\il2_stats\src\stats\stats_whore.py", line 161, in stats_whore m_report.processing(files=m_report_files) File "C:\Users\admin\Documents\IL2Stats\il2_stats\il2_stats\src\mission_report\report.py", line 117, in processing self.events_handlers[atype_id](**data) File "C:\Users\admin\Documents\IL2Stats\il2_stats\il2_stats\src\mission_report\report.py", line 339, in event_game_object country_id=country_id, coal_id=coal_id, parent_id=parent_id) File "C:\Users\admin\Documents\IL2Stats\il2_stats\il2_stats\src\mission_report\report.py", line 453, in __init__ obj = mission.objects[self.log_name] KeyError: 'cvisorcamera_2461696'
=FEW=Revolves Posted October 31, 2021 Author Posted October 31, 2021 (edited) On 10/30/2021 at 11:41 AM, super-truite said: hello, just tried to update and I have this error: Traceback (most recent call last): File "C:\Users\admin\Documents\IL2Stats\il2_stats\il2_stats\src\stats\management\commands\stats_whore.py", line 16, in handle stats_whore.main() File "C:\Users\admin\Documents\IL2Stats\il2_stats\il2_stats\src\stats\stats_whore.py", line 64, in main stats_whore(m_report_file=m_report_file) File "C:\Users\admin\AppData\Local\Programs\Python\Python35-32\lib\contextlib.py", line 30, in inner return func(*args, **kwds) File "C:\Users\admin\Documents\IL2Stats\il2_stats\il2_stats\src\stats\stats_whore.py", line 161, in stats_whore m_report.processing(files=m_report_files) File "C:\Users\admin\Documents\IL2Stats\il2_stats\il2_stats\src\mission_report\report.py", line 117, in processing self.events_handlers[atype_id](**data) File "C:\Users\admin\Documents\IL2Stats\il2_stats\il2_stats\src\mission_report\report.py", line 339, in event_game_object country_id=country_id, coal_id=coal_id, parent_id=parent_id) File "C:\Users\admin\Documents\IL2Stats\il2_stats\il2_stats\src\mission_report\report.py", line 453, in __init__ obj = mission.objects[self.log_name] KeyError: 'cvisorcamera_2461696' [2021.10.30 02:39:49] Lock 77531664 released on C:\Users\admin\Documents\IL2Stats\il2_stats\il2_stats\file.lock Traceback (most recent call last): File "manage.py", line 7, in <module> execute_from_command_line(sys.argv) File "C:\Users\admin\Documents\IL2Stats\il2_stats\il2_stats\.venv\lib\site-packages\django\core\management\__init__.py", line 364, in execute_from_command_line utility.execute() File "C:\Users\admin\Documents\IL2Stats\il2_stats\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:\Users\admin\Documents\IL2Stats\il2_stats\il2_stats\.venv\lib\site-packages\django\core\management\base.py", line 283, in run_from_argv self.execute(*args, **cmd_options) File "C:\Users\admin\Documents\IL2Stats\il2_stats\il2_stats\.venv\lib\site-packages\django\core\management\base.py", line 330, in execute output = self.handle(*args, **options) File "C:\Users\admin\Documents\IL2Stats\il2_stats\il2_stats\src\stats\management\commands\stats_whore.py", line 16, in handle stats_whore.main() File "C:\Users\admin\Documents\IL2Stats\il2_stats\il2_stats\src\stats\stats_whore.py", line 64, in main stats_whore(m_report_file=m_report_file) File "C:\Users\admin\AppData\Local\Programs\Python\Python35-32\lib\contextlib.py", line 30, in inner return func(*args, **kwds) File "C:\Users\admin\Documents\IL2Stats\il2_stats\il2_stats\src\stats\stats_whore.py", line 161, in stats_whore m_report.processing(files=m_report_files) File "C:\Users\admin\Documents\IL2Stats\il2_stats\il2_stats\src\mission_report\report.py", line 117, in processing self.events_handlers[atype_id](**data) File "C:\Users\admin\Documents\IL2Stats\il2_stats\il2_stats\src\mission_report\report.py", line 339, in event_game_object country_id=country_id, coal_id=coal_id, parent_id=parent_id) File "C:\Users\admin\Documents\IL2Stats\il2_stats\il2_stats\src\mission_report\report.py", line 453, in __init__ obj = mission.objects[self.log_name] KeyError: 'cvisorcamera_2461696' Hmm, there is a missing object "cvisorcamera_2461696" which isn't listed in objects.csv. As a quick fix you could add cvisorcamera_2461696 into objects.csv as trash,cvisorcamera_2461696,0,, (and then run update.cmd) I think same bug would happen in base version of il2 stats without mods. Could you perhaps send the DServer logs over which cause the error, so I can test on an unmodded il2 stats installation? Or you can test yourself on unmodded installation + then send over to =FB=Vaal if error is there. Edited October 31, 2021 by =FEW=Revolves 1
super-truite Posted October 31, 2021 Posted October 31, 2021 here is the file missionReport(2021-10-29_03-05-33)[0].txt 1
=FEW=Revolves Posted October 31, 2021 Author Posted October 31, 2021 7 minutes ago, super-truite said: here is the file missionReport(2021-10-29_03-05-33)[0].txt 3.62 kB · 1 download Are you sure that's the only file? I don't get the error on my installation of the bundle. In particular, that log file does not contain the text cvisorcamera_2461696
super-truite Posted October 31, 2021 Posted October 31, 2021 sorry, the error message said [0] but it is just displaying the first file, not the one causing problems. It is this line in the file 163: T:244173 AType:12 ID:2461696 TYPE:CVisorCamera_2461696 COUNTRY:101 NAME:CVisorCamera_2461696 PID:2384896 POS(115508.2188,219.5659,96171.2031) missionReport.zip I guess the parsing would fail with the vanilla IL2-Stats mod indeed
=FEW=Revolves Posted October 31, 2021 Author Posted October 31, 2021 38 minutes ago, super-truite said: sorry, the error message said [0] but it is just displaying the first file, not the one causing problems. It is this line in the file 163: T:244173 AType:12 ID:2461696 TYPE:CVisorCamera_2461696 COUNTRY:101 NAME:CVisorCamera_2461696 PID:2384896 POS(115508.2188,219.5659,96171.2031) missionReport.zip 361.8 kB · 1 download I guess the parsing would fail with the vanilla IL2-Stats mod indeed Thanks you're right, it fails on vanilla as well. I've informed vaal on the main il2 stats topic. 1
=FEW=Revolves Posted October 31, 2021 Author Posted October 31, 2021 OK I've released another small compatibility update for version 1.2.58. That version of IL-2 stats fixes super-truite's issue. To update: Install the base il2_stats update (i.e. copy over the src of the base project), then copy over the src/ of the latest version of the bundle, then run update.cmd.
=FEW=Revolves Posted November 4, 2021 Author Posted November 4, 2021 I've published a bug fix release (1.8.5), which fixes a rare, but severe bug which causes the parser to crash. If you're not getting any crashes, then there is no pressing need to update. To update: No need to run update.cmd, just paste over /src/.
=FEW=Revolves Posted December 9, 2021 Author Posted December 9, 2021 Small update to 1.2.59 of il2 stats. To update: Install the base il2_stats update (i.e. copy over the src of the base project), then copy over the src/ of the latest version of the bundle, then run update.cmd.
=FEW=Revolves Posted December 28, 2021 Author Posted December 28, 2021 I'm away from my computer, but I'm fairly certain the bundle is compatible with the new release, since it just adds an image of the new p51b.
=FEW=Revolves Posted January 15, 2022 Author Posted January 15, 2022 Update to 1.8.8 bundle. It includes the latest versions of the tank + disconnect mods, which fix some bugs with how kills are assigned.
=FEW=Revolves Posted February 13, 2022 Author Posted February 13, 2022 I've released a hotfix which fixes parsing logic for Halberstadt and Bristol turrets, as well as fixing the scoring of captures - bailouts which resulted in death over enemy territory were incorrectly counted as both a capture and a death, instead of only counting as a death. These captures were incorrectly counted in the aircraft rankings page. The fix for the captures is retroactive. To update: You need to run update.cmd after pasting over the src/ 1
=FEW=Revolves Posted March 16, 2022 Author Posted March 16, 2022 Bundle updated to latest IL2 stats version (1.6.0), basically (basic) support for the new planes and objects. Also includes the modifications and payloads of the p-51b (thanks CountZero!). In particular jabo sorties in the p51b count as attacker sorties, and not fighter sorties as before, and the bomb/rockets filter in aircraft rankings should also work now. To update: You need to run update.cmd after pasting over the src/ 1
=FEW=Revolves Posted April 19, 2022 Author Posted April 19, 2022 Bundle updated to latest il2 stats version (1.6.1), adds support for the Sopwith Triplane (non-WW1 servers have no need to update) To update: First update base IL2 stats (get vaal's latest version, paste over src/ making sure to backup your config file). Then paste over src/ of the bundle. Run update.cmd after. 1
=FEW=Revolves Posted May 1, 2022 Author Posted May 1, 2022 (edited) After a bit of a hiatus, I've just released a substantial feature release! The two big headliners are the two new modules "Gunner Rankings" and "Rams". Gunner rankings is like pilot rankings, but for aircraft gunners. This should be in particular useful for flying circus servers, because gunnery is more prominent in the WW1 theater . The rams module on the other hand, identifies when two players had a mid air collision and links the two sorties together in the sortie log. There is also another small new module, which makes AI kills not count towards your air kill streak. I've also added a Trello page for my mods, so you guys can see what is on my todo list: https://trello.com/b/sjDEvV2v/il2-stats-mods-todo-list To update: You need to run update.cmd after pasting over the src/ I also recommend you take a look at the new rams module - I think it's a good fit for pretty much any server. Edited May 1, 2022 by =FEW=Revolves
=FEW=Revolves Posted May 31, 2022 Author Posted May 31, 2022 Updated to latest object.csv (compatbility with mosquito). If you're updating from before 1.9.0 (which I think most of you are ), then checkout the new modules for the enchancements mod! "Gunner Rankings" and "Rams" are the highlights. To update: First update base IL2 stats (get vaal's latest version, paste over src/ making sure to backup your config file). Then paste over src/ of the bundle. Run update.cmd after. 1
=FEW=Revolves Posted June 16, 2022 Author Posted June 16, 2022 Updated object.csv again for the latest version of IL2 (just 2.5 weeks after the last update, quick!) To update: First update base IL2 stats (get vaal's latest version, paste over src/ making sure to backup your config file). Then paste over src/ of the bundle. Run update.cmd after. 2
=FEW=Revolves Posted June 17, 2022 Author Posted June 17, 2022 Small update to include payloads/modifcations for the arado + mosquito (thanks CountZero!)
=FEW=Revolves Posted June 19, 2022 Author Posted June 19, 2022 I've fixed a pretty critical bug which caused the new object.csv to not be imported and new types of aircraft/objects to not be recognized in the latest bundle version. Thanks to J5_Baumer for the report! To update: First update base IL2 stats (get vaal's latest version, paste over src/ making sure to backup your config file). Then paste over src/ of the bundle. Run update.cmd after.
=AD=uumembwa Posted June 20, 2022 Posted June 20, 2022 it's working but in logs write Message: '[mod_rating_by_type] Could not find aircraft for turret \u0442\u0443\u0440\u0435\u043b\u044c Ju-87 D-3' Arguments: () and many over dirty words when open gunner stats page Spoiler D:\il2_stats\run>cd ../src D:\il2_stats\src>"../.venv/Scripts/python.exe" web.py Mod [mod_stats_by_aircraft] added to INSTALLED_APPS Mod [mod_rating_by_type] added to INSTALLED_APPS [mod_rating_by_type] Added module ammo_breakdown [mod_rating_by_type] Added module flight_time_bonus [mod_rating_by_type] Added module undamaged_bailout_penalty [mod_rating_by_type] Added module adjustable_bonuses_penalties [mod_rating_by_type] Added module rearm_accuracy_workaround [mod_rating_by_type] Added module bailout_accuracy_workaround [mod_rating_by_type] Added module gunner_stats Serving on http://NSFK2:80 [2022.06.21 02:05:42] [mod_rating_by_type] Could not find aircraft for turret \u0442\u0443\u0440\u0435\u043b\u044c Ju-87 D-3 --- Logging error --- Traceback (most recent call last): File "D:\il2_stats\src\mod_rating_by_type\turret_utils.py", line 53, in turret_to_aircraft aircraft = Object.objects.filter(name=aircraft_name).get() File "D:\il2_stats\.venv\lib\site-packages\django\db\models\query.py", line 380, in get self.model._meta.object_name stats.models.DoesNotExist: Object matching query does not exist. During handling of the above exception, another exception occurred: Traceback (most recent call last): File "C:\Users\pimpochka96\AppData\Local\Programs\Python\Python35-32\lib\logging\__init__.py", line 982, in emit stream.write(msg) File "C:\Users\pimpochka96\AppData\Local\Programs\Python\Python35-32\lib\encodings\cp1252.py", line 19, in encode return codecs.charmap_encode(input,self.errors,encoding_table)[0] UnicodeEncodeError: 'charmap' codec can't encode characters in position 78-83: character maps to <undefined> Call stack: File "C:\Users\pimpochka96\AppData\Local\Programs\Python\Python35-32\lib\threading.py", line 882, in _bootstrap self._bootstrap_inner() File "C:\Users\pimpochka96\AppData\Local\Programs\Python\Python35-32\lib\threading.py", line 914, in _bootstrap_inner self.run() File "C:\Users\pimpochka96\AppData\Local\Programs\Python\Python35-32\lib\threading.py", line 862, in run self._target(*self._args, **self._kwargs) File "D:\il2_stats\.venv\lib\site-packages\waitress\task.py", line 86, in handler_thread task.service() File "D:\il2_stats\.venv\lib\site-packages\waitress\channel.py", line 350, in service task.service() File "D:\il2_stats\.venv\lib\site-packages\waitress\task.py", line 171, in service self.execute() File "D:\il2_stats\.venv\lib\site-packages\waitress\task.py", line 441, in execute app_iter = self.channel.server.application(environ, start_response) File "D:\il2_stats\.venv\lib\site-packages\dj_static.py", line 83, in __call__ return self.application(environ, start_response) File "D:\il2_stats\.venv\lib\site-packages\dj_static.py", line 83, in __call__ return self.application(environ, start_response) File "D:\il2_stats\.venv\lib\site-packages\django\core\handlers\wsgi.py", line 157, in __call__ response = self.get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\core\handlers\base.py", line 124, in get_response response = self._middleware_chain(request) File "D:\il2_stats\.venv\lib\site-packages\django\core\handlers\exception.py", line 41, in inner response = get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\utils\deprecation.py", line 140, in __call__ response = self.get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\core\handlers\exception.py", line 41, in inner response = get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\utils\deprecation.py", line 140, in __call__ response = self.get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\core\handlers\exception.py", line 41, in inner response = get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\utils\deprecation.py", line 140, in __call__ response = self.get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\core\handlers\exception.py", line 41, in inner response = get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\utils\deprecation.py", line 140, in __call__ response = self.get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\core\handlers\exception.py", line 41, in inner response = get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\utils\deprecation.py", line 140, in __call__ response = self.get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\core\handlers\exception.py", line 41, in inner response = get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\utils\deprecation.py", line 140, in __call__ response = self.get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\core\handlers\exception.py", line 41, in inner response = get_response(request) File "D:\il2_stats\src\core\middleware.py", line 20, in middleware response = get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\core\handlers\exception.py", line 41, in inner response = get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\utils\deprecation.py", line 140, in __call__ response = self.get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\core\handlers\exception.py", line 41, in inner response = get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\utils\deprecation.py", line 140, in __call__ response = self.get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\core\handlers\exception.py", line 41, in inner response = get_response(request) File "D:\il2_stats\src\stats\middleware.py", line 29, in middleware response = get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\core\handlers\exception.py", line 41, in inner response = get_response(request) File "D:\il2_stats\src\mod_rating_by_type\middleware.py", line 15, in middleware response = get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\core\handlers\exception.py", line 41, in inner response = get_response(request) File "D:\il2_stats\src\mod_rating_by_type\middleware.py", line 40, in middleware response = get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\core\handlers\exception.py", line 41, in inner response = get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\core\handlers\base.py", line 185, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) File "C:\Users\pimpochka96\AppData\Local\Programs\Python\Python35-32\lib\contextlib.py", line 30, in inner return func(*args, **kwds) File "D:\il2_stats\src\mod_rating_by_type\views.py", line 1349, in gunner fav_aircraft = __get_fav_turret_aircraft(player) File "D:\il2_stats\src\mod_rating_by_type\views.py", line 253, in __get_fav_turret_aircraft return turret_to_aircraft(fav_turret.aircraft) File "D:\il2_stats\src\mod_rating_by_type\turret_utils.py", line 56, in turret_to_aircraft logger.warning("[mod_rating_by_type] Could not find aircraft for turret " + turret_name) Message: '[mod_rating_by_type] Could not find aircraft for turret \u0442\u0443\u0440\u0435\u043b\u044c Ju-87 D-3' Arguments: () [2022.06.21 02:05:46] [mod_rating_by_type] Could not find aircraft for turret \u0442\u0443\u0440\u0435\u043b\u044c Ju-87 D-3 --- Logging error --- Traceback (most recent call last): File "D:\il2_stats\src\mod_rating_by_type\turret_utils.py", line 53, in turret_to_aircraft aircraft = Object.objects.filter(name=aircraft_name).get() File "D:\il2_stats\.venv\lib\site-packages\django\db\models\query.py", line 380, in get self.model._meta.object_name stats.models.DoesNotExist: Object matching query does not exist. During handling of the above exception, another exception occurred: Traceback (most recent call last): File "C:\Users\pimpochka96\AppData\Local\Programs\Python\Python35-32\lib\logging\__init__.py", line 982, in emit stream.write(msg) File "C:\Users\pimpochka96\AppData\Local\Programs\Python\Python35-32\lib\encodings\cp1252.py", line 19, in encode return codecs.charmap_encode(input,self.errors,encoding_table)[0] UnicodeEncodeError: 'charmap' codec can't encode characters in position 78-83: character maps to <undefined> Call stack: File "C:\Users\pimpochka96\AppData\Local\Programs\Python\Python35-32\lib\threading.py", line 882, in _bootstrap self._bootstrap_inner() File "C:\Users\pimpochka96\AppData\Local\Programs\Python\Python35-32\lib\threading.py", line 914, in _bootstrap_inner self.run() File "C:\Users\pimpochka96\AppData\Local\Programs\Python\Python35-32\lib\threading.py", line 862, in run self._target(*self._args, **self._kwargs) File "D:\il2_stats\.venv\lib\site-packages\waitress\task.py", line 86, in handler_thread task.service() File "D:\il2_stats\.venv\lib\site-packages\waitress\channel.py", line 350, in service task.service() File "D:\il2_stats\.venv\lib\site-packages\waitress\task.py", line 171, in service self.execute() File "D:\il2_stats\.venv\lib\site-packages\waitress\task.py", line 441, in execute app_iter = self.channel.server.application(environ, start_response) File "D:\il2_stats\.venv\lib\site-packages\dj_static.py", line 83, in __call__ return self.application(environ, start_response) File "D:\il2_stats\.venv\lib\site-packages\dj_static.py", line 83, in __call__ return self.application(environ, start_response) File "D:\il2_stats\.venv\lib\site-packages\django\core\handlers\wsgi.py", line 157, in __call__ response = self.get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\core\handlers\base.py", line 124, in get_response response = self._middleware_chain(request) File "D:\il2_stats\.venv\lib\site-packages\django\core\handlers\exception.py", line 41, in inner response = get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\utils\deprecation.py", line 140, in __call__ response = self.get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\core\handlers\exception.py", line 41, in inner response = get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\utils\deprecation.py", line 140, in __call__ response = self.get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\core\handlers\exception.py", line 41, in inner response = get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\utils\deprecation.py", line 140, in __call__ response = self.get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\core\handlers\exception.py", line 41, in inner response = get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\utils\deprecation.py", line 140, in __call__ response = self.get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\core\handlers\exception.py", line 41, in inner response = get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\utils\deprecation.py", line 140, in __call__ response = self.get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\core\handlers\exception.py", line 41, in inner response = get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\utils\deprecation.py", line 140, in __call__ response = self.get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\core\handlers\exception.py", line 41, in inner response = get_response(request) File "D:\il2_stats\src\core\middleware.py", line 20, in middleware response = get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\core\handlers\exception.py", line 41, in inner response = get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\utils\deprecation.py", line 140, in __call__ response = self.get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\core\handlers\exception.py", line 41, in inner response = get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\utils\deprecation.py", line 140, in __call__ response = self.get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\core\handlers\exception.py", line 41, in inner response = get_response(request) File "D:\il2_stats\src\stats\middleware.py", line 29, in middleware response = get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\core\handlers\exception.py", line 41, in inner response = get_response(request) File "D:\il2_stats\src\mod_rating_by_type\middleware.py", line 15, in middleware response = get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\core\handlers\exception.py", line 41, in inner response = get_response(request) File "D:\il2_stats\src\mod_rating_by_type\middleware.py", line 40, in middleware response = get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\core\handlers\exception.py", line 41, in inner response = get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\core\handlers\base.py", line 185, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) File "C:\Users\pimpochka96\AppData\Local\Programs\Python\Python35-32\lib\contextlib.py", line 30, in inner return func(*args, **kwds) File "D:\il2_stats\src\mod_rating_by_type\views.py", line 1349, in gunner fav_aircraft = __get_fav_turret_aircraft(player) File "D:\il2_stats\src\mod_rating_by_type\views.py", line 253, in __get_fav_turret_aircraft return turret_to_aircraft(fav_turret.aircraft) File "D:\il2_stats\src\mod_rating_by_type\turret_utils.py", line 56, in turret_to_aircraft logger.warning("[mod_rating_by_type] Could not find aircraft for turret " + turret_name) Message: '[mod_rating_by_type] Could not find aircraft for turret \u0442\u0443\u0440\u0435\u043b\u044c Ju-87 D-3' Arguments: () [2022.06.21 02:05:50] [mod_rating_by_type] Could not find aircraft for turret \u0442\u0443\u0440\u0435\u043b\u044c Ju-87 D-3 --- Logging error --- Traceback (most recent call last): File "D:\il2_stats\src\mod_rating_by_type\turret_utils.py", line 53, in turret_to_aircraft aircraft = Object.objects.filter(name=aircraft_name).get() File "D:\il2_stats\.venv\lib\site-packages\django\db\models\query.py", line 380, in get self.model._meta.object_name stats.models.DoesNotExist: Object matching query does not exist. During handling of the above exception, another exception occurred: Traceback (most recent call last): File "C:\Users\pimpochka96\AppData\Local\Programs\Python\Python35-32\lib\logging\__init__.py", line 982, in emit stream.write(msg) File "C:\Users\pimpochka96\AppData\Local\Programs\Python\Python35-32\lib\encodings\cp1252.py", line 19, in encode return codecs.charmap_encode(input,self.errors,encoding_table)[0] UnicodeEncodeError: 'charmap' codec can't encode characters in position 78-83: character maps to <undefined> Call stack: File "C:\Users\pimpochka96\AppData\Local\Programs\Python\Python35-32\lib\threading.py", line 882, in _bootstrap self._bootstrap_inner() File "C:\Users\pimpochka96\AppData\Local\Programs\Python\Python35-32\lib\threading.py", line 914, in _bootstrap_inner self.run() File "C:\Users\pimpochka96\AppData\Local\Programs\Python\Python35-32\lib\threading.py", line 862, in run self._target(*self._args, **self._kwargs) File "D:\il2_stats\.venv\lib\site-packages\waitress\task.py", line 86, in handler_thread task.service() File "D:\il2_stats\.venv\lib\site-packages\waitress\channel.py", line 350, in service task.service() File "D:\il2_stats\.venv\lib\site-packages\waitress\task.py", line 171, in service self.execute() File "D:\il2_stats\.venv\lib\site-packages\waitress\task.py", line 441, in execute app_iter = self.channel.server.application(environ, start_response) File "D:\il2_stats\.venv\lib\site-packages\dj_static.py", line 83, in __call__ return self.application(environ, start_response) File "D:\il2_stats\.venv\lib\site-packages\dj_static.py", line 83, in __call__ return self.application(environ, start_response) File "D:\il2_stats\.venv\lib\site-packages\django\core\handlers\wsgi.py", line 157, in __call__ response = self.get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\core\handlers\base.py", line 124, in get_response response = self._middleware_chain(request) File "D:\il2_stats\.venv\lib\site-packages\django\core\handlers\exception.py", line 41, in inner response = get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\utils\deprecation.py", line 140, in __call__ response = self.get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\core\handlers\exception.py", line 41, in inner response = get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\utils\deprecation.py", line 140, in __call__ response = self.get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\core\handlers\exception.py", line 41, in inner response = get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\utils\deprecation.py", line 140, in __call__ response = self.get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\core\handlers\exception.py", line 41, in inner response = get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\utils\deprecation.py", line 140, in __call__ response = self.get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\core\handlers\exception.py", line 41, in inner response = get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\utils\deprecation.py", line 140, in __call__ response = self.get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\core\handlers\exception.py", line 41, in inner response = get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\utils\deprecation.py", line 140, in __call__ response = self.get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\core\handlers\exception.py", line 41, in inner response = get_response(request) File "D:\il2_stats\src\core\middleware.py", line 20, in middleware response = get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\core\handlers\exception.py", line 41, in inner response = get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\utils\deprecation.py", line 140, in __call__ response = self.get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\core\handlers\exception.py", line 41, in inner response = get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\utils\deprecation.py", line 140, in __call__ response = self.get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\core\handlers\exception.py", line 41, in inner response = get_response(request) File "D:\il2_stats\src\stats\middleware.py", line 29, in middleware response = get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\core\handlers\exception.py", line 41, in inner response = get_response(request) File "D:\il2_stats\src\mod_rating_by_type\middleware.py", line 15, in middleware response = get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\core\handlers\exception.py", line 41, in inner response = get_response(request) File "D:\il2_stats\src\mod_rating_by_type\middleware.py", line 40, in middleware response = get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\core\handlers\exception.py", line 41, in inner response = get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\core\handlers\base.py", line 185, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) File "C:\Users\pimpochka96\AppData\Local\Programs\Python\Python35-32\lib\contextlib.py", line 30, in inner return func(*args, **kwds) File "D:\il2_stats\src\mod_rating_by_type\views.py", line 1130, in gunner_sortie aircraft = turret_to_aircraft(sortie.aircraft) File "D:\il2_stats\src\mod_rating_by_type\turret_utils.py", line 56, in turret_to_aircraft logger.warning("[mod_rating_by_type] Could not find aircraft for turret " + turret_name) Message: '[mod_rating_by_type] Could not find aircraft for turret \u0442\u0443\u0440\u0435\u043b\u044c Ju-87 D-3' Arguments: () [2022.06.21 02:06:03] [mod_rating_by_type] Could not find aircraft for turret \u0442\u0443\u0440\u0435\u043b\u044c A-20B --- Logging error --- Traceback (most recent call last): File "D:\il2_stats\src\mod_rating_by_type\turret_utils.py", line 53, in turret_to_aircraft aircraft = Object.objects.filter(name=aircraft_name).get() File "D:\il2_stats\.venv\lib\site-packages\django\db\models\query.py", line 380, in get self.model._meta.object_name stats.models.DoesNotExist: Object matching query does not exist. During handling of the above exception, another exception occurred: Traceback (most recent call last): File "C:\Users\pimpochka96\AppData\Local\Programs\Python\Python35-32\lib\logging\__init__.py", line 982, in emit stream.write(msg) File "C:\Users\pimpochka96\AppData\Local\Programs\Python\Python35-32\lib\encodings\cp1252.py", line 19, in encode return codecs.charmap_encode(input,self.errors,encoding_table)[0] UnicodeEncodeError: 'charmap' codec can't encode characters in position 78-83: character maps to <undefined> Call stack: File "C:\Users\pimpochka96\AppData\Local\Programs\Python\Python35-32\lib\threading.py", line 882, in _bootstrap self._bootstrap_inner() File "C:\Users\pimpochka96\AppData\Local\Programs\Python\Python35-32\lib\threading.py", line 914, in _bootstrap_inner self.run() File "C:\Users\pimpochka96\AppData\Local\Programs\Python\Python35-32\lib\threading.py", line 862, in run self._target(*self._args, **self._kwargs) File "D:\il2_stats\.venv\lib\site-packages\waitress\task.py", line 86, in handler_thread task.service() File "D:\il2_stats\.venv\lib\site-packages\waitress\channel.py", line 350, in service task.service() File "D:\il2_stats\.venv\lib\site-packages\waitress\task.py", line 171, in service self.execute() File "D:\il2_stats\.venv\lib\site-packages\waitress\task.py", line 441, in execute app_iter = self.channel.server.application(environ, start_response) File "D:\il2_stats\.venv\lib\site-packages\dj_static.py", line 83, in __call__ return self.application(environ, start_response) File "D:\il2_stats\.venv\lib\site-packages\dj_static.py", line 83, in __call__ return self.application(environ, start_response) File "D:\il2_stats\.venv\lib\site-packages\django\core\handlers\wsgi.py", line 157, in __call__ response = self.get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\core\handlers\base.py", line 124, in get_response response = self._middleware_chain(request) File "D:\il2_stats\.venv\lib\site-packages\django\core\handlers\exception.py", line 41, in inner response = get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\utils\deprecation.py", line 140, in __call__ response = self.get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\core\handlers\exception.py", line 41, in inner response = get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\utils\deprecation.py", line 140, in __call__ response = self.get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\core\handlers\exception.py", line 41, in inner response = get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\utils\deprecation.py", line 140, in __call__ response = self.get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\core\handlers\exception.py", line 41, in inner response = get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\utils\deprecation.py", line 140, in __call__ response = self.get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\core\handlers\exception.py", line 41, in inner response = get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\utils\deprecation.py", line 140, in __call__ response = self.get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\core\handlers\exception.py", line 41, in inner response = get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\utils\deprecation.py", line 140, in __call__ response = self.get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\core\handlers\exception.py", line 41, in inner response = get_response(request) File "D:\il2_stats\src\core\middleware.py", line 20, in middleware response = get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\core\handlers\exception.py", line 41, in inner response = get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\utils\deprecation.py", line 140, in __call__ response = self.get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\core\handlers\exception.py", line 41, in inner response = get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\utils\deprecation.py", line 140, in __call__ response = self.get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\core\handlers\exception.py", line 41, in inner response = get_response(request) File "D:\il2_stats\src\stats\middleware.py", line 29, in middleware response = get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\core\handlers\exception.py", line 41, in inner response = get_response(request) File "D:\il2_stats\src\mod_rating_by_type\middleware.py", line 15, in middleware response = get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\core\handlers\exception.py", line 41, in inner response = get_response(request) File "D:\il2_stats\src\mod_rating_by_type\middleware.py", line 40, in middleware response = get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\core\handlers\exception.py", line 41, in inner response = get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\core\handlers\base.py", line 185, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) File "C:\Users\pimpochka96\AppData\Local\Programs\Python\Python35-32\lib\contextlib.py", line 30, in inner return func(*args, **kwds) File "D:\il2_stats\src\mod_rating_by_type\views.py", line 1349, in gunner fav_aircraft = __get_fav_turret_aircraft(player) File "D:\il2_stats\src\mod_rating_by_type\views.py", line 253, in __get_fav_turret_aircraft return turret_to_aircraft(fav_turret.aircraft) File "D:\il2_stats\src\mod_rating_by_type\turret_utils.py", line 56, in turret_to_aircraft logger.warning("[mod_rating_by_type] Could not find aircraft for turret " + turret_name) Message: '[mod_rating_by_type] Could not find aircraft for turret \u0442\u0443\u0440\u0435\u043b\u044c A-20B' Arguments: () [2022.06.21 02:07:24] [mod_rating_by_type] Could not find aircraft for turret \u0442\u0443\u0440\u0435\u043b\u044c Ju-87 D-3 --- Logging error --- Traceback (most recent call last): File "D:\il2_stats\src\mod_rating_by_type\turret_utils.py", line 53, in turret_to_aircraft aircraft = Object.objects.filter(name=aircraft_name).get() File "D:\il2_stats\.venv\lib\site-packages\django\db\models\query.py", line 380, in get self.model._meta.object_name stats.models.DoesNotExist: Object matching query does not exist. During handling of the above exception, another exception occurred: Traceback (most recent call last): File "C:\Users\pimpochka96\AppData\Local\Programs\Python\Python35-32\lib\logging\__init__.py", line 982, in emit stream.write(msg) File "C:\Users\pimpochka96\AppData\Local\Programs\Python\Python35-32\lib\encodings\cp1252.py", line 19, in encode return codecs.charmap_encode(input,self.errors,encoding_table)[0] UnicodeEncodeError: 'charmap' codec can't encode characters in position 78-83: character maps to <undefined> Call stack: File "C:\Users\pimpochka96\AppData\Local\Programs\Python\Python35-32\lib\threading.py", line 882, in _bootstrap self._bootstrap_inner() File "C:\Users\pimpochka96\AppData\Local\Programs\Python\Python35-32\lib\threading.py", line 914, in _bootstrap_inner self.run() File "C:\Users\pimpochka96\AppData\Local\Programs\Python\Python35-32\lib\threading.py", line 862, in run self._target(*self._args, **self._kwargs) File "D:\il2_stats\.venv\lib\site-packages\waitress\task.py", line 86, in handler_thread task.service() File "D:\il2_stats\.venv\lib\site-packages\waitress\channel.py", line 350, in service task.service() File "D:\il2_stats\.venv\lib\site-packages\waitress\task.py", line 171, in service self.execute() File "D:\il2_stats\.venv\lib\site-packages\waitress\task.py", line 441, in execute app_iter = self.channel.server.application(environ, start_response) File "D:\il2_stats\.venv\lib\site-packages\dj_static.py", line 83, in __call__ return self.application(environ, start_response) File "D:\il2_stats\.venv\lib\site-packages\dj_static.py", line 83, in __call__ return self.application(environ, start_response) File "D:\il2_stats\.venv\lib\site-packages\django\core\handlers\wsgi.py", line 157, in __call__ response = self.get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\core\handlers\base.py", line 124, in get_response response = self._middleware_chain(request) File "D:\il2_stats\.venv\lib\site-packages\django\core\handlers\exception.py", line 41, in inner response = get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\utils\deprecation.py", line 140, in __call__ response = self.get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\core\handlers\exception.py", line 41, in inner response = get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\utils\deprecation.py", line 140, in __call__ response = self.get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\core\handlers\exception.py", line 41, in inner response = get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\utils\deprecation.py", line 140, in __call__ response = self.get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\core\handlers\exception.py", line 41, in inner response = get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\utils\deprecation.py", line 140, in __call__ response = self.get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\core\handlers\exception.py", line 41, in inner response = get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\utils\deprecation.py", line 140, in __call__ response = self.get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\core\handlers\exception.py", line 41, in inner response = get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\utils\deprecation.py", line 140, in __call__ response = self.get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\core\handlers\exception.py", line 41, in inner response = get_response(request) File "D:\il2_stats\src\core\middleware.py", line 20, in middleware response = get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\core\handlers\exception.py", line 41, in inner response = get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\utils\deprecation.py", line 140, in __call__ response = self.get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\core\handlers\exception.py", line 41, in inner response = get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\utils\deprecation.py", line 140, in __call__ response = self.get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\core\handlers\exception.py", line 41, in inner response = get_response(request) File "D:\il2_stats\src\stats\middleware.py", line 29, in middleware response = get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\core\handlers\exception.py", line 41, in inner response = get_response(request) File "D:\il2_stats\src\mod_rating_by_type\middleware.py", line 15, in middleware response = get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\core\handlers\exception.py", line 41, in inner response = get_response(request) File "D:\il2_stats\src\mod_rating_by_type\middleware.py", line 40, in middleware response = get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\core\handlers\exception.py", line 41, in inner response = get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\core\handlers\base.py", line 185, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) File "C:\Users\pimpochka96\AppData\Local\Programs\Python\Python35-32\lib\contextlib.py", line 30, in inner return func(*args, **kwds) File "D:\il2_stats\src\mod_rating_by_type\views.py", line 1349, in gunner fav_aircraft = __get_fav_turret_aircraft(player) File "D:\il2_stats\src\mod_rating_by_type\views.py", line 253, in __get_fav_turret_aircraft return turret_to_aircraft(fav_turret.aircraft) File "D:\il2_stats\src\mod_rating_by_type\turret_utils.py", line 56, in turret_to_aircraft logger.warning("[mod_rating_by_type] Could not find aircraft for turret " + turret_name) Message: '[mod_rating_by_type] Could not find aircraft for turret \u0442\u0443\u0440\u0435\u043b\u044c Ju-87 D-3' Arguments: () [2022.06.21 02:07:34] [mod_rating_by_type] Could not find aircraft for turret \u0442\u0443\u0440\u0435\u043b\u044c Ju-87 D-3 --- Logging error --- Traceback (most recent call last): File "D:\il2_stats\src\mod_rating_by_type\turret_utils.py", line 53, in turret_to_aircraft aircraft = Object.objects.filter(name=aircraft_name).get() File "D:\il2_stats\.venv\lib\site-packages\django\db\models\query.py", line 380, in get self.model._meta.object_name stats.models.DoesNotExist: Object matching query does not exist. During handling of the above exception, another exception occurred: Traceback (most recent call last): File "C:\Users\pimpochka96\AppData\Local\Programs\Python\Python35-32\lib\logging\__init__.py", line 982, in emit stream.write(msg) File "C:\Users\pimpochka96\AppData\Local\Programs\Python\Python35-32\lib\encodings\cp1252.py", line 19, in encode return codecs.charmap_encode(input,self.errors,encoding_table)[0] UnicodeEncodeError: 'charmap' codec can't encode characters in position 78-83: character maps to <undefined> Call stack: File "C:\Users\pimpochka96\AppData\Local\Programs\Python\Python35-32\lib\threading.py", line 882, in _bootstrap self._bootstrap_inner() File "C:\Users\pimpochka96\AppData\Local\Programs\Python\Python35-32\lib\threading.py", line 914, in _bootstrap_inner self.run() File "C:\Users\pimpochka96\AppData\Local\Programs\Python\Python35-32\lib\threading.py", line 862, in run self._target(*self._args, **self._kwargs) File "D:\il2_stats\.venv\lib\site-packages\waitress\task.py", line 86, in handler_thread task.service() File "D:\il2_stats\.venv\lib\site-packages\waitress\channel.py", line 350, in service task.service() File "D:\il2_stats\.venv\lib\site-packages\waitress\task.py", line 171, in service self.execute() File "D:\il2_stats\.venv\lib\site-packages\waitress\task.py", line 441, in execute app_iter = self.channel.server.application(environ, start_response) File "D:\il2_stats\.venv\lib\site-packages\dj_static.py", line 83, in __call__ return self.application(environ, start_response) File "D:\il2_stats\.venv\lib\site-packages\dj_static.py", line 83, in __call__ return self.application(environ, start_response) File "D:\il2_stats\.venv\lib\site-packages\django\core\handlers\wsgi.py", line 157, in __call__ response = self.get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\core\handlers\base.py", line 124, in get_response response = self._middleware_chain(request) File "D:\il2_stats\.venv\lib\site-packages\django\core\handlers\exception.py", line 41, in inner response = get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\utils\deprecation.py", line 140, in __call__ response = self.get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\core\handlers\exception.py", line 41, in inner response = get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\utils\deprecation.py", line 140, in __call__ response = self.get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\core\handlers\exception.py", line 41, in inner response = get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\utils\deprecation.py", line 140, in __call__ response = self.get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\core\handlers\exception.py", line 41, in inner response = get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\utils\deprecation.py", line 140, in __call__ response = self.get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\core\handlers\exception.py", line 41, in inner response = get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\utils\deprecation.py", line 140, in __call__ response = self.get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\core\handlers\exception.py", line 41, in inner response = get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\utils\deprecation.py", line 140, in __call__ response = self.get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\core\handlers\exception.py", line 41, in inner response = get_response(request) File "D:\il2_stats\src\core\middleware.py", line 20, in middleware response = get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\core\handlers\exception.py", line 41, in inner response = get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\utils\deprecation.py", line 140, in __call__ response = self.get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\core\handlers\exception.py", line 41, in inner response = get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\utils\deprecation.py", line 140, in __call__ response = self.get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\core\handlers\exception.py", line 41, in inner response = get_response(request) File "D:\il2_stats\src\stats\middleware.py", line 29, in middleware response = get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\core\handlers\exception.py", line 41, in inner response = get_response(request) File "D:\il2_stats\src\mod_rating_by_type\middleware.py", line 15, in middleware response = get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\core\handlers\exception.py", line 41, in inner response = get_response(request) File "D:\il2_stats\src\mod_rating_by_type\middleware.py", line 40, in middleware response = get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\core\handlers\exception.py", line 41, in inner response = get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\core\handlers\base.py", line 185, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) File "C:\Users\pimpochka96\AppData\Local\Programs\Python\Python35-32\lib\contextlib.py", line 30, in inner return func(*args, **kwds) File "D:\il2_stats\src\mod_rating_by_type\views.py", line 1349, in gunner fav_aircraft = __get_fav_turret_aircraft(player) File "D:\il2_stats\src\mod_rating_by_type\views.py", line 253, in __get_fav_turret_aircraft return turret_to_aircraft(fav_turret.aircraft) File "D:\il2_stats\src\mod_rating_by_type\turret_utils.py", line 56, in turret_to_aircraft logger.warning("[mod_rating_by_type] Could not find aircraft for turret " + turret_name) Message: '[mod_rating_by_type] Could not find aircraft for turret \u0442\u0443\u0440\u0435\u043b\u044c Ju-87 D-3' Arguments: () [2022.06.21 02:07:44] [mod_rating_by_type] Could not find aircraft for turret \u0442\u0443\u0440\u0435\u043b\u044c Ju-87 D-3 --- Logging error --- Traceback (most recent call last): File "D:\il2_stats\src\mod_rating_by_type\turret_utils.py", line 53, in turret_to_aircraft aircraft = Object.objects.filter(name=aircraft_name).get() File "D:\il2_stats\.venv\lib\site-packages\django\db\models\query.py", line 380, in get self.model._meta.object_name stats.models.DoesNotExist: Object matching query does not exist. During handling of the above exception, another exception occurred: Traceback (most recent call last): File "C:\Users\pimpochka96\AppData\Local\Programs\Python\Python35-32\lib\logging\__init__.py", line 982, in emit stream.write(msg) File "C:\Users\pimpochka96\AppData\Local\Programs\Python\Python35-32\lib\encodings\cp1252.py", line 19, in encode return codecs.charmap_encode(input,self.errors,encoding_table)[0] UnicodeEncodeError: 'charmap' codec can't encode characters in position 78-83: character maps to <undefined> Call stack: File "C:\Users\pimpochka96\AppData\Local\Programs\Python\Python35-32\lib\threading.py", line 882, in _bootstrap self._bootstrap_inner() File "C:\Users\pimpochka96\AppData\Local\Programs\Python\Python35-32\lib\threading.py", line 914, in _bootstrap_inner self.run() File "C:\Users\pimpochka96\AppData\Local\Programs\Python\Python35-32\lib\threading.py", line 862, in run self._target(*self._args, **self._kwargs) File "D:\il2_stats\.venv\lib\site-packages\waitress\task.py", line 86, in handler_thread task.service() File "D:\il2_stats\.venv\lib\site-packages\waitress\channel.py", line 350, in service task.service() File "D:\il2_stats\.venv\lib\site-packages\waitress\task.py", line 171, in service self.execute() File "D:\il2_stats\.venv\lib\site-packages\waitress\task.py", line 441, in execute app_iter = self.channel.server.application(environ, start_response) File "D:\il2_stats\.venv\lib\site-packages\dj_static.py", line 83, in __call__ return self.application(environ, start_response) File "D:\il2_stats\.venv\lib\site-packages\dj_static.py", line 83, in __call__ return self.application(environ, start_response) File "D:\il2_stats\.venv\lib\site-packages\django\core\handlers\wsgi.py", line 157, in __call__ response = self.get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\core\handlers\base.py", line 124, in get_response response = self._middleware_chain(request) File "D:\il2_stats\.venv\lib\site-packages\django\core\handlers\exception.py", line 41, in inner response = get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\utils\deprecation.py", line 140, in __call__ response = self.get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\core\handlers\exception.py", line 41, in inner response = get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\utils\deprecation.py", line 140, in __call__ response = self.get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\core\handlers\exception.py", line 41, in inner response = get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\utils\deprecation.py", line 140, in __call__ response = self.get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\core\handlers\exception.py", line 41, in inner response = get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\utils\deprecation.py", line 140, in __call__ response = self.get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\core\handlers\exception.py", line 41, in inner response = get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\utils\deprecation.py", line 140, in __call__ response = self.get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\core\handlers\exception.py", line 41, in inner response = get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\utils\deprecation.py", line 140, in __call__ response = self.get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\core\handlers\exception.py", line 41, in inner response = get_response(request) File "D:\il2_stats\src\core\middleware.py", line 20, in middleware response = get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\core\handlers\exception.py", line 41, in inner response = get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\utils\deprecation.py", line 140, in __call__ response = self.get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\core\handlers\exception.py", line 41, in inner response = get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\utils\deprecation.py", line 140, in __call__ response = self.get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\core\handlers\exception.py", line 41, in inner response = get_response(request) File "D:\il2_stats\src\stats\middleware.py", line 29, in middleware response = get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\core\handlers\exception.py", line 41, in inner response = get_response(request) File "D:\il2_stats\src\mod_rating_by_type\middleware.py", line 15, in middleware response = get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\core\handlers\exception.py", line 41, in inner response = get_response(request) File "D:\il2_stats\src\mod_rating_by_type\middleware.py", line 40, in middleware response = get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\core\handlers\exception.py", line 41, in inner response = get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\core\handlers\base.py", line 185, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) File "C:\Users\pimpochka96\AppData\Local\Programs\Python\Python35-32\lib\contextlib.py", line 30, in inner return func(*args, **kwds) File "D:\il2_stats\src\mod_rating_by_type\views.py", line 1349, in gunner fav_aircraft = __get_fav_turret_aircraft(player) File "D:\il2_stats\src\mod_rating_by_type\views.py", line 253, in __get_fav_turret_aircraft return turret_to_aircraft(fav_turret.aircraft) File "D:\il2_stats\src\mod_rating_by_type\turret_utils.py", line 56, in turret_to_aircraft logger.warning("[mod_rating_by_type] Could not find aircraft for turret " + turret_name) Message: '[mod_rating_by_type] Could not find aircraft for turret \u0442\u0443\u0440\u0435\u043b\u044c Ju-87 D-3' Arguments: ()
=FEW=Revolves Posted June 21, 2022 Author Posted June 21, 2022 12 hours ago, NHK295M said: it's working but in logs write Message: '[mod_rating_by_type] Could not find aircraft for turret \u0442\u0443\u0440\u0435\u043b\u044c Ju-87 D-3' Arguments: () and many over dirty words when open gunner stats page Hide contents D:\il2_stats\run>cd ../src D:\il2_stats\src>"../.venv/Scripts/python.exe" web.py Mod [mod_stats_by_aircraft] added to INSTALLED_APPS Mod [mod_rating_by_type] added to INSTALLED_APPS [mod_rating_by_type] Added module ammo_breakdown [mod_rating_by_type] Added module flight_time_bonus [mod_rating_by_type] Added module undamaged_bailout_penalty [mod_rating_by_type] Added module adjustable_bonuses_penalties [mod_rating_by_type] Added module rearm_accuracy_workaround [mod_rating_by_type] Added module bailout_accuracy_workaround [mod_rating_by_type] Added module gunner_stats Serving on http://NSFK2:80 [2022.06.21 02:05:42] [mod_rating_by_type] Could not find aircraft for turret \u0442\u0443\u0440\u0435\u043b\u044c Ju-87 D-3 --- Logging error --- Traceback (most recent call last): File "D:\il2_stats\src\mod_rating_by_type\turret_utils.py", line 53, in turret_to_aircraft aircraft = Object.objects.filter(name=aircraft_name).get() File "D:\il2_stats\.venv\lib\site-packages\django\db\models\query.py", line 380, in get self.model._meta.object_name stats.models.DoesNotExist: Object matching query does not exist. During handling of the above exception, another exception occurred: Traceback (most recent call last): File "C:\Users\pimpochka96\AppData\Local\Programs\Python\Python35-32\lib\logging\__init__.py", line 982, in emit stream.write(msg) File "C:\Users\pimpochka96\AppData\Local\Programs\Python\Python35-32\lib\encodings\cp1252.py", line 19, in encode return codecs.charmap_encode(input,self.errors,encoding_table)[0] UnicodeEncodeError: 'charmap' codec can't encode characters in position 78-83: character maps to <undefined> Call stack: File "C:\Users\pimpochka96\AppData\Local\Programs\Python\Python35-32\lib\threading.py", line 882, in _bootstrap self._bootstrap_inner() File "C:\Users\pimpochka96\AppData\Local\Programs\Python\Python35-32\lib\threading.py", line 914, in _bootstrap_inner self.run() File "C:\Users\pimpochka96\AppData\Local\Programs\Python\Python35-32\lib\threading.py", line 862, in run self._target(*self._args, **self._kwargs) File "D:\il2_stats\.venv\lib\site-packages\waitress\task.py", line 86, in handler_thread task.service() File "D:\il2_stats\.venv\lib\site-packages\waitress\channel.py", line 350, in service task.service() File "D:\il2_stats\.venv\lib\site-packages\waitress\task.py", line 171, in service self.execute() File "D:\il2_stats\.venv\lib\site-packages\waitress\task.py", line 441, in execute app_iter = self.channel.server.application(environ, start_response) File "D:\il2_stats\.venv\lib\site-packages\dj_static.py", line 83, in __call__ return self.application(environ, start_response) File "D:\il2_stats\.venv\lib\site-packages\dj_static.py", line 83, in __call__ return self.application(environ, start_response) File "D:\il2_stats\.venv\lib\site-packages\django\core\handlers\wsgi.py", line 157, in __call__ response = self.get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\core\handlers\base.py", line 124, in get_response response = self._middleware_chain(request) File "D:\il2_stats\.venv\lib\site-packages\django\core\handlers\exception.py", line 41, in inner response = get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\utils\deprecation.py", line 140, in __call__ response = self.get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\core\handlers\exception.py", line 41, in inner response = get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\utils\deprecation.py", line 140, in __call__ response = self.get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\core\handlers\exception.py", line 41, in inner response = get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\utils\deprecation.py", line 140, in __call__ response = self.get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\core\handlers\exception.py", line 41, in inner response = get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\utils\deprecation.py", line 140, in __call__ response = self.get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\core\handlers\exception.py", line 41, in inner response = get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\utils\deprecation.py", line 140, in __call__ response = self.get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\core\handlers\exception.py", line 41, in inner response = get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\utils\deprecation.py", line 140, in __call__ response = self.get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\core\handlers\exception.py", line 41, in inner response = get_response(request) File "D:\il2_stats\src\core\middleware.py", line 20, in middleware response = get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\core\handlers\exception.py", line 41, in inner response = get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\utils\deprecation.py", line 140, in __call__ response = self.get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\core\handlers\exception.py", line 41, in inner response = get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\utils\deprecation.py", line 140, in __call__ response = self.get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\core\handlers\exception.py", line 41, in inner response = get_response(request) File "D:\il2_stats\src\stats\middleware.py", line 29, in middleware response = get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\core\handlers\exception.py", line 41, in inner response = get_response(request) File "D:\il2_stats\src\mod_rating_by_type\middleware.py", line 15, in middleware response = get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\core\handlers\exception.py", line 41, in inner response = get_response(request) File "D:\il2_stats\src\mod_rating_by_type\middleware.py", line 40, in middleware response = get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\core\handlers\exception.py", line 41, in inner response = get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\core\handlers\base.py", line 185, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) File "C:\Users\pimpochka96\AppData\Local\Programs\Python\Python35-32\lib\contextlib.py", line 30, in inner return func(*args, **kwds) File "D:\il2_stats\src\mod_rating_by_type\views.py", line 1349, in gunner fav_aircraft = __get_fav_turret_aircraft(player) File "D:\il2_stats\src\mod_rating_by_type\views.py", line 253, in __get_fav_turret_aircraft return turret_to_aircraft(fav_turret.aircraft) File "D:\il2_stats\src\mod_rating_by_type\turret_utils.py", line 56, in turret_to_aircraft logger.warning("[mod_rating_by_type] Could not find aircraft for turret " + turret_name) Message: '[mod_rating_by_type] Could not find aircraft for turret \u0442\u0443\u0440\u0435\u043b\u044c Ju-87 D-3' Arguments: () [2022.06.21 02:05:46] [mod_rating_by_type] Could not find aircraft for turret \u0442\u0443\u0440\u0435\u043b\u044c Ju-87 D-3 --- Logging error --- Traceback (most recent call last): File "D:\il2_stats\src\mod_rating_by_type\turret_utils.py", line 53, in turret_to_aircraft aircraft = Object.objects.filter(name=aircraft_name).get() File "D:\il2_stats\.venv\lib\site-packages\django\db\models\query.py", line 380, in get self.model._meta.object_name stats.models.DoesNotExist: Object matching query does not exist. During handling of the above exception, another exception occurred: Traceback (most recent call last): File "C:\Users\pimpochka96\AppData\Local\Programs\Python\Python35-32\lib\logging\__init__.py", line 982, in emit stream.write(msg) File "C:\Users\pimpochka96\AppData\Local\Programs\Python\Python35-32\lib\encodings\cp1252.py", line 19, in encode return codecs.charmap_encode(input,self.errors,encoding_table)[0] UnicodeEncodeError: 'charmap' codec can't encode characters in position 78-83: character maps to <undefined> Call stack: File "C:\Users\pimpochka96\AppData\Local\Programs\Python\Python35-32\lib\threading.py", line 882, in _bootstrap self._bootstrap_inner() File "C:\Users\pimpochka96\AppData\Local\Programs\Python\Python35-32\lib\threading.py", line 914, in _bootstrap_inner self.run() File "C:\Users\pimpochka96\AppData\Local\Programs\Python\Python35-32\lib\threading.py", line 862, in run self._target(*self._args, **self._kwargs) File "D:\il2_stats\.venv\lib\site-packages\waitress\task.py", line 86, in handler_thread task.service() File "D:\il2_stats\.venv\lib\site-packages\waitress\channel.py", line 350, in service task.service() File "D:\il2_stats\.venv\lib\site-packages\waitress\task.py", line 171, in service self.execute() File "D:\il2_stats\.venv\lib\site-packages\waitress\task.py", line 441, in execute app_iter = self.channel.server.application(environ, start_response) File "D:\il2_stats\.venv\lib\site-packages\dj_static.py", line 83, in __call__ return self.application(environ, start_response) File "D:\il2_stats\.venv\lib\site-packages\dj_static.py", line 83, in __call__ return self.application(environ, start_response) File "D:\il2_stats\.venv\lib\site-packages\django\core\handlers\wsgi.py", line 157, in __call__ response = self.get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\core\handlers\base.py", line 124, in get_response response = self._middleware_chain(request) File "D:\il2_stats\.venv\lib\site-packages\django\core\handlers\exception.py", line 41, in inner response = get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\utils\deprecation.py", line 140, in __call__ response = self.get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\core\handlers\exception.py", line 41, in inner response = get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\utils\deprecation.py", line 140, in __call__ response = self.get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\core\handlers\exception.py", line 41, in inner response = get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\utils\deprecation.py", line 140, in __call__ response = self.get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\core\handlers\exception.py", line 41, in inner response = get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\utils\deprecation.py", line 140, in __call__ response = self.get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\core\handlers\exception.py", line 41, in inner response = get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\utils\deprecation.py", line 140, in __call__ response = self.get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\core\handlers\exception.py", line 41, in inner response = get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\utils\deprecation.py", line 140, in __call__ response = self.get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\core\handlers\exception.py", line 41, in inner response = get_response(request) File "D:\il2_stats\src\core\middleware.py", line 20, in middleware response = get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\core\handlers\exception.py", line 41, in inner response = get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\utils\deprecation.py", line 140, in __call__ response = self.get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\core\handlers\exception.py", line 41, in inner response = get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\utils\deprecation.py", line 140, in __call__ response = self.get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\core\handlers\exception.py", line 41, in inner response = get_response(request) File "D:\il2_stats\src\stats\middleware.py", line 29, in middleware response = get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\core\handlers\exception.py", line 41, in inner response = get_response(request) File "D:\il2_stats\src\mod_rating_by_type\middleware.py", line 15, in middleware response = get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\core\handlers\exception.py", line 41, in inner response = get_response(request) File "D:\il2_stats\src\mod_rating_by_type\middleware.py", line 40, in middleware response = get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\core\handlers\exception.py", line 41, in inner response = get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\core\handlers\base.py", line 185, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) File "C:\Users\pimpochka96\AppData\Local\Programs\Python\Python35-32\lib\contextlib.py", line 30, in inner return func(*args, **kwds) File "D:\il2_stats\src\mod_rating_by_type\views.py", line 1349, in gunner fav_aircraft = __get_fav_turret_aircraft(player) File "D:\il2_stats\src\mod_rating_by_type\views.py", line 253, in __get_fav_turret_aircraft return turret_to_aircraft(fav_turret.aircraft) File "D:\il2_stats\src\mod_rating_by_type\turret_utils.py", line 56, in turret_to_aircraft logger.warning("[mod_rating_by_type] Could not find aircraft for turret " + turret_name) Message: '[mod_rating_by_type] Could not find aircraft for turret \u0442\u0443\u0440\u0435\u043b\u044c Ju-87 D-3' Arguments: () [2022.06.21 02:05:50] [mod_rating_by_type] Could not find aircraft for turret \u0442\u0443\u0440\u0435\u043b\u044c Ju-87 D-3 --- Logging error --- Traceback (most recent call last): File "D:\il2_stats\src\mod_rating_by_type\turret_utils.py", line 53, in turret_to_aircraft aircraft = Object.objects.filter(name=aircraft_name).get() File "D:\il2_stats\.venv\lib\site-packages\django\db\models\query.py", line 380, in get self.model._meta.object_name stats.models.DoesNotExist: Object matching query does not exist. During handling of the above exception, another exception occurred: Traceback (most recent call last): File "C:\Users\pimpochka96\AppData\Local\Programs\Python\Python35-32\lib\logging\__init__.py", line 982, in emit stream.write(msg) File "C:\Users\pimpochka96\AppData\Local\Programs\Python\Python35-32\lib\encodings\cp1252.py", line 19, in encode return codecs.charmap_encode(input,self.errors,encoding_table)[0] UnicodeEncodeError: 'charmap' codec can't encode characters in position 78-83: character maps to <undefined> Call stack: File "C:\Users\pimpochka96\AppData\Local\Programs\Python\Python35-32\lib\threading.py", line 882, in _bootstrap self._bootstrap_inner() File "C:\Users\pimpochka96\AppData\Local\Programs\Python\Python35-32\lib\threading.py", line 914, in _bootstrap_inner self.run() File "C:\Users\pimpochka96\AppData\Local\Programs\Python\Python35-32\lib\threading.py", line 862, in run self._target(*self._args, **self._kwargs) File "D:\il2_stats\.venv\lib\site-packages\waitress\task.py", line 86, in handler_thread task.service() File "D:\il2_stats\.venv\lib\site-packages\waitress\channel.py", line 350, in service task.service() File "D:\il2_stats\.venv\lib\site-packages\waitress\task.py", line 171, in service self.execute() File "D:\il2_stats\.venv\lib\site-packages\waitress\task.py", line 441, in execute app_iter = self.channel.server.application(environ, start_response) File "D:\il2_stats\.venv\lib\site-packages\dj_static.py", line 83, in __call__ return self.application(environ, start_response) File "D:\il2_stats\.venv\lib\site-packages\dj_static.py", line 83, in __call__ return self.application(environ, start_response) File "D:\il2_stats\.venv\lib\site-packages\django\core\handlers\wsgi.py", line 157, in __call__ response = self.get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\core\handlers\base.py", line 124, in get_response response = self._middleware_chain(request) File "D:\il2_stats\.venv\lib\site-packages\django\core\handlers\exception.py", line 41, in inner response = get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\utils\deprecation.py", line 140, in __call__ response = self.get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\core\handlers\exception.py", line 41, in inner response = get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\utils\deprecation.py", line 140, in __call__ response = self.get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\core\handlers\exception.py", line 41, in inner response = get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\utils\deprecation.py", line 140, in __call__ response = self.get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\core\handlers\exception.py", line 41, in inner response = get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\utils\deprecation.py", line 140, in __call__ response = self.get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\core\handlers\exception.py", line 41, in inner response = get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\utils\deprecation.py", line 140, in __call__ response = self.get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\core\handlers\exception.py", line 41, in inner response = get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\utils\deprecation.py", line 140, in __call__ response = self.get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\core\handlers\exception.py", line 41, in inner response = get_response(request) File "D:\il2_stats\src\core\middleware.py", line 20, in middleware response = get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\core\handlers\exception.py", line 41, in inner response = get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\utils\deprecation.py", line 140, in __call__ response = self.get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\core\handlers\exception.py", line 41, in inner response = get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\utils\deprecation.py", line 140, in __call__ response = self.get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\core\handlers\exception.py", line 41, in inner response = get_response(request) File "D:\il2_stats\src\stats\middleware.py", line 29, in middleware response = get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\core\handlers\exception.py", line 41, in inner response = get_response(request) File "D:\il2_stats\src\mod_rating_by_type\middleware.py", line 15, in middleware response = get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\core\handlers\exception.py", line 41, in inner response = get_response(request) File "D:\il2_stats\src\mod_rating_by_type\middleware.py", line 40, in middleware response = get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\core\handlers\exception.py", line 41, in inner response = get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\core\handlers\base.py", line 185, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) File "C:\Users\pimpochka96\AppData\Local\Programs\Python\Python35-32\lib\contextlib.py", line 30, in inner return func(*args, **kwds) File "D:\il2_stats\src\mod_rating_by_type\views.py", line 1130, in gunner_sortie aircraft = turret_to_aircraft(sortie.aircraft) File "D:\il2_stats\src\mod_rating_by_type\turret_utils.py", line 56, in turret_to_aircraft logger.warning("[mod_rating_by_type] Could not find aircraft for turret " + turret_name) Message: '[mod_rating_by_type] Could not find aircraft for turret \u0442\u0443\u0440\u0435\u043b\u044c Ju-87 D-3' Arguments: () [2022.06.21 02:06:03] [mod_rating_by_type] Could not find aircraft for turret \u0442\u0443\u0440\u0435\u043b\u044c A-20B --- Logging error --- Traceback (most recent call last): File "D:\il2_stats\src\mod_rating_by_type\turret_utils.py", line 53, in turret_to_aircraft aircraft = Object.objects.filter(name=aircraft_name).get() File "D:\il2_stats\.venv\lib\site-packages\django\db\models\query.py", line 380, in get self.model._meta.object_name stats.models.DoesNotExist: Object matching query does not exist. During handling of the above exception, another exception occurred: Traceback (most recent call last): File "C:\Users\pimpochka96\AppData\Local\Programs\Python\Python35-32\lib\logging\__init__.py", line 982, in emit stream.write(msg) File "C:\Users\pimpochka96\AppData\Local\Programs\Python\Python35-32\lib\encodings\cp1252.py", line 19, in encode return codecs.charmap_encode(input,self.errors,encoding_table)[0] UnicodeEncodeError: 'charmap' codec can't encode characters in position 78-83: character maps to <undefined> Call stack: File "C:\Users\pimpochka96\AppData\Local\Programs\Python\Python35-32\lib\threading.py", line 882, in _bootstrap self._bootstrap_inner() File "C:\Users\pimpochka96\AppData\Local\Programs\Python\Python35-32\lib\threading.py", line 914, in _bootstrap_inner self.run() File "C:\Users\pimpochka96\AppData\Local\Programs\Python\Python35-32\lib\threading.py", line 862, in run self._target(*self._args, **self._kwargs) File "D:\il2_stats\.venv\lib\site-packages\waitress\task.py", line 86, in handler_thread task.service() File "D:\il2_stats\.venv\lib\site-packages\waitress\channel.py", line 350, in service task.service() File "D:\il2_stats\.venv\lib\site-packages\waitress\task.py", line 171, in service self.execute() File "D:\il2_stats\.venv\lib\site-packages\waitress\task.py", line 441, in execute app_iter = self.channel.server.application(environ, start_response) File "D:\il2_stats\.venv\lib\site-packages\dj_static.py", line 83, in __call__ return self.application(environ, start_response) File "D:\il2_stats\.venv\lib\site-packages\dj_static.py", line 83, in __call__ return self.application(environ, start_response) File "D:\il2_stats\.venv\lib\site-packages\django\core\handlers\wsgi.py", line 157, in __call__ response = self.get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\core\handlers\base.py", line 124, in get_response response = self._middleware_chain(request) File "D:\il2_stats\.venv\lib\site-packages\django\core\handlers\exception.py", line 41, in inner response = get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\utils\deprecation.py", line 140, in __call__ response = self.get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\core\handlers\exception.py", line 41, in inner response = get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\utils\deprecation.py", line 140, in __call__ response = self.get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\core\handlers\exception.py", line 41, in inner response = get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\utils\deprecation.py", line 140, in __call__ response = self.get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\core\handlers\exception.py", line 41, in inner response = get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\utils\deprecation.py", line 140, in __call__ response = self.get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\core\handlers\exception.py", line 41, in inner response = get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\utils\deprecation.py", line 140, in __call__ response = self.get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\core\handlers\exception.py", line 41, in inner response = get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\utils\deprecation.py", line 140, in __call__ response = self.get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\core\handlers\exception.py", line 41, in inner response = get_response(request) File "D:\il2_stats\src\core\middleware.py", line 20, in middleware response = get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\core\handlers\exception.py", line 41, in inner response = get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\utils\deprecation.py", line 140, in __call__ response = self.get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\core\handlers\exception.py", line 41, in inner response = get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\utils\deprecation.py", line 140, in __call__ response = self.get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\core\handlers\exception.py", line 41, in inner response = get_response(request) File "D:\il2_stats\src\stats\middleware.py", line 29, in middleware response = get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\core\handlers\exception.py", line 41, in inner response = get_response(request) File "D:\il2_stats\src\mod_rating_by_type\middleware.py", line 15, in middleware response = get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\core\handlers\exception.py", line 41, in inner response = get_response(request) File "D:\il2_stats\src\mod_rating_by_type\middleware.py", line 40, in middleware response = get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\core\handlers\exception.py", line 41, in inner response = get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\core\handlers\base.py", line 185, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) File "C:\Users\pimpochka96\AppData\Local\Programs\Python\Python35-32\lib\contextlib.py", line 30, in inner return func(*args, **kwds) File "D:\il2_stats\src\mod_rating_by_type\views.py", line 1349, in gunner fav_aircraft = __get_fav_turret_aircraft(player) File "D:\il2_stats\src\mod_rating_by_type\views.py", line 253, in __get_fav_turret_aircraft return turret_to_aircraft(fav_turret.aircraft) File "D:\il2_stats\src\mod_rating_by_type\turret_utils.py", line 56, in turret_to_aircraft logger.warning("[mod_rating_by_type] Could not find aircraft for turret " + turret_name) Message: '[mod_rating_by_type] Could not find aircraft for turret \u0442\u0443\u0440\u0435\u043b\u044c A-20B' Arguments: () [2022.06.21 02:07:24] [mod_rating_by_type] Could not find aircraft for turret \u0442\u0443\u0440\u0435\u043b\u044c Ju-87 D-3 --- Logging error --- Traceback (most recent call last): File "D:\il2_stats\src\mod_rating_by_type\turret_utils.py", line 53, in turret_to_aircraft aircraft = Object.objects.filter(name=aircraft_name).get() File "D:\il2_stats\.venv\lib\site-packages\django\db\models\query.py", line 380, in get self.model._meta.object_name stats.models.DoesNotExist: Object matching query does not exist. During handling of the above exception, another exception occurred: Traceback (most recent call last): File "C:\Users\pimpochka96\AppData\Local\Programs\Python\Python35-32\lib\logging\__init__.py", line 982, in emit stream.write(msg) File "C:\Users\pimpochka96\AppData\Local\Programs\Python\Python35-32\lib\encodings\cp1252.py", line 19, in encode return codecs.charmap_encode(input,self.errors,encoding_table)[0] UnicodeEncodeError: 'charmap' codec can't encode characters in position 78-83: character maps to <undefined> Call stack: File "C:\Users\pimpochka96\AppData\Local\Programs\Python\Python35-32\lib\threading.py", line 882, in _bootstrap self._bootstrap_inner() File "C:\Users\pimpochka96\AppData\Local\Programs\Python\Python35-32\lib\threading.py", line 914, in _bootstrap_inner self.run() File "C:\Users\pimpochka96\AppData\Local\Programs\Python\Python35-32\lib\threading.py", line 862, in run self._target(*self._args, **self._kwargs) File "D:\il2_stats\.venv\lib\site-packages\waitress\task.py", line 86, in handler_thread task.service() File "D:\il2_stats\.venv\lib\site-packages\waitress\channel.py", line 350, in service task.service() File "D:\il2_stats\.venv\lib\site-packages\waitress\task.py", line 171, in service self.execute() File "D:\il2_stats\.venv\lib\site-packages\waitress\task.py", line 441, in execute app_iter = self.channel.server.application(environ, start_response) File "D:\il2_stats\.venv\lib\site-packages\dj_static.py", line 83, in __call__ return self.application(environ, start_response) File "D:\il2_stats\.venv\lib\site-packages\dj_static.py", line 83, in __call__ return self.application(environ, start_response) File "D:\il2_stats\.venv\lib\site-packages\django\core\handlers\wsgi.py", line 157, in __call__ response = self.get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\core\handlers\base.py", line 124, in get_response response = self._middleware_chain(request) File "D:\il2_stats\.venv\lib\site-packages\django\core\handlers\exception.py", line 41, in inner response = get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\utils\deprecation.py", line 140, in __call__ response = self.get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\core\handlers\exception.py", line 41, in inner response = get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\utils\deprecation.py", line 140, in __call__ response = self.get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\core\handlers\exception.py", line 41, in inner response = get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\utils\deprecation.py", line 140, in __call__ response = self.get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\core\handlers\exception.py", line 41, in inner response = get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\utils\deprecation.py", line 140, in __call__ response = self.get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\core\handlers\exception.py", line 41, in inner response = get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\utils\deprecation.py", line 140, in __call__ response = self.get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\core\handlers\exception.py", line 41, in inner response = get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\utils\deprecation.py", line 140, in __call__ response = self.get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\core\handlers\exception.py", line 41, in inner response = get_response(request) File "D:\il2_stats\src\core\middleware.py", line 20, in middleware response = get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\core\handlers\exception.py", line 41, in inner response = get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\utils\deprecation.py", line 140, in __call__ response = self.get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\core\handlers\exception.py", line 41, in inner response = get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\utils\deprecation.py", line 140, in __call__ response = self.get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\core\handlers\exception.py", line 41, in inner response = get_response(request) File "D:\il2_stats\src\stats\middleware.py", line 29, in middleware response = get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\core\handlers\exception.py", line 41, in inner response = get_response(request) File "D:\il2_stats\src\mod_rating_by_type\middleware.py", line 15, in middleware response = get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\core\handlers\exception.py", line 41, in inner response = get_response(request) File "D:\il2_stats\src\mod_rating_by_type\middleware.py", line 40, in middleware response = get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\core\handlers\exception.py", line 41, in inner response = get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\core\handlers\base.py", line 185, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) File "C:\Users\pimpochka96\AppData\Local\Programs\Python\Python35-32\lib\contextlib.py", line 30, in inner return func(*args, **kwds) File "D:\il2_stats\src\mod_rating_by_type\views.py", line 1349, in gunner fav_aircraft = __get_fav_turret_aircraft(player) File "D:\il2_stats\src\mod_rating_by_type\views.py", line 253, in __get_fav_turret_aircraft return turret_to_aircraft(fav_turret.aircraft) File "D:\il2_stats\src\mod_rating_by_type\turret_utils.py", line 56, in turret_to_aircraft logger.warning("[mod_rating_by_type] Could not find aircraft for turret " + turret_name) Message: '[mod_rating_by_type] Could not find aircraft for turret \u0442\u0443\u0440\u0435\u043b\u044c Ju-87 D-3' Arguments: () [2022.06.21 02:07:34] [mod_rating_by_type] Could not find aircraft for turret \u0442\u0443\u0440\u0435\u043b\u044c Ju-87 D-3 --- Logging error --- Traceback (most recent call last): File "D:\il2_stats\src\mod_rating_by_type\turret_utils.py", line 53, in turret_to_aircraft aircraft = Object.objects.filter(name=aircraft_name).get() File "D:\il2_stats\.venv\lib\site-packages\django\db\models\query.py", line 380, in get self.model._meta.object_name stats.models.DoesNotExist: Object matching query does not exist. During handling of the above exception, another exception occurred: Traceback (most recent call last): File "C:\Users\pimpochka96\AppData\Local\Programs\Python\Python35-32\lib\logging\__init__.py", line 982, in emit stream.write(msg) File "C:\Users\pimpochka96\AppData\Local\Programs\Python\Python35-32\lib\encodings\cp1252.py", line 19, in encode return codecs.charmap_encode(input,self.errors,encoding_table)[0] UnicodeEncodeError: 'charmap' codec can't encode characters in position 78-83: character maps to <undefined> Call stack: File "C:\Users\pimpochka96\AppData\Local\Programs\Python\Python35-32\lib\threading.py", line 882, in _bootstrap self._bootstrap_inner() File "C:\Users\pimpochka96\AppData\Local\Programs\Python\Python35-32\lib\threading.py", line 914, in _bootstrap_inner self.run() File "C:\Users\pimpochka96\AppData\Local\Programs\Python\Python35-32\lib\threading.py", line 862, in run self._target(*self._args, **self._kwargs) File "D:\il2_stats\.venv\lib\site-packages\waitress\task.py", line 86, in handler_thread task.service() File "D:\il2_stats\.venv\lib\site-packages\waitress\channel.py", line 350, in service task.service() File "D:\il2_stats\.venv\lib\site-packages\waitress\task.py", line 171, in service self.execute() File "D:\il2_stats\.venv\lib\site-packages\waitress\task.py", line 441, in execute app_iter = self.channel.server.application(environ, start_response) File "D:\il2_stats\.venv\lib\site-packages\dj_static.py", line 83, in __call__ return self.application(environ, start_response) File "D:\il2_stats\.venv\lib\site-packages\dj_static.py", line 83, in __call__ return self.application(environ, start_response) File "D:\il2_stats\.venv\lib\site-packages\django\core\handlers\wsgi.py", line 157, in __call__ response = self.get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\core\handlers\base.py", line 124, in get_response response = self._middleware_chain(request) File "D:\il2_stats\.venv\lib\site-packages\django\core\handlers\exception.py", line 41, in inner response = get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\utils\deprecation.py", line 140, in __call__ response = self.get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\core\handlers\exception.py", line 41, in inner response = get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\utils\deprecation.py", line 140, in __call__ response = self.get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\core\handlers\exception.py", line 41, in inner response = get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\utils\deprecation.py", line 140, in __call__ response = self.get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\core\handlers\exception.py", line 41, in inner response = get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\utils\deprecation.py", line 140, in __call__ response = self.get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\core\handlers\exception.py", line 41, in inner response = get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\utils\deprecation.py", line 140, in __call__ response = self.get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\core\handlers\exception.py", line 41, in inner response = get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\utils\deprecation.py", line 140, in __call__ response = self.get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\core\handlers\exception.py", line 41, in inner response = get_response(request) File "D:\il2_stats\src\core\middleware.py", line 20, in middleware response = get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\core\handlers\exception.py", line 41, in inner response = get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\utils\deprecation.py", line 140, in __call__ response = self.get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\core\handlers\exception.py", line 41, in inner response = get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\utils\deprecation.py", line 140, in __call__ response = self.get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\core\handlers\exception.py", line 41, in inner response = get_response(request) File "D:\il2_stats\src\stats\middleware.py", line 29, in middleware response = get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\core\handlers\exception.py", line 41, in inner response = get_response(request) File "D:\il2_stats\src\mod_rating_by_type\middleware.py", line 15, in middleware response = get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\core\handlers\exception.py", line 41, in inner response = get_response(request) File "D:\il2_stats\src\mod_rating_by_type\middleware.py", line 40, in middleware response = get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\core\handlers\exception.py", line 41, in inner response = get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\core\handlers\base.py", line 185, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) File "C:\Users\pimpochka96\AppData\Local\Programs\Python\Python35-32\lib\contextlib.py", line 30, in inner return func(*args, **kwds) File "D:\il2_stats\src\mod_rating_by_type\views.py", line 1349, in gunner fav_aircraft = __get_fav_turret_aircraft(player) File "D:\il2_stats\src\mod_rating_by_type\views.py", line 253, in __get_fav_turret_aircraft return turret_to_aircraft(fav_turret.aircraft) File "D:\il2_stats\src\mod_rating_by_type\turret_utils.py", line 56, in turret_to_aircraft logger.warning("[mod_rating_by_type] Could not find aircraft for turret " + turret_name) Message: '[mod_rating_by_type] Could not find aircraft for turret \u0442\u0443\u0440\u0435\u043b\u044c Ju-87 D-3' Arguments: () [2022.06.21 02:07:44] [mod_rating_by_type] Could not find aircraft for turret \u0442\u0443\u0440\u0435\u043b\u044c Ju-87 D-3 --- Logging error --- Traceback (most recent call last): File "D:\il2_stats\src\mod_rating_by_type\turret_utils.py", line 53, in turret_to_aircraft aircraft = Object.objects.filter(name=aircraft_name).get() File "D:\il2_stats\.venv\lib\site-packages\django\db\models\query.py", line 380, in get self.model._meta.object_name stats.models.DoesNotExist: Object matching query does not exist. During handling of the above exception, another exception occurred: Traceback (most recent call last): File "C:\Users\pimpochka96\AppData\Local\Programs\Python\Python35-32\lib\logging\__init__.py", line 982, in emit stream.write(msg) File "C:\Users\pimpochka96\AppData\Local\Programs\Python\Python35-32\lib\encodings\cp1252.py", line 19, in encode return codecs.charmap_encode(input,self.errors,encoding_table)[0] UnicodeEncodeError: 'charmap' codec can't encode characters in position 78-83: character maps to <undefined> Call stack: File "C:\Users\pimpochka96\AppData\Local\Programs\Python\Python35-32\lib\threading.py", line 882, in _bootstrap self._bootstrap_inner() File "C:\Users\pimpochka96\AppData\Local\Programs\Python\Python35-32\lib\threading.py", line 914, in _bootstrap_inner self.run() File "C:\Users\pimpochka96\AppData\Local\Programs\Python\Python35-32\lib\threading.py", line 862, in run self._target(*self._args, **self._kwargs) File "D:\il2_stats\.venv\lib\site-packages\waitress\task.py", line 86, in handler_thread task.service() File "D:\il2_stats\.venv\lib\site-packages\waitress\channel.py", line 350, in service task.service() File "D:\il2_stats\.venv\lib\site-packages\waitress\task.py", line 171, in service self.execute() File "D:\il2_stats\.venv\lib\site-packages\waitress\task.py", line 441, in execute app_iter = self.channel.server.application(environ, start_response) File "D:\il2_stats\.venv\lib\site-packages\dj_static.py", line 83, in __call__ return self.application(environ, start_response) File "D:\il2_stats\.venv\lib\site-packages\dj_static.py", line 83, in __call__ return self.application(environ, start_response) File "D:\il2_stats\.venv\lib\site-packages\django\core\handlers\wsgi.py", line 157, in __call__ response = self.get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\core\handlers\base.py", line 124, in get_response response = self._middleware_chain(request) File "D:\il2_stats\.venv\lib\site-packages\django\core\handlers\exception.py", line 41, in inner response = get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\utils\deprecation.py", line 140, in __call__ response = self.get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\core\handlers\exception.py", line 41, in inner response = get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\utils\deprecation.py", line 140, in __call__ response = self.get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\core\handlers\exception.py", line 41, in inner response = get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\utils\deprecation.py", line 140, in __call__ response = self.get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\core\handlers\exception.py", line 41, in inner response = get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\utils\deprecation.py", line 140, in __call__ response = self.get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\core\handlers\exception.py", line 41, in inner response = get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\utils\deprecation.py", line 140, in __call__ response = self.get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\core\handlers\exception.py", line 41, in inner response = get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\utils\deprecation.py", line 140, in __call__ response = self.get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\core\handlers\exception.py", line 41, in inner response = get_response(request) File "D:\il2_stats\src\core\middleware.py", line 20, in middleware response = get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\core\handlers\exception.py", line 41, in inner response = get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\utils\deprecation.py", line 140, in __call__ response = self.get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\core\handlers\exception.py", line 41, in inner response = get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\utils\deprecation.py", line 140, in __call__ response = self.get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\core\handlers\exception.py", line 41, in inner response = get_response(request) File "D:\il2_stats\src\stats\middleware.py", line 29, in middleware response = get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\core\handlers\exception.py", line 41, in inner response = get_response(request) File "D:\il2_stats\src\mod_rating_by_type\middleware.py", line 15, in middleware response = get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\core\handlers\exception.py", line 41, in inner response = get_response(request) File "D:\il2_stats\src\mod_rating_by_type\middleware.py", line 40, in middleware response = get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\core\handlers\exception.py", line 41, in inner response = get_response(request) File "D:\il2_stats\.venv\lib\site-packages\django\core\handlers\base.py", line 185, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) File "C:\Users\pimpochka96\AppData\Local\Programs\Python\Python35-32\lib\contextlib.py", line 30, in inner return func(*args, **kwds) File "D:\il2_stats\src\mod_rating_by_type\views.py", line 1349, in gunner fav_aircraft = __get_fav_turret_aircraft(player) File "D:\il2_stats\src\mod_rating_by_type\views.py", line 253, in __get_fav_turret_aircraft return turret_to_aircraft(fav_turret.aircraft) File "D:\il2_stats\src\mod_rating_by_type\turret_utils.py", line 56, in turret_to_aircraft logger.warning("[mod_rating_by_type] Could not find aircraft for turret " + turret_name) Message: '[mod_rating_by_type] Could not find aircraft for turret \u0442\u0443\u0440\u0435\u043b\u044c Ju-87 D-3' Arguments: () Uff, it's having trouble finding aircraft images for gunner pages. I'll try to fix it this weekend.
=AD=uumembwa Posted June 21, 2022 Posted June 21, 2022 Just now, =FEW=Revolves said: Uff, it's having trouble finding aircraft images for gunner pages. I'll try to fix it this weekend. Maybe just copy that from pilot page and use aircraft img folder?
=FEW=Revolves Posted June 21, 2022 Author Posted June 21, 2022 (edited) 7 minutes ago, NHK295M said: Maybe just copy that from pilot page and use aircraft img folder? yeah it's trying to use that aircraft img folder, but the problem is that the parser doesn't have the aircraft name, just the turret name. It has trouble going from "JU-87 D-3 Turret" or something like that to figuring out that it is a Stuka. Currently the solution is hacky, better would be to go to parent sortie instead of name matching, but that is something that requires some work which I haven't done yet EDIT: Ah! I know what the problem is, it only happens in Russian version of the website—there needs to be "name_en" instead of"name" in certain parts of the code. You can just ignore the the error for now I think, its "just" causes missing images + that annoying printout. Edited June 21, 2022 by =FEW=Revolves
=AD=uumembwa Posted June 21, 2022 Posted June 21, 2022 (edited) Well gunner page open without error 500 so it work now just with trash in logfile... But i see 3 pilots in rating and all are with neutral coalition and zero flight time... http://il2action.ddns.net/en/gunners/?tour=13 Edited June 21, 2022 by NHK295M
=FEW=Revolves Posted June 21, 2022 Author Posted June 21, 2022 1 hour ago, NHK295M said: Well gunner page open without error 500 so it work now just with trash in logfile... But i see 3 pilots in rating and all are with neutral coalition and zero flight time... http://il2action.ddns.net/en/gunners/?tour=13 0 flight time is correct, since all of those pilots have only one sortie with very low flight time (under 1 minute). It's rounded down to 0 minutes - perhaps a bit confusing. Look here: http://il2action.ddns.net/en/gunners/?tour=8 to see a couple pilots with non-zero flight time Neutral coalition seems like a bug, you're right, will fix on this weekend. Likely some sorties not counting towards coalation count.
super-truite Posted June 22, 2022 Posted June 22, 2022 (edited) After switching to a new dedicated server I finally decided to install back the stats ^^, but I have some issues with the installation of the bundle. If I add mods = mod_rating_by_type, mod_stats_by_aircraft, like in the readme.txt, I get the error attached when starting update.cmd Edit: ok got it it was self explanatory. Just had to change "mods" to "modules" in the config. In the doc, the example is given as "mods = mod_rating_by_type, mod_stats_by_aircraft" Some questions about the stats: regarding squads, I tried to create a squad. We are 3 members but only myself is visible in the pilots/tankers . The other members registered with the same name as what is seen in game. Also, I need to use the search bar to find the squad and I do not see it directly here: http://aas-il2.com/fr/squads/?tour=1 It is not clear to me how much mods are available in the bundle and how to activate them. Where is the "Stats Enhancements readme" mentioned in the main readme ? Edited June 22, 2022 by super-truite
=FEW=Revolves Posted June 23, 2022 Author Posted June 23, 2022 (edited) 14 hours ago, super-truite said: After switching to a new dedicated server I finally decided to install back the stats ^^, but I have some issues with the installation of the bundle. If I add mods = mod_rating_by_type, mod_stats_by_aircraft, like in the readme.txt, I get the error attached when starting update.cmd Edit: ok got it it was self explanatory. Just had to change "mods" to "modules" in the config. In the doc, the example is given as "mods = mod_rating_by_type, mod_stats_by_aircraft" [ ... ] It is not clear to me how much mods are available in the bundle and how to activate them. Where is the "Stats Enhancements readme" mentioned in the main readme ? Hey! You need to keep mods = mod_rating_by_type, mod_stats_by_aircraft But you also need to add in another line in your config which looks like modules = split_rankings, ammo_breakdown, [...] So your config should look like: mods = mod_rating_by_type, mod_stats_by_aircraft modules = [...] A module is a part of the "enhancements" mod - i.e. a part of it you can activate or deactivate. The full list of them can be found here inside the spoilers (I'll improve the readme with the link): The config name inside each module is what you need to put inside the "modules" parameter. 14 hours ago, super-truite said: Some questions about the stats: regarding squads, I tried to create a squad. We are 3 members but only myself is visible in the pilots/tankers . The other members registered with the same name as what is seen in game. Also, I need to use the search bar to find the squad and I do not see it directly here: http://aas-il2.com/fr/squads/?tour=1 I think by default you need to have at least 4 members in your squad who have flown/played at least once in the tour you're looking at for the squad to show. If you want, you can change this number - it is located in src/core/settings.py (open the .py file using Notepad or Notepad++), you can find SQUAD_MEMBERS_MINIMUM = 4 in line 338 - just switch out the four. Edited June 23, 2022 by =FEW=Revolves 1
super-truite Posted June 23, 2022 Posted June 23, 2022 thanks a lot for the detailed answer ! All clear and working now! 1
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now