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

Discussion in 'Other' started by Nibo, Apr 15, 2015.

  1. Nobkins

    Nobkins Registered

    Joined:
    Jan 23, 2019
    Messages:
    30
    Likes Received:
    0
    It sure is strange. Only me on the server. I restored the files yesterday and took a backup of the log folder. I've just logged in again approx 24 hours later and the file count is 100+ lower.

    I will PM you some files.
     
  2. Nibo

    Nibo Member

    Joined:
    Oct 12, 2010
    Messages:
    1,880
    Likes Received:
    638
    For people who use r2la with Automobilista. Automobilista can remove old log files from its Results directory automatically. There is "Number Race Results" option in PLR file. Set it to bigger value if you want to keep all your log files.
     
    alexSchmurtz likes this.
  3. Nobkins

    Nobkins Registered

    Joined:
    Jan 23, 2019
    Messages:
    30
    Likes Received:
    0
    Big thank you to @Nibo for all his help. My problem was caused by the AMS Dedi and the setting nibo posted about above.

    Nothing to do with the fantastic r2la
     
  4. flyfisho

    flyfisho Registered

    Joined:
    May 28, 2017
    Messages:
    58
    Likes Received:
    7
    Just a quick question.... I cant get tyres or fuel usage showing up when i log into the lacalhost.
    i have the lataest version in this thread and it has always happened no matter what version.
    Cheers
     
  5. Nibo

    Nibo Member

    Joined:
    Oct 12, 2010
    Messages:
    1,880
    Likes Received:
    638
    Maybe because you are looking at logs of multiplayer sessions? It was always like that, rFactor only puts tire and fuel data for player in offline sessions. For online session logs, tire and fuel data is available only in server logs, not client logs. You need to use r2la with logs that are created by rF2 server if you need to see tire and fuel data for multiplayer sessions.
     
  6. Justin Mifsud

    Justin Mifsud Registered

    Joined:
    Nov 15, 2018
    Messages:
    10
    Likes Received:
    6
    Is it possible to edit the results path, by mistake I put the pat to the temp results instead of the results folder and cant edit it.

    Thanks in advance
     
  7. Jimmy

    Jimmy Registered

    Joined:
    Jan 13, 2012
    Messages:
    76
    Likes Received:
    54
    Hello, why i have this error message? I importing log from race...
    I have this only if i have Q and R in one group... (Oschersleben) if i not this (Brno) i see only Race Results without Q

    upload_2019-8-29_19-51-27.png

    upload_2019-8-29_19-56-14.png
     
  8. Nibo

    Nibo Member

    Joined:
    Oct 12, 2010
    Messages:
    1,880
    Likes Received:
    638
    Justin Mifsud, you can not edit base path that you enter in the form that appears on first start of r2la. You'll have to start new instance of r2la (unzip again to new folder) from scratch and enter correct path in first form.
     
  9. Nibo

    Nibo Member

    Joined:
    Oct 12, 2010
    Messages:
    1,880
    Likes Received:
    638
    Jimmy, send both (Q and R) logs to me. I don't know how that could have happened. It shows Oschersleben in log selector, but Hungoraring in session report on your screenshot... Maybe you edited that files somehow?
     
  10. Jimmy

    Jimmy Registered

    Joined:
    Jan 13, 2012
    Messages:
    76
    Likes Received:
    54
    Hello,
    this is logs.... screen is from bad clicked race... But result viewers is OK, but i dont get this to Champoionship results... :(

    and, web2py still droping... :( or freezing... if i like a admin worked.
     

    Attached Files:

    • Logs.zip
      File size:
      360.4 KB
      Views:
      20
    Last edited: Aug 30, 2019
  11. Nibo

    Nibo Member

    Joined:
    Oct 12, 2010
    Messages:
    1,880
    Likes Received:
    638
    Not sure what this means. r2la can be slow if amount of logs in your Results directory is more than 800-1000. Remove all old and not needed log files.

    There was a specific bug related to driver present in Qual, but not Race and championship option "Team championship" set to "VehName". I fixed it now. But to get fix working for you, you will have to start v2.058.23 from scratch and then import your old championships (r2la_settings.json, usual upgrade procedure). Or re-create your championships in new version manually.

    Updated to v2.058.23:
    • Fixed error in championship manager when some driver was in Qual log, but not in Race log and "Team championship" option was set to "VehName".
    • Filenames of all xml files removed by r2la are now logged in web2py/r2la_removed_files.log file.
     
    Last edited: Aug 31, 2019
    Corti and Wergilius like this.
  12. Jimmy

    Jimmy Registered

    Joined:
    Jan 13, 2012
    Messages:
    76
    Likes Received:
    54
    This dropping....

    upload_2019-9-5_22-49-32.png upload_2019-9-5_22-49-40.png
    upload_2019-9-5_22-49-52.png
     
  13. Nibo

    Nibo Member

    Joined:
    Oct 12, 2010
    Messages:
    1,880
    Likes Received:
    638
    Jimmy, that's web2py server crashing. I never had that and unfortunately will not be able to help. That looks to me like maybe some incompatibility with web2py and your versions of windows (windows 10?). But I don't know for sure. Web2py is the framework that I use to build r2la app, so when it crashes like that, its mostly out of my knowledge.
     
  14. Jimmy

    Jimmy Registered

    Joined:
    Jan 13, 2012
    Messages:
    76
    Likes Received:
    54
    @Nibo we using Windows Server 2012 x64
     
  15. Nibo

    Nibo Member

    Joined:
    Oct 12, 2010
    Messages:
    1,880
    Likes Received:
    638
    I can speculate, that it has something to do with windows being server version. But I don't know why.
     
  16. Jimmy

    Jimmy Registered

    Joined:
    Jan 13, 2012
    Messages:
    76
    Likes Received:
    54
    We have plan this month go to Windows Server 2019
     
  17. Nibo

    Nibo Member

    Joined:
    Oct 12, 2010
    Messages:
    1,880
    Likes Received:
    638
    Maybe it will not crash there, don't know. I don't have many reports of web2py crashing, so it has to be some rare thing with web2py and your os or os config.
     
  18. Nobkins

    Nobkins Registered

    Joined:
    Jan 23, 2019
    Messages:
    30
    Likes Received:
    0
    Hi Nibo. Do you know why with AMS results files the fuel at start never shows 100% even when you start a race with a full tank?

    All except one driver started with a full tank. My only idea is that it takes the fuel from the end of lap 1 rather than at the start and if this is the case I assume it is not possible to get fuel for lap zero, only fuel for lap 1 onwards.
    upload_2019-9-7_9-27-19.png
     
  19. Nibo

    Nibo Member

    Joined:
    Oct 12, 2010
    Messages:
    1,880
    Likes Received:
    638
    Yes, that is the reason. We have only reading at the end of the lap. Its like that in rFactor1/2 also.
     
    Nobkins likes this.
  20. Sachmo

    Sachmo Registered

    Joined:
    Apr 30, 2016
    Messages:
    6
    Likes Received:
    2
    Hi, I am finding that Log Analyzer won't run for some reason. It has run fine in the past, and apart from the standard Windows Updates, Antivirus updates, etc, I haven't done anything to my computer that I would think might contribute to this no longer working.

    When I run the r2la.bat file the following occurs. The same occurs if I directly run web2py_on_gevent.exe.

    Thanks in advance for your help!!!



    starting on 127.0.0.1:8000...
    Traceback (most recent call last):
    File "<string>", line 6, in <module>
    File "__main__.py", line 128, in <module>
    File "__main__web2py_on_gevent__.py", line 112, in <module>
    File "__main__web2py_on_gevent__.py", line 109, in main
    File "__main__web2py_on_gevent__.py", line 46, in run
    File "gevent/baseserver.py", line 282, in serve_forever
    File "gevent/baseserver.py", line 234, in start
    File "gevent/pywsgi.py", line 639, in init_socket
    File "gevent/server.py", line 78, in init_socket
    File "gevent/server.py", line 89, in get_listener
    File "gevent/server.py", line 153, in _tcp_listener
    File "<string>", line 1, in bind
    socket.error: [Errno 10013] An attempt was made to access a socket in a way forbidden by its access permissions: ('127.0.0.1', 8000)
     

Share This Page