Program Is Extremely Slow and Logs Show Python Coding Errors
Program has slowed down - Is not refreshing After a Battle Like it Used to do

My log displays numerous errors/exceptions

I have to wait approximately 3 to 5 minutes to see the most recent battle info

After further analysis,  I found that there were 172 .dat files in my 'C:\Users\Me\AppData\Roaming\Wot Numbers\BattleResults folder

I deleted all 172 files and magically Wot Numbers was back up to speed - so to speak

This folder is not being "cleaned up" anymore?  Don't know

Here is a snippet of my latest log - main issue is at least one python coding error per "Message:  unsupported operand type(s) for +: 'str' and 'int':" displayed throughout the log - python code is attempting to execute a mathematical calculation when at least one variable or value in the calculation is a string

And the same error/exception occurs as the program attempts to process each unique .dat file

The log:

2021-05-23 10:15:24 AM // Application Exit

2021-05-23 10:17:58 AM '********* Application startup - Wot Numbers 0.28.8 (23105) *********'

2021-05-23 10:17:58 AM // Automatically fetch new battles started

2021-05-23 10:18:06 AM // Running initial battle fetch...

2021-05-23 10:18:06 AM // Manual run, looking for new dossier file

2021-05-23 10:18:06 AM > Start analyze dossier file

2021-05-23 10:18:06 AM > > Dossier file handling started

2021-05-23 10:18:06 AM > > Start converting Dossier DAT-file to json

2021-05-23 10:18:08 AM > > Finish converted Dossier DAT-file to json

2021-05-23 10:18:08 AM > > IronPython output:

###### WoTDC2J 1.7.0.0 DOSSIER FILE CONVERT TO JSON

Time: 2021-05-23 10:18:07.790000

Encoding: ascii - mbcs

Processing C:\Users\me\AppData\Roaming\Wot Numbers\dossier.dat

Dossier version 24

###### Done!

2021-05-23 10:18:08 AM > > Renamed copied dossierfile as previous file

2021-05-23 10:18:11 AM > > Battle fetch performed successfully, no new battles found

2021-05-23 10:18:11 AM > Reading battle files started after successfully dossier file check

2021-05-23 10:18:11 AM > Start looking for battle result

2021-05-23 10:18:11 AM > > Start copying battle DAT-file: C:\Users\Me\AppData\Roaming\Wargaming.net\WorldOfTanks\battle_results\IFZG233SKNWGC6LFOJBUCOZRHA3TMOI=\5307971314224277.dat

2021-05-23 10:18:11 AM > > > Battlefile read successful (waited: 0ms)

2021-05-23 10:18:11 AM > > > Copied successfully battle DAT-file: C:\Users\Me\AppData\Roaming\Wargaming.net\WorldOfTanks\battle_results\IFZG233SKNWGC6LFOJBUCOZRHA3TMOI=\5307971314224277.dat

2021-05-23 10:18:11 AM > > Start copying battle DAT-file: C:\Users\Me\AppData\Roaming\Wargaming.net\WorldOfTanks\battle_results\IFZG233SKNWGC6LFOJBUCOZRHA3TMOI=\5963078380915073.dat

2021-05-23 10:18:11 AM > > > Battlefile read successful (waited: 0ms)

2021-05-23 10:18:11 AM > > > Copied successfully battle DAT-file: C:\Users\Me\AppData\Roaming\Wargaming.net\WorldOfTanks\battle_results\IFZG233SKNWGC6LFOJBUCOZRHA3TMOI=\5963078380915073.dat

2021-05-23 10:18:11 AM > > Start copying battle DAT-file: C:\Users\Me\AppData\Roaming\Wargaming.net\WorldOfTanks\battle_results\IFZG233SKNWGC6LFOJBUCOZRHA3TMOI=\6562217728776339.dat

2021-05-23 10:18:11 AM > > > Battlefile read successful (waited: 0ms)

2021-05-23 10:18:11 AM > > > Copied successfully battle DAT-file: C:\Users\Me\AppData\Roaming\Wargaming.net\WorldOfTanks\battle_results\IFZG233SKNWGC6LFOJBUCOZRHA3TMOI=\6562217728776339.dat

2021-05-23 10:18:11 AM > > Start copying battle DAT-file: C:\Users\Me\AppData\Roaming\Wargaming.net\WorldOfTanks\battle_results\IFZG233SKNWGC6LFOJBUCOZRHA3TOMA=\4713882847912466.dat

2021-05-23 10:18:11 AM > > > Battlefile read successful (waited: 0ms)

2021-05-23 10:18:11 AM > > > Copied successfully battle DAT-file: C:\Users\Me\AppData\Roaming\Wargaming.net\WorldOfTanks\battle_results\IFZG233SKNWGC6LFOJBUCOZRHA3TOMA=\4713882847912466.dat

2021-05-23 10:18:11 AM > > Start copying battle DAT-file: C:\Users\Me\AppData\Roaming\Wargaming.net\WorldOfTanks\battle_results\IFZG233SKNWGC6LFOJBUCOZRHA3TOMA=\5962902287260432.dat

2021-05-23 10:18:11 AM > > > Battlefile read successful (waited: 0ms)

2021-05-23 10:18:11 AM > > > Copied successfully battle DAT-file: C:\Users\Me\AppData\Roaming\Wargaming.net\WorldOfTanks\battle_results\IFZG233SKNWGC6LFOJBUCOZRHA3TOMA=\5962902287260432.dat

2021-05-23 10:18:11 AM > > Start copying battle DAT-file: C:\Users\Me\AppData\Roaming\Wargaming.net\WorldOfTanks\battle_results\IFZG233SKNWGC6LFOJBUCOZRHA3TOMA=\5962940941966504.dat

2021-05-23 10:18:11 AM > > > Battlefile read successful (waited: 0ms)

2021-05-23 10:18:11 AM > > > Copied successfully battle DAT-file: C:\Users\Me\AppData\Roaming\Wargaming.net\WorldOfTanks\battle_results\IFZG233SKNWGC6LFOJBUCOZRHA3TOMA=\5962940941966504.dat

2021-05-23 10:18:11 AM > > Start copying battle DAT-file: C:\Users\Me\AppData\Roaming\Wargaming.net\WorldOfTanks\battle_results\IFZG233SKNWGC6LFOJBUCOZRHA3TOMA=\6562256383484958.dat

2021-05-23 10:18:11 AM > > > Battlefile read successful (waited: 0ms)

2021-05-23 10:18:11 AM > > > Copied successfully battle DAT-file: C:\Users\Me\AppData\Roaming\Wargaming.net\WorldOfTanks\battle_results\IFZG233SKNWGC6LFOJBUCOZRHA3TOMA=\6562256383484958.dat

2021-05-23 10:18:11 AM > > Start copying battle DAT-file: C:\Users\Me\AppData\Roaming\Wargaming.net\WorldOfTanks\battle_results\IFZG233SKNWGC6LFOJBUCOZRHA3TOMA=\6562569916096401.dat

2021-05-23 10:18:11 AM > > > Battlefile read successful (waited: 0ms)

2021-05-23 10:18:11 AM > > > Copied successfully battle DAT-file: C:\Users\Me\AppData\Roaming\Wargaming.net\WorldOfTanks\battle_results\IFZG233SKNWGC6LFOJBUCOZRHA3TOMA=\6562569916096401.dat

2021-05-23 10:18:11 AM > > Start copying battle DAT-file: C:\Users\Me\AppData\Roaming\Wargaming.net\WorldOfTanks\battle_results\IFZG233SKNWGC6LFOJBUCOZRHA3TOMA=\7105896163944383.dat

2021-05-23 10:18:11 AM > > > Battlefile read successful (waited: 0ms)

2021-05-23 10:18:11 AM > > > Copied successfully battle DAT-file: C:\Users\Me\AppData\Roaming\Wargaming.net\WorldOfTanks\battle_results\IFZG233SKNWGC6LFOJBUCOZRHA3TOMA=\7105896163944383.dat

2021-05-23 10:18:11 AM > > Start copying battle DAT-file: C:\Users\Me\AppData\Roaming\Wargaming.net\WorldOfTanks\battle_results\IFZG233SKNWGC6LFOJBUCOZRHA3TOMA=\7106067962635749.dat

2021-05-23 10:18:11 AM > > > Battlefile read successful (waited: 0ms)

2021-05-23 10:18:11 AM > > > Copied successfully battle DAT-file: C:\Users\Me\AppData\Roaming\Wargaming.net\WorldOfTanks\battle_results\IFZG233SKNWGC6LFOJBUCOZRHA3TOMA=\7106067962635749.dat

2021-05-23 10:18:11 AM > > Start copying battle DAT-file: C:\Users\Me\AppData\Roaming\Wargaming.net\WorldOfTanks\battle_results\IFZG233SKNWGC6LFOJBUCOZRHA3TOMA=\7106248351263499.dat

2021-05-23 10:18:11 AM > > > Battlefile read successful (waited: 0ms)

2021-05-23 10:18:11 AM > > > Copied successfully battle DAT-file: C:\Users\Me\AppData\Roaming\Wargaming.net\WorldOfTanks\battle_results\IFZG233SKNWGC6LFOJBUCOZRHA3TOMA=\7106248351263499.dat

2021-05-23 10:18:11 AM > > Start converting 11 battle DAT-files to json

2021-05-23 10:18:11 AM > > Starting to converted battle DAT-file to JSON file: C:\Users\me\AppData\Roaming\Wot Numbers\BattleResult\4713882847912466.dat

2021-05-23 10:18:12 AM > > IronPython exception thrown converted battle DAT-file to JSON file: C:\Users\me\AppData\Roaming\Wot Numbers\BattleResult\4713882847912466.dat

{

2021-05-23 10:18:12 AM ### EXCEPTION ###

   Source:          Microsoft.Dynamic

   TargetSite:      Void ThrowException(LightException)

   Data:            System.Collections.ListDictionaryInternal

   Message:         unsupported operand type(s) for +: 'str' and 'int'

   Stack Trace: 

   at Microsoft.Scripting.Runtime.LightExceptions.ThrowException(LightException lightEx)

   at Microsoft.Scripting.Runtime.LightExceptions.CheckAndThrow(Object value)

   at Microsoft.Scripting.Interpreter.FuncCallInstruction`2.Run(InterpretedFrame frame)

   at Microsoft.Scripting.Interpreter.Interpreter.HandleException(InterpretedFrame frame, Exception exception)

   at Microsoft.Scripting.Interpreter.Interpreter.Run(InterpretedFrame frame)

   at Microsoft.Scripting.Interpreter.LightLambda.Run1[T0,TRet](T0 arg0)

   at System.Dynamic.UpdateDelegates.UpdateAndExecute1[T0,TRet](CallSite site, T0 arg0)

   at WinApp.Code.Battle2json.<ConvertBattleUsingPython>d__13.MoveNext()

   Details: 

   ConvertBattleUsingPython exception running: C:\Program Files (x86)\Wot Numbers\dossier2json\wotbr2j.py with args: C:\Users\me\AppData\Roaming\Wot Numbers\BattleResult\4713882847912466.dat -f

}

2021-05-23 10:18:12 AM > > IronPython output:

### WoT Battle Result to Json - version 1.12.1.2 ###

Time: 2021-05-23 10:18:11.791000

Encoding: ascii - mbcs

Starting to process file: C:\Users\me\AppData\Roaming\Wot Numbers\BattleResult\4713882847912466.dat

> Successfully validated object: common (found 18 data items)

Detected battle mode: Random

> Successfully validated object: private.account (found 43 data items)

> Successfully validated object: private.vehicle (found 213 data items)

> Successfully validated object: players (found 8 data items)

> Successfully validated object: players.result (found 11 data items)

> Successfully validated object: players.vehicle (found 72 data items)

{

2021-05-23 10:18:12 AM ### EXCEPTION ###

   Source:          mscorlib

   TargetSite:      Void WinIOError(Int32, System.String)

   Data:            System.Collections.ListDictionaryInternal

   Message:         The process cannot access the file 'C:\Users\me\AppData\Roaming\Wot Numbers\BattleResult\4713882847912466.dat' because it is being used by another process.

   Stack Trace: 

   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)

   at System.IO.FileInfo.Delete()

   at WinApp.Code.Battle2json.<ConvertBattleFilesToJson>d__6.MoveNext()

   Details: 

    > Error converting battle file C:\Users\me\AppData\Roaming\Wot Numbers\BattleResult\4713882847912466.dat to json

}

2021-05-23 10:18:12 AM > > Starting to converted battle DAT-file to JSON file: C:\Users\me\AppData\Roaming\Wot Numbers\BattleResult\5307971314224277.dat

2021-05-23 10:18:12 AM > > IronPython exception thrown converted battle DAT-file to JSON file: C:\Users\me\AppData\Roaming\Wot Numbers\BattleResult\5307971314224277.dat

{

2021-05-23 10:18:12 AM ### EXCEPTION ###

   Source:          Microsoft.Dynamic

   TargetSite:      Void ThrowException(LightException)

   Data:            System.Collections.ListDictionaryInternal

   Message:         unsupported operand type(s) for +: 'str' and 'int'

   Stack Trace: 

   at Microsoft.Scripting.Runtime.LightExceptions.ThrowException(LightException lightEx)

   at Microsoft.Scripting.Runtime.LightExceptions.CheckAndThrow(Object value)

   at Microsoft.Scripting.Interpreter.FuncCallInstruction`2.Run(InterpretedFrame frame)

   at Microsoft.Scripting.Interpreter.Interpreter.HandleException(InterpretedFrame frame, Exception exception)

   at Microsoft.Scripting.Interpreter.Interpreter.Run(InterpretedFrame frame)

   at Microsoft.Scripting.Interpreter.LightLambda.Run1[T0,TRet](T0 arg0)

   at WinApp.Code.Battle2json.<ConvertBattleUsingPython>d__13.MoveNext()

   Details: 

   ConvertBattleUsingPython exception running: C:\Program Files (x86)\Wot Numbers\dossier2json\wotbr2j.py with args: C:\Users\me\AppData\Roaming\Wot Numbers\BattleResult\5307971314224277.dat -f

}

2021-05-23 10:18:12 AM > > IronPython output:

### WoT Battle Result to Json - version 1.12.1.2 ###

Time: 2021-05-23 10:18:12.132000

Encoding: ascii - mbcs

Starting to process file: C:\Users\me\AppData\Roaming\Wot Numbers\BattleResult\5307971314224277.dat

> Successfully validated object: common (found 18 data items)

Detected battle mode: Random

> Successfully validated object: private.account (found 43 data items)

> Successfully validated object: private.vehicle (found 213 data items)

> Successfully validated object: players (found 8 data items)

> Successfully validated object: players.result (found 11 data items)

> Successfully validated object: players.vehicle (found 72 data items)

{

2021-05-23 10:18:12 AM ### EXCEPTION ###

   Source:          mscorlib

   TargetSite:      Void WinIOError(Int32, System.String)

   Data:            System.Collections.ListDictionaryInternal

   Message:         The process cannot access the file 'C:\Users\me\AppData\Roaming\Wot Numbers\BattleResult\5307971314224277.dat' because it is being used by another process.

   Stack Trace: 

   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)

   at System.IO.FileInfo.Delete()

   at WinApp.Code.Battle2json.<ConvertBattleFilesToJson>d__6.MoveNext()

   Details: 

    > Error converting battle file C:\Users\me\AppData\Roaming\Wot Numbers\BattleResult\5307971314224277.dat to json

}

2021-05-23 10:18:12 AM > > Starting to converted battle DAT-file to JSON file: C:\Users\me\AppData\Roaming\Wot Numbers\BattleResult\5962902287260432.dat

2021-05-23 10:18:12 AM > > IronPython exception thrown converted battle DAT-file to JSON file: C:\Users\me\AppData\Roaming\Wot Numbers\BattleResult\5962902287260432.dat

{

2021-05-23 10:18:12 AM ### EXCEPTION ###

   Source:          Microsoft.Dynamic

   TargetSite:      Void ThrowException(LightException)

   Data:            System.Collections.ListDictionaryInternal

   Message:         unsupported operand type(s) for +: 'str' and 'int'

   Stack Trace: 

   at Microsoft.Scripting.Runtime.LightExceptions.ThrowException(LightException lightEx)

   at Microsoft.Scripting.Runtime.LightExceptions.CheckAndThrow(Object value)

   at Microsoft.Scripting.Interpreter.FuncCallInstruction`2.Run(InterpretedFrame frame)

   at Microsoft.Scripting.Interpreter.Interpreter.HandleException(InterpretedFrame frame, Exception exception)

   at Microsoft.Scripting.Interpreter.Interpreter.Run(InterpretedFrame frame)

   at Microsoft.Scripting.Interpreter.LightLambda.Run1[T0,TRet](T0 arg0)

   at WinApp.Code.Battle2json.<ConvertBattleUsingPython>d__13.MoveNext()

   Details: 

   ConvertBattleUsingPython exception running: C:\Program Files (x86)\Wot Numbers\dossier2json\wotbr2j.py with args: C:\Users\me\AppData\Roaming\Wot Numbers\BattleResult\5962902287260432.dat -f

}

2021-05-23 10:18:12 AM > > IronPython output:

### WoT Battle Result to Json - version 1.12.1.2 ###

Time: 2021-05-23 10:18:12.356000

Encoding: ascii - mbcs

Starting to process file: C:\Users\me\AppData\Roaming\Wot Numbers\BattleResult\5962902287260432.dat

> Successfully validated object: common (found 18 data items)

Detected battle mode: Random

> Successfully validated object: private.account (found 43 data items)

> Successfully validated object: private.vehicle (found 213 data items)

> Successfully validated object: players (found 8 data items)

> Successfully validated object: players.result (found 11 data items)

> Successfully validated object: players.vehicle (found 72 data items)

{

2021-05-23 10:18:12 AM ### EXCEPTION ###

   Source:          mscorlib

   TargetSite:      Void WinIOError(Int32, System.String)

   Data:            System.Collections.ListDictionaryInternal

   Message:         The process cannot access the file 'C:\Users\me\AppData\Roaming\Wot Numbers\BattleResult\5962902287260432.dat' because it is being used by another process.

   Stack Trace: 

   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)

   at System.IO.FileInfo.Delete()

   at WinApp.Code.Battle2json.<ConvertBattleFilesToJson>d__6.MoveNext()

   Details: 

    > Error converting battle file C:\Users\me\AppData\Roaming\Wot Numbers\BattleResult\5962902287260432.dat to json

}

2021-05-23 10:18:12 AM > > Starting to converted battle DAT-file to JSON file: C:\Users\me\AppData\Roaming\Wot Numbers\BattleResult\5962940941966504.dat

2021-05-23 10:18:12 AM > > IronPython exception thrown converted battle DAT-file to JSON file: C:\Users\me\AppData\Roaming\Wot Numbers\BattleResult\5962940941966504.dat

{

2021-05-23 10:18:12 AM ### EXCEPTION ###

   Source:          Microsoft.Dynamic

   TargetSite:      Void ThrowException(LightException)

   Data:            System.Collections.ListDictionaryInternal

   Message:         unsupported operand type(s) for +: 'str' and 'int'

   Stack Trace: 

   at Microsoft.Scripting.Runtime.LightExceptions.ThrowException(LightException lightEx)

   at Microsoft.Scripting.Runtime.LightExceptions.CheckAndThrow(Object value)

   at Microsoft.Scripting.Interpreter.FuncCallInstruction`2.Run(InterpretedFrame frame)

   at Microsoft.Scripting.Interpreter.Interpreter.HandleException(InterpretedFrame frame, Exception exception)

   at Microsoft.Scripting.Interpreter.Interpreter.Run(InterpretedFrame frame)

   at Microsoft.Scripting.Interpreter.LightLambda.Run1[T0,TRet](T0 arg0)

   at WinApp.Code.Battle2json.<ConvertBattleUsingPython>d__13.MoveNext()

   Details: 

   ConvertBattleUsingPython exception running: C:\Program Files (x86)\Wot Numbers\dossier2json\wotbr2j.py with args: C:\Users\me\AppData\Roaming\Wot Numbers\BattleResult\5962940941966504.dat -f

}

2021-05-23 10:18:12 AM > > IronPython output:

### WoT Battle Result to Json - version 1.12.1.2 ###

Time: 2021-05-23 10:18:12.576000

Encoding: ascii - mbcs

Starting to process file: C:\Users\me\AppData\Roaming\Wot Numbers\BattleResult\5962940941966504.dat

> Successfully validated object: common (found 18 data items)

Detected battle mode: Random

> Successfully validated object: private.account (found 43 data items)

> Successfully validated object: private.vehicle (found 213 data items)

> Successfully validated object: players (found 8 data items)

> Successfully validated object: players.result (found 11 data items)

> Successfully validated object: players.vehicle (found 72 data items)

{

2021-05-23 10:18:12 AM ### EXCEPTION ###

   Source:          mscorlib

   TargetSite:      Void WinIOError(Int32, System.String)

   Data:            System.Collections.ListDictionaryInternal

   Message:         The process cannot access the file 'C:\Users\me\AppData\Roaming\Wot Numbers\BattleResult\5962940941966504.dat' because it is being used by another process.

   Stack Trace: 

   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)

   at System.IO.FileInfo.Delete()

   at WinApp.Code.Battle2json.<ConvertBattleFilesToJson>d__6.MoveNext()

   Details: 

    > Error converting battle file C:\Users\me\AppData\Roaming\Wot Numbers\BattleResult\5962940941966504.dat to json

}


  • splashrun - 27.05.2021

     The process cannot access the file 'C:\Users\me\AppData\Roaming\Wot Numbers\BattleResult\5307971314224277.dat' because it is being used by another process.

    maybe that is the core issue here? I had similar in the past untill I told the antivirus not to check  'C:\Users\me\AppData\Roaming\Wot Numbers\BattleResult\*.dat' upon access (only upon creation)

  • ArmorSlayerCA - 30.05.2021

    Ok - I will take a look at my virus protection and see what happens - thanks!

  • ArmorSlayerCA - 02.06.2021

    Disabling virus protection did not fix the problem

  • BadButton - 08.06.2021

    Do you have any ingame mods? Some of these uses the same files that Wot Numbers tries to access, tyically the battle file. If an ingame mod keeps the file open it will deny any other app to access it.

  • ArmorSlayerCA - 10.06.2021

    OK BB

    Yes, I do have another Stats Mod that I was testing out

    Your info makes sense

    Will research but I have a feeling you have given me the solution

    Please close this thread

    And Thank you!

Sign in for replying to topic Close