[REL] rFactor2 Log Analyzer ver. 2. With offline and league Championship Manager

Thanks for your reply !

Too bad for the custom images not being exported :( Let's hope you can find a way at some point !

For the points sum in bold :
I use the points sum column on the left side (sorry, I did not mention it), so the code you provided actually makes the last result of the season show in bold. Having different number of races from one season to another, I cannot use a code counting from right, as the figure will change. How can I write it counting from left ?
 
"nth-last-child" - for right to left,
"nth-child" - for left to right.

Try:
Code:
.driver_standings td:nth-child(3) {
    font-weight: 700;
}

.team_standings td:nth-child(3) {
    font-weight: 700;
}
 
That did the trick using number 4 instead of 3.
The custom images column seems to count, even in team standings where I do not use the images.

Thanks !
 
That's web2py framework error. Looks like it happens when it scans for available IPs before showing UI setup window. Maybe something is unusual in your PC or network config. Maybe some non standard characters somewhere, on one forum somebody wrote about characters in PC name, but I don't know.

You can try to bypass that setup window. Open your r2la.bat file in text editor and make it look like this:
Code:
cd web2py
start web2py.exe -a password -i 127.0.0.1 -p 8000

Save and run r2la.bat.

All web2py command line options are listed here - http://web2py.com/books/default/chapter/29/04/the-core?search=command+line#Command-line-options
I have tried running the bat file with the changes like you suggested. This time the same error appears, but only after I open 127.0.0.1:8000 in my browser. I can't think of anything unusual in my PC setup since I'm using English as Win11 language. Bummer.View attachment upload_2024-7-30_18-45-36.png
 
Re-uploaded r2la archive to latest link with minor changes:
  • on "championship manage teams/classes" page teams and classes are now sorted in pop-up modal window.
  • added versioning to app.css file.
 
SirJumbo, I've added a print statement right before error. Let's see what value causes this error, maybe it will lead to something.
Download this file https://www.mediafire.com/file/1tp3wpq03w0o2bx/main.zip/file
Unzip and overwrite this file in your r2la folder rF2 Log Analyzer ver. 2.2.000-x64\web2py\lib\gluon\main.py
Start web2py and look in cmd window for line that starts with "fqdn:". Copy it here for me.
Command prompt window showed this line:
Code:
fqdn: (PECET..home)
"PECET" is the name I've set for my computer so I'm guessing it's something to do with it
 
Its the two dots .. that are the problem. Unless you added one or more dots to your Computer Name yourself, here they say that it's ISP provider that can add that to computer name, check this thread - https://forum.djangoproject.com/t/e...error-label-empty-or-too-long/20568/21?page=2

I did not find how to correct this at the moment and I know little on the topic of network configs. Check your computer name or contact your ISP or somebody who knows your network configuration or why pythons socket.getfqdn() function returns this value. There should not be more than 1 consecutive dot in that value as far as I understand. This value on my PC does not have anything else, just my computer name.

I guess you had not this error on previous version of r2la, because it used Python2 and now in latest version with Python3 getfqdn() function changed somehow.
 
Yep, you're right, it's something with my network.

I've tested the program without any connection, ethernet to router, wifi to router and via USB tethering with my phone. It only worked without any connection and with my phone's internet. Though I find it weird why it works on the phone and not on my router's internet. They're both from the same ISP and should work in relatively the same way (I live in the countryside, so the router uses a sim card to access mobile internet just like my phone).

I only use r2la locally on my PC so perhaps there's a way to block internet connection to web2py?
 
Last edited:
Hi Nibo, hope you are doing well, since the last update(2.2.000) it's been noted that there is a difference to how the hotlap comps are displaying, especially after being archived. Previously archived ones still showed laps, now they don't.

Currently the archived screen looks like this; (note the 0 results for top 3, all after update)

53898610755_cff3d44342_b.jpg


Clicking the top one gives;
53898432763_12c1a74317_b.jpg


Click one of the others that are prior to the update gives;
53897271227_b4ae4e11a2_b.jpg


OR~Kris, FYI
 
Vitor Paulino, check if there are any errors in rF2 Log Analyzer ver. x\web2py\r2la_live_timing.log file or in r2la cmd window when you are launching r2la Live Timing and copy them here. Are you using rF1 or rF2?

If server names are displayed (although duplicated for some reason), that means that rFactorSharedMemoryMapDedi.dll plugin is working and r2la found its data stream in shared memory. But why there is no data for cars I don't know... Try different track/cars combinations, preferably not mods, but default in-game content.

Re-check your r2la Live Timing setup using build-in r2la Help page (http://127.0.0.1:8000/help) - Live Timing and Live Timing troubleshooting articles.

Maybe try rF2 Log Analyzer ver. 2.058.45 (Last Python2 version)
 
View attachment upload_2024-8-30_0-21-29.png
Is this function necessary (name.split)? The error seems to come from comparing the edited value to the original name in the dictionary (finish_positions) which still has the full name and number.

P.S. I fixed it after reading some older debug conversations. Went into the Xml file and removed the "#1667" attached to the name and it worked.
 
Last edited:
That's necessary. I used "#" for delimiter in a dictionary key that contains driver name. I made an assumption that "#" symbol would never be in driver name. Error appears because driver name had that symbol.
I changed delimiter to "##" now. So you can use "#" in driver names (but not "##"). Re-uploaded latest version archive with this change - rF2 Log Analyzer ver. 2.2.001-x64
 
Hi @Nibo, thanks for all your great work. I have a strange one for you. R2la seems to lose driver names and times during practice sessions if the drivers leave and the remaining driver votes to 'restart weekend'. All the drivers who have left don't have any times recorded at all even though if I look at the XML file it looks like all the names and info is in there. It is like the XML loses critical info or something if there is a 'restart weekend'. Have you seen this before? Basically we had about 5 drivers attend a practice session and 4 left and then the last driver voted to restart the weekend which then saw r2la only record his laps. This is bad as these practice sessions transfer into our fastest laps competitions that I set up for each week. Any ideas on how to fix? Cloning the XML and editing only brings up the one driver too. Bit of a strange one....
 
Justifier, that is a known old bug/feature of rFactor. Not r2la problem. r2la needs all <driver> tag data to be present in xml for all drivers and in that situation rFactor does not put that data in xml file. You can re-check this, if <driver> data with <lap> time data is present for all drivers, but not visible in r2la, send that log(s) to me.
I know that is inconvenient, but can not do anything. Probably the solution is to not use "restart weekend" and to allow for session to end it self.
 
Back
Top