[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,784
    Likes Received:
    547
    Unfortunately, I can not think of anything more to try. Maybe check one more time if all rF2 servers CustomPluginVariables.json have "Enabled":1 for rFactor2SharedMemoryMapPlugin64.dll, but I think you already did that... Make sure you closing all rF2 and r2la servers before changing json files. Make sure that you are launching everything as a windows user with highest possible privileges.

    For some reason other rF2 server processes outputs are not available in shared memory. I had similar reports before, it seems that different windows versions have different memory access permissions and stuff like that. I know very little on this system management topic.

    You can make sure that all your rF2 servers are outputting info correctly by launching every rF2 server separately and see if they work on their own. If yes, then its most probably some specifics with how your Windows manages shared memory.
     
  2. Alek

    Alek Registered

    Joined:
    Oct 6, 2010
    Messages:
    95
    Likes Received:
    1
    ok, however thanks for your support!!
     
  3. Nibo

    Nibo Member

    Joined:
    Oct 12, 2010
    Messages:
    1,784
    Likes Received:
    547
    Updated to 2.058.24
    • Added class name/position column to "Qual Results" table on championship race report page.
    • Added togglable CarType hints to championship Manage Classes widget.
     
    Mauro, McFlex, jayarrbee36 and 3 others like this.
  4. ECAR_Tracks

    ECAR_Tracks Registered

    Joined:
    May 1, 2016
    Messages:
    445
    Likes Received:
    429
    Top work. I sincerely recommend to support Nibo's work. His software is polished and works flawlessly. In addition, the support is immediate.

    Thanks again!
     
    Mauro likes this.
  5. TOCA2FREAK

    TOCA2FREAK Registered

    Joined:
    Apr 6, 2011
    Messages:
    831
    Likes Received:
    106
    Just updated to latest version but getting this error when trying to launch for the first time.

    [​IMG]

    Something went wrong...

    Code:
    Traceback (most recent call last):
      File "D:/web2py_2.14.6/applications/r2la\compiled\controllers.default.index.py", line 249, in index
      File "D:\web2py_2.14.6/applications/r2la/modules\la_core.py", line 240, in import_logs
      File "C:\Log_AnalyzerV2.058.24\web2py\gluon\packages\dal\pydal\base.py", line 920, in __getattr__
        return self.lazy_define_table(tablename, *fields, **args)
      File "C:\Log_AnalyzerV2.058.24\web2py\gluon\packages\dal\pydal\base.py", line 873, in lazy_define_table
        polymodel=polymodel)
      File "C:\Log_AnalyzerV2.058.24\web2py\gluon\packages\dal\pydal\adapters\base.py", line 482, in create_table
        self.create_sequence_and_triggers(query, table)
      File "C:\Log_AnalyzerV2.058.24\web2py\gluon\packages\dal\pydal\adapters\base.py", line 1369, in create_sequence_and_triggers
        self.execute(query)
      File "C:\Log_AnalyzerV2.058.24\web2py\gluon\packages\dal\pydal\adapters\base.py", line 1388, in execute
        return self.log_execute(*a, **b)
      File "C:\Log_AnalyzerV2.058.24\web2py\gluon\packages\dal\pydal\adapters\base.py", line 1382, in log_execute
        ret = self.get_cursor().execute(command, *a[1:], **b)
    OperationalError: database is locked
     
  6. Nibo

    Nibo Member

    Joined:
    Oct 12, 2010
    Messages:
    1,784
    Likes Received:
    547
  7. ECAR_Tracks

    ECAR_Tracks Registered

    Joined:
    May 1, 2016
    Messages:
    445
    Likes Received:
    429
    I confirm Toca's error. I have followed the steps:

    But I'm having the following issue:

    [​IMG]
     
  8. TOCA2FREAK

    TOCA2FREAK Registered

    Joined:
    Apr 6, 2011
    Messages:
    831
    Likes Received:
    106
  9. Nibo

    Nibo Member

    Joined:
    Oct 12, 2010
    Messages:
    1,784
    Likes Received:
    547
    Ok, lets be very specific to find out what its going on.
    TOCA2FREAK, please tell me at what point exactly do you have this error? Is it when you select some log in Results Viewer? Is it the same if you select any other logs? If it is one log, sent it to me.
    Also try launching r2la differently. If you used r2la.bat, now try starting by rF2 Log Analyzer ver. 2.058.24\web2py\web2py.exe and vice versa.
    I hope you didn't delete your 2.058.23 version and can use that for now. Here is the link to 2.058.23 if needed.
    UPD. Reading your error message, it looks like its was during r2la first time import of log files after first form submission? If yes, that's strange, I didn't change anything there... Maybe you have some really big log files, like the ones near a GB that were created with some rFactor2 builds weeks ago (but then it was fixed by S397).

    ECAR_Tracks, error in the screen you posted is not the same as TOCA posted. Do you have this error with all logs or only that one log? It looks to me like a problem with some driver name in xml (driver with empty name). If its just one or several logs from sessions with similar mod, send that logs to me, I will look at them.
     
    Last edited: Oct 7, 2019
  10. intweb

    intweb Registered

    Joined:
    Nov 29, 2014
    Messages:
    25
    Likes Received:
    6
    Good morning,

    Great piece of software, adds enormously to the game!

    Quick question. Is there any way of outputting (capturing) the max speed of each car as shown in the live timing screen? Where is this stored in the logs (if anywhere?) or is it a live element of the timing? Would like to capture max speed per lap or max speed per session, if possible, of all the cars to highlight any speed deficits.

    Thank you for any help.
    Steve.
     
  11. Nibo

    Nibo Member

    Joined:
    Oct 12, 2010
    Messages:
    1,784
    Likes Received:
    547
    intweb, unfortunately, no (except maybe taking a screenshot of LiveTiming page). XML reports do not contain max speed info. Live shared memory stream from plugin that I use for LIveTiming contains speed data, but it is in no way connected to xml report files. Therefore LiveTiming in r2la is separate module that can only display info live.
     
  12. TOCA2FREAK

    TOCA2FREAK Registered

    Joined:
    Apr 6, 2011
    Messages:
    831
    Likes Received:
    106
    Okay I have fixed my issue. It was due to the very large result files that rFactor 2 was creating a few weeks back so all is good now thanks. ;)
     
    Nibo likes this.
  13. ECAR_Tracks

    ECAR_Tracks Registered

    Joined:
    May 1, 2016
    Messages:
    445
    Likes Received:
    429
    Actually the error appears instantly when I open the http://127.0.0.1:8000/default in my browser.
    I'm investigating here.
     
  14. Nibo

    Nibo Member

    Joined:
    Oct 12, 2010
    Messages:
    1,784
    Likes Received:
    547
    ECAR_Tracks, if that's the one that is on your screenshot, then, yes, it would appear on /default, because automatically the top log in the list it Results Viewer is opened, there is a driver with no name in it and it shows error. Now try clicking all other logs one by one, they should not show an error.
     
  15. ECAR_Tracks

    ECAR_Tracks Registered

    Joined:
    May 1, 2016
    Messages:
    445
    Likes Received:
    429
    Yes Nibo, I can confirm it's something happening with the first result file (and few more) it looks like I've used some bugged car in those practises which has no name or something like that. Create other logs last night and apparently worked fine.

    Thanks for support! It's working.
     
    Nibo likes this.
  16. intweb

    intweb Registered

    Joined:
    Nov 29, 2014
    Messages:
    25
    Likes Received:
    6
    Understood, thanks Nibo.
     
  17. bo1210

    bo1210 Registered

    Joined:
    May 6, 2018
    Messages:
    24
    Likes Received:
    4
    This may have already been covered, so a link to a reply would be great. Does rF2LA even have to run on the PC hosting the race, or can it run on a client PC? If it does need to run on the host, what files need to be transferred between non-DEDI PC's in case someone is unable to host a race in a championship so that the scoring remains accurate? Just the race and quali XML files? Thanks in advance.
     
  18. Nibo

    Nibo Member

    Joined:
    Oct 12, 2010
    Messages:
    1,784
    Likes Received:
    547
    Yes, you can run r2la on one PC and copy some race and qual xml logs from other PC to your logs directory on 1st PC. Then press "refresh" in r2la.
    r2la does not need to run on PC hosting a race necessarily, its just more convenient.
     
  19. bo1210

    bo1210 Registered

    Joined:
    May 6, 2018
    Messages:
    24
    Likes Received:
    4
    Excellent! Thank you, Nibo!
     
  20. eric cline

    eric cline Registered

    Joined:
    Sep 16, 2019
    Messages:
    3
    Likes Received:
    2
    it keeps telling me my pathway is wrong when trying to start program ive been over it a hundred times and it still tells me does not exist.[​IMG]
     
    Last edited: Nov 7, 2019
    bo1210 likes this.

Share This Page