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

Session report pages are cached for 5 minutes, so some changes will not be visible immediately. Close and restart r2la (server) to clear cache. I will check more tomorrow.
 
There was a mix-up with fuel/tire visibility filter values between Race and Practice sessions. Fixed and re-uploaded to the same link, no version change. Please, download latest version again.
For changes in tire/fuel visibility to work for all client browsers you will need to remove rF2 Log Analyzer ver. 2.058.14\web2py\applications\r2la\sessions folder every time after you change this settings at options page. I didn't find any other way to force client browser to create new session.
 
First time trying to run this.
When I open address http://127.0.0.1:8000/
in both Chrome and Firefox it says "Internal Error" Ticket Issued: Unknown
I've allowed access to the folder and all apps in the web2py folder.

This is the error I get in the CMD

C:\Program Files\rF2 Log Analyzer ver. 2.058.14>cd web2py

C:\Program Files\rF2 Log Analyzer ver. 2.058.14\web2py>web2py_on_gevent.exe
starting on 127.0.0.1:8000...
ERROR:web2py:Traceback (most recent call last):
File "C:\Program Files\rF2 Log Analyzer ver. 2.058.14\web2py\gluon\restricted.py", line 227, in restricted
exec ccode in environment
File "D:/web2py_2.14.6/applications/r2la\compiled\models.db.py", line 19, in <module>
File "C:\Program Files\rF2 Log Analyzer ver. 2.058.14\web2py\gluon\packages\dal\pydal\base.py", line 174, in __call__
obj = super(MetaDAL, cls).__call__(*args, **kwargs)
File "C:\Program Files\rF2 Log Analyzer ver. 2.058.14\web2py\gluon\packages\dal\pydal\base.py", line 473, in __init__
"Failure to connect, tried %d times:\n%s" % (attempts, tb)
RuntimeError: Failure to connect, tried 5 times:
Traceback (most recent call last):
File "C:\Program Files\rF2 Log Analyzer ver. 2.058.14\web2py\gluon\packages\dal\pydal\base.py", line 446, in __init__
self._adapter = ADAPTERS[self._dbname](**kwargs)
File "C:\Program Files\rF2 Log Analyzer ver. 2.058.14\web2py\gluon\packages\dal\pydal\adapters\base.py", line 60, in __call__
obj = super(AdapterMeta, cls).__call__(*args, **kwargs)
File "C:\Program Files\rF2 Log Analyzer ver. 2.058.14\web2py\gluon\packages\dal\pydal\adapters\sqlite.py", line 79, in __init__
if do_connect: self.reconnect()
File "C:\Program Files\rF2 Log Analyzer ver. 2.058.14\web2py\gluon\packages\dal\pydal\connection.py", line 104, in reconnect
self.connection = f()
File "C:\Program Files\rF2 Log Analyzer ver. 2.058.14\web2py\gluon\packages\dal\pydal\adapters\sqlite.py", line 77, in connector
return self.driver.Connection(dbpath, **driver_args)
OperationalError: unable to open database file
 
Looks like something is blocking its access to disk. Make sure your antivirus (or some other system security) is not blocking or not running r2la and web2py in "sandbox" mode.
 
Just wondering, because the result page shows.
IMG_20181130_114451.png
 
Yes, that's different. r2la reports show data that is taken from xml files and rF2 indeed saves server name in xml along other data after session finished. But LiveTiming is not showing data from xml, it shows live data stream from rF2 plugin API through SharedMemoryPlugin and server name is not exposed to rF2 plugin API.
 
Hi Nibo,
Regarding some enhancement on R2LA, there are drivers stats in championship part which give a good overview, but do you think it is possible to have a more driver oriented part (so with a new tab Drivers for example) with some more stats, ratings and links to the results? it can give a carrier mode for the leagues using R2LA.
One thing about the existing drivers stats is to maybe to have sortable columns
 
I will look at adding sorting in Driver Stats table.

About rating, I think it can be very complex and at the same time not feel right for everyone (also I did not have plans to do anything complex in near future). I think that stats already provide some picture about drivers. You can tell me more precisely what other stats you want to see and I will see if I can add something.
Also, I think S397 mentioned that their competition system will feature some sort of rating, so I don't want to add doubling functionality.
 
Yes. But I think I'll leave Laps/Distance/Time on the top of this page as it is. It would be confusing to have also two values for Distance and Time there.
 
In the race result file (.xml), is there car's speed information? I mean if it's possible to extract each corner's entrance speed, lowest (apex) speed and exit speed like AC's Corners Performance Analysis.
 
No car speed in xml. I think for such deep analysis you can use rF2 telemetry plugin and Motec. r2la also has telemetry but it might be too simple for that.
 
Back
Top