I mean rF2 xml log files. Ideally all of your xml files. At least some xml logs from before 7 Dec and all of them after 7 Dec to today. And your r2la_settings.json that you import on r2la update.
<BestLapTime></BestLapTime>
That's great Nibo, thank you!Problem was with abnormal log file 2023_12_07_21_04_39-17R1.xml. Last driver block in this xml has BestLapTime value, but no Lap tags with data per lap (needed to create valid lap record in r2la) and Laps tag with value "-15". Probably rF2 glitched because of player disconnect or something like this.
I made a small change to r2la to ignore this type of abnormal data combinations.
Or you can open 2023_12_07_21_04_39-17R1.xml in code editor and remove BestLapTime value in line 5426. Line should look like this:
Code:<BestLapTime></BestLapTime>
Updated to v.2.1.027
- Fix for an error when some driver has BestLapTime value but no Lap tag values.
It says that some parsed xml in r2la database has TrackCourse as None value (track name). Probably some of your xml log files has empty TrackCourse tag. You can find and correct that xml yourself, or zip all your xml log files and send them to me. I don't know yet why on previous version of r2la you have no error, but on latest its error, it looks like it should be an error always.
Done and thanks again!Yes, you right, there was a problem with this. I re-uploaded fixed archives without version change to latest version links. Re-upload latest version zip.
Only one file changed - rF2 Log Analyzer ver. 2.1.027\web2py\applications\r2la\compiled\views.tracks.index.html.pyc You can just replace this file in your r2la and restart it, no need to make whole upgrade.
Ver. 2.1.027 updated:
- Fixed an error when changing a flag for tracks with non-alphanumeric symbols.
Emyr27, there is no way to know which file it is from that error message. I would start looking in reverse order one by one, from last one. I can not say 100% that there is such a file. But that's only explanation I can give you without having your xml log files to test myself.
Can not think of a reason why temp folder would change something. Unless maybe it was set as an additional folder for r2la on Options page, even then not sure what is going on.