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

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

  1. FORMULAEFAN71

    FORMULAEFAN71 Registered

    Joined:
    Dec 3, 2019
    Messages:
    101
    Likes Received:
    38
    I have version 2.058.22 and not .35. Should I update first? Or should I sent you the .22? If that is what is causing the problem
     
  2. Nibo

    Nibo Member

    Joined:
    Oct 12, 2010
    Messages:
    1,967
    Likes Received:
    697
    Send me your current errors folder (2.058.22).
     
  3. FORMULAEFAN71

    FORMULAEFAN71 Registered

    Joined:
    Dec 3, 2019
    Messages:
    101
    Likes Received:
    38
    How do i send them?
     
  4. Nibo

    Nibo Member

    Joined:
    Oct 12, 2010
    Messages:
    1,967
    Likes Received:
    697
  5. Nibo

    Nibo Member

    Joined:
    Oct 12, 2010
    Messages:
    1,967
    Likes Received:
    697
    Updated to 2.057.36
    • Fixed a bug where importing r2la_settings.json caused error if old results directory no longer exists. If you use additional directories with logs files, you will have to add them manually on Options page after updating now.
    • Added two jsonp calls. For track records. At http://your-r2la-address:port/tracks/get_records_jsonp. You should pass 'track_name' as request var for track name. For session reports. At http://your-r2la-address:port/report/get_report_jsonp. You should pass 'file_name' as request var for xml file name. Look at r2la Help page for examples.
     
    buzz hornet, FORMULAEFAN71 and Mauro like this.
  6. Tom A

    Tom A Registered

    Joined:
    Feb 10, 2020
    Messages:
    6
    Likes Received:
    0
    Hi Nibo, been fighting all day trying to get this to work with RF1, in dedi mode. I think I have a compound problem, that sometimes my server doesn't finish generating the xml file, some of them at the end of the <stream> block it says <MostLapsCompleted>0</MostLapsCompleted> and doesn't include the <Driver> block, so on the RESULTS page it says "No drivers".

    When it does upload a complete log, I was able to see the results and track records, fine, but at some point the "Records" tab quit working completely. All I get now is "Internal Error" with a ticket, showing as
    invalid function (admin/default).

    I have deleted the whole rf2la directory and reinstalled/reconfigured several times, without any change to the behavior.

    If I manually delete all the sessions, and go to the records tab I see:
    Something went wrong...
    Traceback (most recent call last):
    File "E:/old_disk_d/web2py_2.14.6/applications/r2la\compiled\controllers.tracks.index.py", line 23, in index
    AttributeError: 'NoneType' object has no attribute 'id'

    Which is confusing, as that is not where your tool is installed, and I do not have that path on my computer. If I look at one of the files in the web2py\applications\r2la\errors folder, I do see a reference to that non-existent path:

    Code:
    (dp1
    S'output'
    p2 S"<type 'exceptions.IndexError'> list index out of range"
    p3 sS'layer'
    p4 S'E:\\rFactor_clean\\rF2 Log Analyzer ver. 2.058.36\\web2py\\applications\\r2la\\compiled\\views_tracks_index.html.pyc'
    p5 sS'code'
    p6 S'<code object <module> at 03EA1C80, file "E:/old_disk_d/web2py_2.14.6/applications/r2la\\compiled\\views_tracks_index.html.py", line 1>' 
    Ticket attached, as a txt file.

    I am not sure where to go from here, I appreciate any guidance.

    Thanks,
     

    Attached Files:

  7. Nibo

    Nibo Member

    Joined:
    Oct 12, 2010
    Messages:
    1,967
    Likes Received:
    697
    That path is ok (E:/old_disk_d/...), it is path on my machine and was just saved in app files during compiling. Don't mind it.
    I can not say what is wrong looking at that one error file. If you have more error files, you can send me your whole rF2 Log Analyzer ver. 2.058.3x\web2py\applications\r2la\errors folder. Maybe I will see something there.

    Generally, working with rF1 and Track Records, you must provide your in-game name in first form on first r2la start. Otherwise r2la will not know for what name to look for records. Maybe re-check that you did that correctly and your log files indeed have that name in them.
    UPD. Only now I see you use DEDI mode, then your name is not needed.

    As last resort you can send me you zipped log file directory, I will try to start r2la with that here, see if it works for me.
     
  8. Tom A

    Tom A Registered

    Joined:
    Feb 10, 2020
    Messages:
    6
    Likes Received:
    0
    Sorry, hit submit too quickly. Attached is a zip with some error files plus the logs folder. Just to eliminate any problem with my server install, I did a clean install to a new location, and even tested with some of the default cars and tracks that come with RF1. Results are the same, the results show up fine in the results viewer, but I get an error on the records page.

    I am trying to use this for a two week long time trial, so the records is really what I need to work.

    Thanks,
     

    Attached Files:

  9. Justifier

    Justifier Registered

    Joined:
    Apr 23, 2018
    Messages:
    25
    Likes Received:
    3
    Hi @Nibo , thanks for your excellent software. I am not sure if it has been requested but would it be possible for the "Track Records" section to have an extra column to show what tire type (Hards to Softs) the driver was on when posting their record lap? Also maybe a filter option to allow you to show record times based only on hard tires or only on soft tires? That would be awesome! Cheers
     
  10. Nibo

    Nibo Member

    Joined:
    Oct 12, 2010
    Messages:
    1,967
    Likes Received:
    697
    Justifier, tire compounds column is already there from version 2.058.35. But I can not do filter.
     
  11. Nibo

    Nibo Member

    Joined:
    Oct 12, 2010
    Messages:
    1,967
    Likes Received:
    697
    Tom A, there was a bug on Records page after I added tire compounds info in previous version. Should be fixed now.

    Updated to 2.058.37:
    • Fixed error on Records page if there is no tire compound info in xml (rF1, Automobilista).
     
    Tom A likes this.
  12. Tom A

    Tom A Registered

    Joined:
    Feb 10, 2020
    Messages:
    6
    Likes Received:
    0
    That fixed it, thank you very much.
     
  13. Richard sieder

    Richard sieder Registered

    Joined:
    Jul 30, 2018
    Messages:
    3
    Likes Received:
    0
    Hi Nibo
    Im trying to find how to reset USER NAME or find what i put in i have forgotten what username i put in as i cant log in remotley plz
     
  14. Nibo

    Nibo Member

    Joined:
    Oct 12, 2010
    Messages:
    1,967
    Likes Received:
    697
    There is no way to reset admin name/password. You will have to start new instance of r2la from scratch and enter new name in first form. Import your r2la_settings.json from old r2la if you have championships.
     
    Dumedo and Richard sieder like this.
  15. Phoentje

    Phoentje Registered

    Joined:
    Aug 16, 2019
    Messages:
    3
    Likes Received:
    1
    Hi, I have activated the r2la and it looks pretty okay, but for someone reason when I change the car within the same session it does not record the other car driven.
    In the log I also do not see that I have driven both McLarens and the Bentley..

    <?xml version="1.0" encoding="utf-8"?>
    <!DOCTYPE rF [
    <!ENTITY rFEnt "rFactor Entity">
    ]>
    <rFactorXML version="1.0">
    <RaceResults>
    <Setting>Multiplayer</Setting>
    <ServerName>FFRT 2021</ServerName>
    <ClientFuelVisible>2</ClientFuelVisible>
    <PlayerFile>player</PlayerFile>
    <DateTime>1608879602</DateTime>
    <TimeString>2020/12/25 08:00:02</TimeString>
    <Mod>FFRT_v4</Mod>
    <Season></Season>
    <TrackVenue>AC-Barcelona</TrackVenue>
    <TrackCourse>AC-Barcelona</TrackCourse>
    <TrackEvent>AC-Barcelona</TrackEvent>
    <TrackData>C:\Program Files (x86)\Steam\steamapps\common\rFactor 2\Installed\Locations\AC-Barcelona\1.61\AC-Barcelona.mas</TrackData>
    <TrackLength>4636.3</TrackLength>
    <GameVersion>1.1122</GameVersion>
    <Dedicated>1</Dedicated>
    <ConnectionType upload="5000" download="5000">LAN</ConnectionType>
    <RaceLaps>300</RaceLaps>
    <RaceTime>0</RaceTime>
    <MechFailRate>0</MechFailRate>
    <DamageMult>0</DamageMult>
    <FuelMult>1</FuelMult>
    <TireMult>1</TireMult>
    <VehiclesAllowed>|GT3</VehiclesAllowed>
    <ParcFerme>3</ParcFerme>
    <FixedSetups>0</FixedSetups>
    <FreeSettings>11</FreeSettings>
    <FixedUpgrades>0</FixedUpgrades>
    <Qualify>
    <DateTime>1608889563</DateTime>
    <TimeString>2020/12/25 10:46:03</TimeString>
    <Laps>2147483647</Laps>
    <Minutes>165</Minutes>
    <Stream>
    <Chat et="9284.2">Rene Vos has entered the race.</Chat>
    <System et="9284.2">Rene Vos(3) 84.87.194.144 has joined as a participant</System>
    <Score et="9377.5">Rene Vos(3) lap=0 point=1 t=-1.000 et=9377.492</Score>
    <Score et="9416.9">Rene Vos(3) lap=0 point=2 t=-1.000 et=9416.905</Score>
    <Score et="9456.4">Rene Vos(3) lap=1 point=0 t=-1.000 et=9456.405</Score>
    <Sector et="9484.9">Rene Vos(3) set new best for sector 2</Sector>
    <Score et="9484.9">Rene Vos(3) lap=1 point=1 t=28.509 et=9484.914</Score>
    <Sector et="9484.9">Rene Vos(3) set new best for sector 2</Sector>
    <Sector et="9524.1">Rene Vos(3) set new best for sector 3</Sector>
    <Score et="9524.1">Rene Vos(3) lap=1 point=2 t=67.727 et=9524.132</Score>
    <Sector et="9524.1">Rene Vos(3) set new best for sector 3</Sector>
    <Sector et="9563.2">Rene Vos(3) set new best for sector 1</Sector>
    <Score et="9563.2">Rene Vos(3) lap=2 point=0 t=106.789 et=9563.194</Score>
    <Sector et="9563.2">Rene Vos(3) set new best for sector 1</Sector>
    <Sector et="9591.6">Rene Vos(3) set new best for sector 2</Sector>
    <Score et="9591.7">Rene Vos(3) lap=2 point=1 t=28.427 et=9591.621</Score>
    <Sector et="9591.7">Rene Vos(3) set new best for sector 2</Sector>
    <Sector et="9630.7">Rene Vos(3) set new best for sector 3</Sector>
    <Score et="9630.7">Rene Vos(3) lap=2 point=2 t=67.536 et=9630.730</Score>
    <Sector et="9630.7">Rene Vos(3) set new best for sector 3</Sector>
    <Sector et="9669.8">Rene Vos(3) set new best for sector 1</Sector>
    <Score et="9669.8">Rene Vos(3) lap=3 point=0 t=106.544 et=9669.738</Score>
    <Sector et="9669.8">Rene Vos(3) set new best for sector 1</Sector>
    <Score et="9673.3">Rene Vos(3) lap=3 point=1 t=-1.000 et=9673.313</Score>
    <Score et="9673.3">Rene Vos(3) lap=3 point=2 t=-1.000 et=9673.313</Score>
    <Score et="9673.3">Rene Vos(3) lap=4 point=0 t=-1.000 et=9673.313</Score>
    <Chat et="9678.4">Rene Vos left the race.</Chat>
    <Chat et="9736.7">Rene Vos has entered the race.</Chat>
    <System et="9736.7">Rene Vos(4) 84.87.194.144 has joined as a participant</System>
    <System et="9736.7">Rene Vos may have returned with a different vehicle or upgrades (all session joins recorded)</System>
    <Score et="9827.8">Rene Vos(4) lap=0 point=1 t=-1.000 et=9827.745</Score>
    <Score et="9867.5">Rene Vos(4) lap=0 point=2 t=-1.000 et=9867.461</Score>
    <Score et="9906.6">Rene Vos(4) lap=1 point=0 t=-1.000 et=9906.604</Score>
    <Sector et="9935.2">Rene Vos(4) set new best for sector 2</Sector>
    <Score et="9935.2">Rene Vos(4) lap=1 point=1 t=28.576 et=9935.181</Score>
    <Sector et="9935.2">Rene Vos(4) set new best for sector 2</Sector>
    <Sector et="9973.7">Rene Vos(4) set new best for sector 3</Sector>
    <Score et="9973.7">Rene Vos(4) lap=1 point=2 t=67.074 et=9973.679</Score>
    <Sector et="9973.7">Rene Vos(4) set new best for sector 3</Sector>
    <Sector et="10012.5">Rene Vos(4) set new best for sector 1</Sector>
    <Score et="10012.5">Rene Vos(4) lap=2 point=0 t=105.933 et=10012.537</Score>
    <Sector et="10012.5">Rene Vos(4) set new best for sector 1</Sector>
    <Score et="10038.1">Rene Vos(4) lap=2 point=1 t=-1.000 et=10038.070</Score>
    <Score et="10038.1">Rene Vos(4) lap=2 point=2 t=-1.000 et=10038.070</Score>
    <Score et="10038.1">Rene Vos(4) lap=3 point=0 t=-1.000 et=10038.070</Score>
    </Stream>
    <MostLapsCompleted>3</MostLapsCompleted>
    <Driver>
    <Name>Rene Vos</Name>
    <Connected>1</Connected>
    <VehFile>MCL650S-GTAA648A4A.VEH</VehFile>
    <UpgradeCode>00000000 00000000 00000000 00000000</UpgradeCode>
    <VehName>McLaren 650S GT3 #00</VehName>
    <Category>McLaren, McLaren 650S GT3 WFG</Category>
    <CarType>McLaren 650S GT3 WFG</CarType>
    <CarClass>GT3</CarClass>
    <CarNumber>00</CarNumber>
    <TeamName>Test Team</TeamName>
    <isPlayer>1</isPlayer>
    <ServerScored>1</ServerScored>
    <Position>1</Position>
    <ClassPosition>1</ClassPosition>
    <Points>0</Points>
    <ClassPoints>0</ClassPoints>
    <LapRankIncludingDiscos>1</LapRankIncludingDiscos>
    <Lap num="1" p="1" et="--.---" fuel="0.388" twfl="0.988" twfr="0.988" twrl="0.988" twrr="0.988" fcompound="0,S7M (Soft)" rcompound="0,S7M (Soft)">--.----</Lap>
    <Lap num="2" p="1" et="9906.6045" s1="28.5762" s2="38.4980" s3="38.8584" fuel="0.361" twfl="0.969" twfr="0.976" twrl="0.976" twrr="0.980" fcompound="0,S7M (Soft)" rcompound="0,S7M (Soft)">105.9326</Lap>
    <Lap num="3" p="1" et="10012.5371" fuel="0.416" twfl="1.000" twfr="1.000" twrl="1.000" twrr="1.000" fcompound="0,S7M (Soft)" rcompound="0,S7M (Soft)">--.----</Lap>
    <BestLapTime>105.9326</BestLapTime>
    <Laps>3</Laps>
    <Pitstops>0</Pitstops>
    <FinishStatus>Finished Normally</FinishStatus>
    <ControlAndAids startLap="1" endLap="3">PlayerControl,ABS=2,Clutch,Invulnerable,AutoBlip</ControlAndAids>
    </Driver>
    </Qualify>
    </RaceResults>
    </rFactorXML>
     
  16. Nibo

    Nibo Member

    Joined:
    Oct 12, 2010
    Messages:
    1,967
    Likes Received:
    697
    This is how rFactor2 creates logs, only last selected car is logged. I have no control over this.
     
  17. Phoentje

    Phoentje Registered

    Joined:
    Aug 16, 2019
    Messages:
    3
    Likes Received:
    1
    Really... :(
    Ok so to get this sorted out I will have to create short practice sessions? Each practice records a new (last) car?
     
  18. Nibo

    Nibo Member

    Joined:
    Oct 12, 2010
    Messages:
    1,967
    Likes Received:
    697
    Yes, change cars only in main menu and stay with one car during the session.
     
  19. Matthauser

    Matthauser Registered

    Joined:
    Nov 3, 2016
    Messages:
    12
    Likes Received:
    1
    Hello Nibo, we get an error message when we add a result to our championship.
    "Internal error
    Ticket issued: r2la/87.179.76.242.2020-12-27.22-59-19.1469297c-0483-4521-81ec-b5bb8a4f62e9"

    If we add the race result to another championship it works fine. Just in the championship we need, there is an error message.

    I just updated to the newest version of rf2la, but doesn't solve the problem.
    Any idea, what caused the problem?
     

    Attached Files:

  20. buzz hornet

    buzz hornet Registered

    Joined:
    Oct 5, 2010
    Messages:
    200
    Likes Received:
    104
    Hi Nibo something also seems to be up with the Championship Manager - Team championship. I switched to manual so I could assign my own team/driver but it seems to get stuck removing teams I don't want to include and also produces error messages such as.
    Replication steps:
    - I have 2 x Championship seasons 2018 and 2019. 2018 was done with Team Championship set to "Manual" which worked perfectly. In 2019 I tried to remove the 2018 teams and I think that was where it went wrong. The error 1 screenshot I can remove those 5 teams (although there was 12 teams - I could remove the other 7 teams).
    - In error1 screenshot - when I try and remove "Freightliner Racing" I get the internal error message. When I try and remove the teams on the left - they do not error but I can't delete them.
    - I tried switching Team Championship to off but still no luck.
    Hope this helps.....
    Using latest version.
     

    Attached Files:

Share This Page