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

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

  1. Nibo

    Nibo Member

    Joined:
    Oct 12, 2010
    Messages:
    1,902
    Likes Received:
    651
    Littlefysh, zip your rF2 Log Analyzer ver. 2.058.34\web2py\applications\r2la\errors folder and send it to me.
     
  2. DirkB

    DirkB Registered

    Joined:
    Jun 16, 2020
    Messages:
    5
    Likes Received:
    2
    updating wine to new devel version 5.11 and reinstalling the Linux unixodbc and libodbc packages resolved the issue.
     
    Nibo likes this.
  3. knackko

    knackko Registered

    Joined:
    Oct 6, 2010
    Messages:
    129
    Likes Received:
    64
    So quick ! thank you !
    Just a quick note about removing not assigned results: it seems that linked qualify sessions to assigned races are removed.
    This week end, ODS R2LA will be under load: 18 races in 24h :)
     
  4. Nibo

    Nibo Member

    Joined:
    Oct 12, 2010
    Messages:
    1,902
    Likes Received:
    651
    Thanks for noticing. I will try to fix this, it does not look easy...
     
  5. Nibo

    Nibo Member

    Joined:
    Oct 12, 2010
    Messages:
    1,902
    Likes Received:
    651
    Small fix.
    • Fixed error when Qualifying logs for assigned Races were not selected on "Remove logs not assigned to championships" action and for "Assigned To Championship/Not assigned To Championship" filter.
    Uploaded 2.058.34 to same link without version change.

    In this case, those who already have installed version 2.058.34 can re-download archive, stop r2la and overwrite rF2 Log Analyzer ver. 2.058.34\web2py\applications\r2la\compiled folder with new one.
     
    knackko likes this.
  6. TOCA2FREAK

    TOCA2FREAK Registered

    Joined:
    Apr 6, 2011
    Messages:
    873
    Likes Received:
    119
    If you have two ethernet ports connected how do you get log analyzer to choose the one that has internet access?
     
  7. Nibo

    Nibo Member

    Joined:
    Oct 12, 2010
    Messages:
    1,902
    Likes Received:
    651
    I don't know. If there are different IPs on this ports, then maybe you can choose IP in the web2py server list before starting server.
     
  8. TOCA2FREAK

    TOCA2FREAK Registered

    Joined:
    Apr 6, 2011
    Messages:
    873
    Likes Received:
    119
    Under public all i see is 0.0.0.0

    upload_2020-6-27_13-49-45.png
     
  9. TOCA2FREAK

    TOCA2FREAK Registered

    Joined:
    Apr 6, 2011
    Messages:
    873
    Likes Received:
    119
    Okay choosing 0.0.0.0 makes it available over the internet ;)
     
  10. Davvid

    Davvid Registered

    Joined:
    Feb 11, 2012
    Messages:
    161
    Likes Received:
    29
    I have kind of similar request. Would it be possible to have separate page cookies I guess for different instances (ports) of r2la on the same IP? As it is when I log to one instance I immediately get log out of the other.
     
  11. Goanna

    Goanna Registered

    Joined:
    Jan 19, 2012
    Messages:
    811
    Likes Received:
    560
    @Davvid I’m just curious, why two instances running?
     
  12. Nibo

    Nibo Member

    Joined:
    Oct 12, 2010
    Messages:
    1,902
    Likes Received:
    651
    Davvid, cookies/sessions are controlled automatically by web2py. There is a way to set cookies in code for me, but after reading a bit on this topic I can not see easy way to do what you requested with my knowledge level. I would be doing something which I really don't understand completely and can break something. As I understand, current cookie value (which includes only IP) must stay as it is for web2py to correctly retrieve users session on request.
     
  13. Davvid

    Davvid Registered

    Joined:
    Feb 11, 2012
    Messages:
    161
    Likes Received:
    29
    Well, having 3-4 servers it's more readable for us.

    Thanks for that insight. I was afraid it could be complicated. We'll manage multiple logins then.
     
    Goanna likes this.
  14. DirkB

    DirkB Registered

    Joined:
    Jun 16, 2020
    Messages:
    5
    Likes Received:
    2
    Ho, thanks for the great work.
    Is there any commandline option to start the server, so it can be started as a service?
     
  15. Nibo

    Nibo Member

    Joined:
    Oct 12, 2010
    Messages:
    1,902
    Likes Received:
    651
    There is an option, but it is for non-compiled version of web2py as far as I understand. I use only compiled version for distribution. On web2py forum I found posts that somebody used web2py.exe as service with the help of "Non-Sucking Service Manager" (http://nssm.cc/usage)
    Maybe you can try it or other generic tools that help run programs as services.
     
  16. DirkB

    DirkB Registered

    Joined:
    Jun 16, 2020
    Messages:
    5
    Likes Received:
    2
    Hi thanks a lot, exactly for NSSM I was looking for a solution :)
    youre the man

    For anybody interested to start rf2log Analyzer using NSSM:
    After creating the initial profile using localhost and setting the port and password, you're ready to create your service
    First field: in nssm contains the path to your web2py.exe
    Second field: the startup Directory
    Third field: -a <your Password> -i <Your Public IP> -p <your Port>
    and you're ready to start your service

    I hope it will help a little
     
    Last edited: Jul 1, 2020
    Nibo likes this.
  17. TOCA2FREAK

    TOCA2FREAK Registered

    Joined:
    Apr 6, 2011
    Messages:
    873
    Likes Received:
    119
    We done a multi-class race at Portland on the 2nd July and the results can be seen in the link below. Is it possible to show the car classes on the results?

    http://62.210.178.134:8000/
     
  18. Nibo

    Nibo Member

    Joined:
    Oct 12, 2010
    Messages:
    1,902
    Likes Received:
    651
    Classes will be visible only if you attach this results to some championship and view result from championship page. Even if it is non-championship race, you can create "fake" championship, select "CarClass" for "Championship car classes" championship option and classes will be visible. I did not add "Class" column to Results Viewer session report table, because many cars/mods (unlike official GTE and GT3 cars) have long names in CarClass tag and it really does not add much info, but takes a lot of space and can "break" table formatting. I need to save space.
     
    TOCA2FREAK likes this.
  19. cialtronen

    cialtronen Registered

    Joined:
    Jul 4, 2020
    Messages:
    3
    Likes Received:
    0
    I am trying to update from the version x32 to x34. As inditicated in the instruction, I searched the file "r2la_settings.json" on the old installation directory to copy it in the new one, but no way to find it. Am I doing something wrong? Alternatively, is there a way to "force" the new installation to re-check all the log files? (even if long, it's not a problem). :)
     
  20. Nibo

    Nibo Member

    Joined:
    Oct 12, 2010
    Messages:
    1,902
    Likes Received:
    651
    There can be no r2la_settings.json file if you did not create any championships or did not change any options. Or if you have championships and there is still no r2la_settings.json file, then there is an error when r2la trying create one. Go to any championship options page in your old r2la, change some parameter, press "Save" and look in cmd window if there is some error. One reason for this error can be that you have named something in championship (like Championship Name, Team Name, Class Name) and used non-ASCII symbols (Germanic umlaut, for example). Change any such names to Latin symbols only.

    r2la should re-check all files when you press "Refresh" or "Check for new logs" buttons. If some files changed, it should pick-up this changes. Only way to make completely fresh database table for xmls is to unzip new r2la instance and complete a first r2la start.
     

Share This Page