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

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

  1. BuggaNoia

    BuggaNoia Registered

    Joined:
    Jan 2, 2022
    Messages:
    5
    Likes Received:
    2
    For me it's not working at all:
    upload_2022-4-28_20-4-5.png
    :( .
    Wrong packing in cx_freeze ?
     
  2. Corti

    Corti Registered

    Joined:
    Sep 29, 2014
    Messages:
    1,354
    Likes Received:
    2,495
  3. Goanna

    Goanna Registered

    Joined:
    Jan 19, 2012
    Messages:
    1,405
    Likes Received:
    953
    All working ok here, including custom banner…good job…stay safe Nibo.
     
    Corti likes this.
  4. Nibo

    Nibo Registered

    Joined:
    Oct 12, 2010
    Messages:
    2,251
    Likes Received:
    965
    BuggaNoia, that looks like you unzipped latest version into the folder of your old version? Because that error is showing gloun.__init__.py file from version 2.058.x. Two versions are messed up and can not work. Never overwrite old r2la folder with new one.
    You need to unzip rF2 Log Analyzer ver. 2.1.000 folder separately and start new r2la from scratch.

    Corti, are there any new errors in cmd window when you press "Submit" in form trying to turn on custom banner?
    If not, make sure that you did it in correct order: first put any image into rF2 Log Analyzer ver. 2.1.000\web2py\applications\r2la\static\images\custom_site_banner folder, then on Options page check "Show custom banner" checkbox, then press "Submit". r2la will only "pick up" that banner image when you press "Submit" and checkbox is checked.
     
  5. BuggaNoia

    BuggaNoia Registered

    Joined:
    Jan 2, 2022
    Messages:
    5
    Likes Received:
    2
    This was exactly the problem! Thanks for your quick response and stay safe (if this is even possible for you nowadays).
     
    Nibo likes this.
  6. Corti

    Corti Registered

    Joined:
    Sep 29, 2014
    Messages:
    1,354
    Likes Received:
    2,495
    thx @Nibo the step by step fixed the problem
    restart web2_py & all ok now
     
    Last edited: Apr 30, 2022
    Nibo likes this.
  7. Goanna

    Goanna Registered

    Joined:
    Jan 19, 2012
    Messages:
    1,405
    Likes Received:
    953
    Hope you are well and safe Nibo, I'm trying to install r2la on a remote server and I'm getting this error when running web2py.exe, this is on a Microsoft Windows Server 2019 Standard box, any thoughts?
    upload_2022-4-30_21-35-16.png
     
  8. Nibo

    Nibo Registered

    Joined:
    Oct 12, 2010
    Messages:
    2,251
    Likes Received:
    965
  9. Goanna

    Goanna Registered

    Joined:
    Jan 19, 2012
    Messages:
    1,405
    Likes Received:
    953
    Using v2.1 at the moment, installing redistributables from your link worked, server started, however in my rF2 setup I don't have a player folder (or player.json), I've renamed it to Server1 and r2la doesn't like that;
    upload_2022-5-1_7-1-37.png

    upload_2022-5-1_7-3-43.png

    EDIT: pointing to the results folder in the setup screen seems to have sorted things (so far :))
     
    Last edited: Apr 30, 2022
  10. Nibo

    Nibo Registered

    Joined:
    Oct 12, 2010
    Messages:
    2,251
    Likes Received:
    965
    If you are using r2la in DEDI mode, then providing it path to /Results folder is fine. No need for player.json in that case. I did not anticipate a scenario when user can rename player directory. But it all should work anyway.
     
    Goanna likes this.
  11. Goanna

    Goanna Registered

    Joined:
    Jan 19, 2012
    Messages:
    1,405
    Likes Received:
    953
    Me again, don’t know whether it’s me doing something wrong or not but when setting up a championship if I tick this box;
    2E9F2CC9-0A98-4336-A172-8C8B4BF05019.jpeg
    then in the driver standings tab I get this internal error message….v2.1
    C4730592-E96C-4DA0-8617-F20D413C6AAA.jpeg
     
  12. Nibo

    Nibo Registered

    Joined:
    Oct 12, 2010
    Messages:
    2,251
    Likes Received:
    965
    Thanks. That part of code required minor fix to work with Python3.
    Fixed in 2.1.001
    You can just take 2 files from new archive and replace old ones to fix this error in v.2.1.000
    - rF2 Log Analyzer ver. 2.1.001\web2py\applications\r2la\compiled\views.championships.driver_standings.load.pyc
    - rF2 Log Analyzer ver. 2.1.001\web2py\applications\r2la\compiled\views.championships.team_standings.load.pyc
     
    Goanna and Corti like this.
  13. davehenrie

    davehenrie Registered

    Joined:
    Jul 6, 2016
    Messages:
    7,454
    Likes Received:
    4,370
    After updating to the latest version, 2.1.001, everything started up and worked normally. Odd, but then I'm never surprised when rF2 is involved! ;)
     
    Nibo likes this.
  14. Andy Bonar

    Andy Bonar Registered

    Joined:
    Mar 17, 2011
    Messages:
    639
    Likes Received:
    93
    I seem to be having a problem with RF2LA not picking results up from a second reulsts folder.

    It was working all fine until yesertday.
    The missing results file is in the new folder, but not being picked up.
    I also copied it into the original results folder, but its still not pulling it in.

    I did uninistall the original copy of rf2 where rf2la was pointing at, but dont see that that could cause this?

    EDIT
    You can ignore this now :)

    I was one release behind, so I installed that, and added the new rf2 install as the default, copied the previous results files from the original install to a new folder, and added that as a second location....

    All good :)
     
    Last edited: May 1, 2022
    Nibo likes this.
  15. DanRZ

    DanRZ Registered

    Joined:
    Aug 22, 2021
    Messages:
    716
    Likes Received:
    217
    Hello, i'm struggling with the search and don't find anything on running this app as a service.
    I tried running web2py.exe as a service but it didn't work.
    I thought web2py_no_console.exe was made for that but it doesn't work too ..
    I use NSSM to set it as a service on my dedicated server.
    Thanks for any help ...
    Launching web2py.exe manually works perfectly.

    Edit 1 : It works with web2py_on_gevent.exe "as a service" but is only available in LAN.

    Edit 2 : I've found the solution, to run it as a service you need to start this command :
    Code:
    web2py.exe -i a.b.c.d -p yyyy -a password --nogui
    with a.b.c.d your real internet ip, yyyy the port you use, and password, the one you choose.
    The parameter --nogui is what made it possible to enable it running in background without the ui.
     
    Last edited: May 6, 2022
    Nibo likes this.
  16. knackko

    knackko Registered

    Joined:
    Oct 6, 2010
    Messages:
    142
    Likes Received:
    65
    Hi,
    R2LA goes to python3 and latest web2py ! good news !
    I will have a try, thanks for your work !
     
  17. ebeninca

    ebeninca Registered

    Joined:
    Sep 7, 2016
    Messages:
    738
    Likes Received:
    525
    Hi,

    First time using the app, I configured it using the dedi mode option (web2py.exe), and now I'm running in my desktop machine with public LAN address..

    My address is 192.168.1.150:80, works from localhost access.

    When I try to access this address from my phone I get "this site can't be reach"..

    So I decided to do a simple test, I stopped the dedi and started a python server on the same port in a random folder of my pc, with the command:
    > python -m http.server 80

    And I can access the address and see the folder content from my phone..

    What's happening here? any clues?
     
    Last edited: May 6, 2022
  18. DanRZ

    DanRZ Registered

    Joined:
    Aug 22, 2021
    Messages:
    716
    Likes Received:
    217
    Hello, check my post just below and try launching web2py with the public ip set ...

    Example : web2py.exe -i 86.23.76.48 -p 80 --nogui
    Or select the public IP when using the gui.

    And check the port config. It's 8000 by default, not 80.
     
    ebeninca likes this.
  19. ebeninca

    ebeninca Registered

    Joined:
    Sep 7, 2016
    Messages:
    738
    Likes Received:
    525
    This command works, bizarre... thanks anyway!!
     
    DanRZ likes this.
  20. DanRZ

    DanRZ Registered

    Joined:
    Aug 22, 2021
    Messages:
    716
    Likes Received:
    217
    Normally if well set (router, NAT, ...) this command with LAN IP should always work. Mine needs external IP ...

    Cool if it works. This command is easier to manage on a dedicated than with the UI.
     
    ebeninca likes this.

Share This Page