rockbaaska / wot-xvm

Automatically exported from code.google.com/p/wot-xvm
GNU General Public License v3.0
0 stars 0 forks source link

Players Stats not showing at load or in battle #597

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
I checked xvm logs and it gets this error everytime I go into battle.

2013-12-07 17:40:28: [ERROR] _load_stat() exception: Traceback (most recent 
call last):

I think this has something to do with my stats aren't showing up but I don't 
know how to fix it.

Original issue reported on code.google.com by S.Schuma...@gmail.com on 8 Dec 2013 at 12:21

GoogleCodeExporter commented 8 years ago
Paste the whole thread. You pasted the line that says "The next several lines 
might be helpful to developers." :-)

Original comment by Rouslan....@gmail.com on 25 Dec 2013 at 8:08

GoogleCodeExporter commented 8 years ago
One month and no news...

Original comment by edgar.fo...@gmail.com on 9 Jan 2014 at 6:02

GoogleCodeExporter commented 8 years ago
Hi, I've got the same issue and I am not sure where it's coming from, here's 
the part of the log:

2014-02-12 17:58:51: [X:046] [BattleLoading]
                               XVM_VERSION=5.0.3-dev for WoT 0.8.11
                               gameRegion=EU
                               configVersion=5.0.1
                               showPlayersStatistics=true
                               useStandardMarkers=false
2014-02-12 17:58:51: [DEBUG] cmd=loadBattleStat args=[true, null]
2014-02-12 17:58:51: [INFO]    HTTP: 
/2.0/507050380=14881,500146832=2593=1,500563479=15377,501258394=7425,501126943=1
1297,513482147=9489,504440629=9745,501909434=1585,514938176=7169,504574533=7169,
508056009=16657,500168910=14401,502505555=7457,500988267=7489,502015674=8481,500
296798=7457,515301728=10001,504792417=7425,507529061=9745,506764395=7441,5067259
96=8193,500166769=2593,501836274=15377,510208889=11537,507407487=6465,500333820=
7441,500886143=4097,511130115=9745,503745285=10753,502900486=8481
2014-02-12 17:58:52: [ERROR] loadUrl failed: cannot concatenate 'str' and 
'NoneType' objects
2014-02-12 17:58:52: [INFO]    Time: 912 ms, Size: 652 (652) bytes
2014-02-12 17:58:52: [ERROR] _load_stat() exception: Traceback (most recent 
call last):
  File "xvmstat/stats.py", line 319, in _load_stat
  File "scripts/common/Lib/json/__init__.py", line 326, in loads
  File "scripts/common/Lib/json/decoder.py", line 366, in decode
  File "scripts/common/Lib/json/decoder.py", line 384, in raw_decode
ValueError: No JSON object could be decoded

2014-02-12 17:58:53: [X:047] ========== begin chance calculation ===========
2014-02-12 17:58:53: [X:048] playerNames: Will58, Farkas14789, push, Enigma074, 
m1a1abrens, tRaWa324, Etifax, maxell666, Pollewops, eskax, Kruk33, janoka75, 
Krogulec, henke1992, bigtwin, draco5, redmufc1878, antoniofr, mati36b, Regild, 
dragonthoorn, shimool, szrekin, Przemek08, Dragoken, Tomik2249, timekiller, 
tontontomtom, jr49, yuggis
2014-02-12 17:58:53: [X:049] teamsCount=15/15
2014-02-12 17:58:53: [X:050] battleTier=10
2014-02-12 17:58:53: [X:051] Ka=485.7843374999998 Ke=485.7843374999998
2014-02-12 17:58:53: [X:052] RESULT=Chance to win: <font 
color='#fcfa80'>50%</font>
2014-02-12 17:58:53: [X:053] ========== end chance calculation ===========
2014-02-12 17:58:58: [DEBUG] FlashInit: battle.swf
2014-02-12 17:58:58: [DEBUG] FlashInit: VehicleMarkersManager.swf
2014-02-12 17:58:59: [DEBUG] FlashBeforeDelete: Application.swf
2014-02-12 17:58:59: [V:000] xvm -> ["VMM"]
2014-02-12 17:59:00: [V:001] LoadFiles: ['xvm.xc']
2014-02-12 17:59:00: [V:003] LoadFiles: ['en.xc']
2014-02-12 17:59:00: [V:002] xvm -> ["VMM", "VehicleMarkersManager"]
2014-02-12 17:59:00: [V:004] Locale: Loaded 'en' language by XVM Team
2014-02-12 17:59:00: [DEBUG] cmd=loadBattleStat args=[true, null]
2014-02-12 17:59:00: [B:000] xvm -> ["Minimap"]
2014-02-12 17:59:00: [B:001] xvm -> ["Minimap", "PlayersPanel"]
2014-02-12 17:59:01: [B:002] LoadFiles: ['xvm.xc']
2014-02-12 17:59:01: [B:003] xvm -> ["Minimap", "PlayersPanel", 
"TeamBasesPanel"]
2014-02-12 17:59:01: [B:004] xvm -> ["Minimap", "PlayersPanel", 
"TeamBasesPanel", "Battle"]
2014-02-12 17:59:01: [B:005] xvm -> ["Minimap", "PlayersPanel", 
"TeamBasesPanel", "Battle", "StatisticForm"]
2014-02-12 17:59:01: [B:006] LoadFiles: ['en.xc']
2014-02-12 17:59:01: [B:007] Locale: Loaded 'en' language by XVM Team
2014-02-12 17:59:01: [DEBUG] cmd=loadBattleStat args=[true, null]
2014-02-12 17:59:02: [B:008] Minimap: localized map name: Lakeville

Original comment by rafr...@gmail.com on 12 Feb 2014 at 5:13

GoogleCodeExporter commented 8 years ago
wrong XVM version

Original comment by m.schedr...@gmail.com on 12 Feb 2014 at 7:26

GoogleCodeExporter commented 8 years ago
Sorry about that, here's the correct log:

2014-02-12 22:13:47: [X:031] [BattleLoading]
                               XVM_VERSION=5.1.0 for WoT 0.8.11
                               gameRegion=EU
                               configVersion=5.1.0
                               showPlayersStatistics=true
                               useStandardMarkers=false
2014-02-12 22:13:47: [DEBUG] cmd=loadBattleStat args=[true, null]
2014-02-12 22:13:47: [INFO]    HTTP: 
/2.0/502614151=5185,505407496=12049,500146832=13825=1,503485586=6145,505037971=9
489,505565023=12049,503628709=9505,504706984=7169,502873776=11521,500738225=1356
9,508484275=8193,502108126=15649,506108347=9745,502854592=7441,514452417=11521,5
00649542=6929,501509706=9745,513245772=12049,501670867=7249,502133462=9745,50146
0698=6929,502758747=9745,503633886=11521,509694943=12049,501266448=14337,5002708
19=2097,508940902=10257,511815402=11521,514456943=3905,508950004=3649
2014-02-12 22:13:48: [ERROR] loadUrl failed: cannot concatenate 'str' and 
'NoneType' objects
2014-02-12 22:13:48: [INFO]    Time: 876 ms, Size: 652 (652) bytes
2014-02-12 22:13:48: [ERROR] _load_stat() exception: Traceback (most recent 
call last):
  File "xvmstat/stats.py", line 319, in _load_stat
  File "scripts/common/Lib/json/__init__.py", line 326, in loads
  File "scripts/common/Lib/json/decoder.py", line 366, in decode
  File "scripts/common/Lib/json/decoder.py", line 384, in raw_decode
ValueError: No JSON object could be decoded

2014-02-12 22:13:48: [X:032] ========== begin chance calculation ===========
2014-02-12 22:13:48: [X:033] playerNames: a4kir4a, Machete01, Ronline, Ishlo, 
tonitirana, baginex, kujna, jozwi, Razoreye, Atzealbrecht, Krogulec, gkwDario, 
poniuxd, Tomcheck, honigwein, XarwasWyzryn, sas_katouraw, tadej123slo, 
Miyake81, Kenwood90, meki1, gudlaj123, Radu33, Rochobaron, Silas001, Dzzz0k1, 
Grzech666, dedapetr, maxhr_, Paanteher
2014-02-12 22:13:48: [X:034] teamsCount=15/15
2014-02-12 22:13:48: [X:035] battleTier=11
2014-02-12 22:13:48: [X:036] Ka=420.4907437499998 Ke=420.4907437499999
2014-02-12 22:13:48: [X:037] RESULT=Chance to win: <font 
color='#fcfa80'>50%</font>
2014-02-12 22:13:48: [X:038] ========== end chance calculation ===========

Original comment by rafr...@gmail.com on 12 Feb 2014 at 9:25

GoogleCodeExporter commented 8 years ago
don't post the logs, just attach files (you can use http://pastebin.com/)
I need xvm.log and python.log

Original comment by m.schedr...@gmail.com on 12 Feb 2014 at 9:32

GoogleCodeExporter commented 8 years ago
okay, here you go:

python.log ==> http://pastebin.com/LA6PRzBu
xvm.log ==> http://pastebin.com/kRenid4R

Original comment by rafr...@gmail.com on 12 Feb 2014 at 10:42

GoogleCodeExporter commented 8 years ago
I have no idea for now. Try to reinstall client.

Original comment by m.schedr...@gmail.com on 13 Feb 2014 at 8:19

GoogleCodeExporter commented 8 years ago

Original comment by m.schedr...@gmail.com on 13 Feb 2014 at 8:20

GoogleCodeExporter commented 8 years ago
Full client uninstall && install from scratch with default settings:

xvm.log ==> http://pastebin.com/RvH8NXVD
python.log ==> http://pastebin.com/RvrznTmX

I'm a python noob but it looks like the var types do not match (string concat 
but 1 var is str and 2nd is not). From xvm.log:

2014-02-13 17:28:27: [ERROR] loadUrl failed: cannot concatenate 'str' and 
'NoneType' objects

Original comment by rafr...@gmail.com on 13 Feb 2014 at 4:39

GoogleCodeExporter commented 8 years ago
But others don't have this issue. Looks loke smth wrong with your installation.

Original comment by m.schedr...@gmail.com on 13 Feb 2014 at 5:34

GoogleCodeExporter commented 8 years ago
Any special ideas? do you know which vars? maybe their type could be statically 
set before compiling / freezing the code?

I've just tried to remove tanks / remove all the config and caches in %APPDATA% 
but the case is still the same. No idea what's interfering there.

AFAIK those are frozen python binaries so they should be interpreter 
independent right? Does 64bit system has anything to do with it maybe?

Original comment by rafr...@gmail.com on 13 Feb 2014 at 5:42

GoogleCodeExporter commented 8 years ago
Try to replace this file and attach new xvm.log.
https://drive.google.com/file/d/0BzFz8iaChO72R0oycTZwbEg4bnM/edit?usp=sharing

Original comment by m.schedr...@gmail.com on 13 Feb 2014 at 5:48

GoogleCodeExporter commented 8 years ago
Also, did are you using some proxy/firewall?
Did you install XVM only, or you have other mods?

Original comment by m.schedr...@gmail.com on 13 Feb 2014 at 5:53

GoogleCodeExporter commented 8 years ago
Yeah I am using VIPRE internet security (AV + FW) no proxies.
And nope, only using XVM and no other mods.

Getting the file and going to test in a sec.

Original comment by rafr...@gmail.com on 13 Feb 2014 at 5:59

GoogleCodeExporter commented 8 years ago
Your hint was spot on! It's the firewall blocking "bad" URL.

For VIPRE Internet Security users:

Firewall >> View Firewall History >> Web Filter (bulychev.net) If that's 
blocked then your stats won't load with the cryptic message as above.

You can either completely disable web filter by:
Firewall >> Settings ("View settings" link) >> (Uncheck) Enable bad web site 
blocking

Or just add a exclusion rule for this particular host.

Thanks to person supporting me on that one!! :)

Original comment by rafr...@gmail.com on 13 Feb 2014 at 6:36

GoogleCodeExporter commented 8 years ago
Anyway, I'll fix the log message to be more informative.

Original comment by m.schedr...@gmail.com on 13 Feb 2014 at 6:56