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

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

  1. P.S.R.

    P.S.R. Registered

    Joined:
    Jun 15, 2014
    Messages:
    1,794
    Likes Received:
    4
    Liking this tool more and more. I discovered why I thought my name wasn't being highlighted. It's the sector view where it isn't highlighted of course no biggie...
     
  2. Nibo

    Nibo Registered

    Joined:
    Oct 12, 2010
    Messages:
    2,263
    Likes Received:
    977
    https://www.mediafire.com/?j8ddo281l7ub7x8
    Version 2.01:
    added separate view to compare all logs for selected car/track
    added PB (personal best) badge to indicate logs with record times
    pressing on record date/time on track records page now opens corresponding log in viewer
    pressing on track name in results viewer now opens records page for this track

    View attachment 16456
     
  3. P.S.R.

    P.S.R. Registered

    Joined:
    Jun 15, 2014
    Messages:
    1,794
    Likes Received:
    4
    Oh dear this is soooooooo great. THANKS!!!!!!!!!!! :D:D
     
  4. Juergen-BY

    Juergen-BY Registered

    Joined:
    Jun 16, 2012
    Messages:
    3,089
    Likes Received:
    440
    Great Tool. Many thanks!

    //EDit: it`s just me, or is the export function not working? Miss the HTML Export ;)
     
    Last edited by a moderator: Apr 20, 2015
  5. Nibo

    Nibo Registered

    Joined:
    Oct 12, 2010
    Messages:
    2,263
    Likes Received:
    977
    It`s working for me. It`s not working for you for any log you click? Or for one particular?
     
  6. Juergen-BY

    Juergen-BY Registered

    Joined:
    Jun 16, 2012
    Messages:
    3,089
    Likes Received:
    440
    When i click on export, nothing happen...for any logs. But i didn`t used your batch File. I start the Log Analyzer with the web2py.exe.
     
  7. Nibo

    Nibo Registered

    Joined:
    Oct 12, 2010
    Messages:
    2,263
    Likes Received:
    977
    Is it happening with v2.0 also or only v2.01? You can try running through a r2la.bat, but that should not change anything... If after you press "export report" you can see some error message in server cmd window, copy-paste it here.
     
  8. Greg 1704

    Greg 1704 Registered

    Joined:
    Jul 11, 2013
    Messages:
    30
    Likes Received:
    0
    2.0 works for me, but 2.01 I get this
    Code:
    Z:\Download\rF2 Log Analyzer ver. 2.01\rF2 Log Analyzer ver. 2.01>cd web2py
    
    Z:\Download\rF2 Log Analyzer ver. 2.01\rF2 Log Analyzer ver. 2.01\web2py>web2py_
    on_gevent.exe
    starting on 127.0.0.1:8000...
    applications\r2la\modules\rfparser2.py:144: FutureWarning: The behavior of this
    method will change in future versions.  Use specific 'len(elem)' or 'elem is not
     None' test instead.
    Traceback (most recent call last):
      File "D:/web2py/applications/r2la\compiled\models.my_model.py", line 30, in im
    port_track_records
      File "D:/web2py/applications/r2la/modules\rfparser2.py", line 169, in importXM
    L
    TypeError: cannot concatenate 'str' and 'NoneType' objects
    
    ('Faulty!', '2015_04_07_18_31_17-62Q1.xml')
    
    An the browser shows:
    Code:
    Internal error
    
    Ticket issued: r2la/127.0.0.1.2015-04-20.18-47-26.85d183a3-4883-41e1-9aad-8bc887f62276
     
  9. Nibo

    Nibo Registered

    Joined:
    Oct 12, 2010
    Messages:
    2,263
    Likes Received:
    977
    Greg 1704, could you please attach 2015_04_07_18_31_17-62Q1.xml here or put it somewhere, so that I can download it? There is something in chat there I need to see.
     
  10. Juergen-BY

    Juergen-BY Registered

    Joined:
    Jun 16, 2012
    Messages:
    3,089
    Likes Received:
    440
    Happened with 2.01. I Guess, it`s something with Firefox...with Chrome it`s working.
     
  11. Nibo

    Nibo Registered

    Joined:
    Oct 12, 2010
    Messages:
    2,263
    Likes Received:
    977
    Hm, yes, Firefox apparently does not support javascript .click(). Use other browsers until I figure this out.
     
  12. Greg 1704

    Greg 1704 Registered

    Joined:
    Jul 11, 2013
    Messages:
    30
    Likes Received:
    0
    Yes, I send you via PN.
    BTW, without any Result, I get also the ticket
     
  13. Nibo

    Nibo Registered

    Joined:
    Oct 12, 2010
    Messages:
    2,263
    Likes Received:
    977
    I think will upload new version tomorrow, with patches to this issues.
     
  14. Juergen-BY

    Juergen-BY Registered

    Joined:
    Jun 16, 2012
    Messages:
    3,089
    Likes Received:
    440
    The strange point is, all Buttons are working with Firefox, except the Export Button...
     
  15. P.S.R.

    P.S.R. Registered

    Joined:
    Jun 15, 2014
    Messages:
    1,794
    Likes Received:
    4
    Finally had a chance to play with new version. NICE!!!!!!!!!!!!!!!!!!! :cool::cool::cool::cool::cool::cool: THANKS AGAIN!!!!!!!!!

    One observation is that "remove logs with no time set" button does not appear to work.

    View attachment 16460
     
  16. Nibo

    Nibo Registered

    Joined:
    Oct 12, 2010
    Messages:
    2,263
    Likes Received:
    977
    Juergen-BY, yes, because only "export" button uses .click() method to simulate user mouse-click event in code to initiate report-file download. Others are just normal buttons/links.

    P.S.R., but it will only remove logs where nobody set time at all, because such logs are pointless. In this log you didn`t set a time, but other players(AI) did. So it stays. I did this because user can have many logs from online sessions where he didn't set a time, but competitors did, and if we clean-up such logs with one click, then user may loose some important qualy-race logs with competitors laptimes/data.
    You can delete such logs one-by-one if don`t need them.
     
  17. P.S.R.

    P.S.R. Registered

    Joined:
    Jun 15, 2014
    Messages:
    1,794
    Likes Received:
    4
    Makes perfect sense, Nibo. Thanks for clarifying :)
     
  18. Nibo

    Nibo Registered

    Joined:
    Oct 12, 2010
    Messages:
    2,263
    Likes Received:
    977
    https://www.mediafire.com/?isli2874hn46p67
    v2.02:
    "Export report" button now works in Firefox
    Error messages now will be shown to user where possible
    Fixed errors in parser if chat had empty messages
    Empty Results folder now don`t produce an error
    Logs from other people`s sessions in which user did not participate now properly shown
     
  19. Juergen-BY

    Juergen-BY Registered

    Joined:
    Jun 16, 2012
    Messages:
    3,089
    Likes Received:
    440
    Great support, many thanks, Nibo!

    //Edit: working :D
     
  20. Greg 1704

    Greg 1704 Registered

    Joined:
    Jul 11, 2013
    Messages:
    30
    Likes Received:
    0
    Thanks Nibo
     

Share This Page