stracker

Apps stracker 3.5.1

Login or Register an account to download this content
Thanks for your answer. Sorry for my english... My objective is simply to see my laptime in the list (link posted before) . What I did till now is : 1) Open port 50041-42 in my router 2) Write the location of my "server" folder in the *.ini and put a username and password . 3) Tested ptracker and stracker on my own server , can't see the green "C".
Thank you
 
Thanks for your answer. Sorry for my english... My objective is simply to see my laptime in the list (link posted before) . What I did till now is : 1) Open port 50041-42 in my router 2) Write the location of my "server" folder in the *.ini and put a username and password . 3) Tested ptracker and stracker on my own server , can't see the green "C".
Thank you

So is this the IP address of your server: 5.39.85.225? Or is it another one?

The statistics you see in http://5.39.85.225:50041/lapstat belongs to this server. If you want your times to be in that list you have to play on that server.

If in fact this is your server, post the stracker.log and log.txt from <user documents>/Assetto Corsa/logs/py_log.txt which might help to identify the problem.

Thanks
 
OK ok ! I'm sorry , I think I went wrong from the begining. I thought that this apps was made to pick up all laptimes for a "global ranking" for each Track/car for everyone who uses Stracker and that this ranking was the page said before.... As I said, i'm really noob , now I understand what this app is for , and sorry again if I wasted your time.
Thanks again
 
I'm trying to install Stracker in the server but is giving me an error in the HTTP and not to do here you step pictures so I can horientar in the installation.

 
I'm trying to install Stracker in the server but is giving me an error in the HTTP and not to do here you step pictures so I can horientar in the installation.

In [HTTP_CONFIG] you have set enabled to False. Set this to true and it should work (consider to change your admin password, now that you posted that :)).

Another note: In [STRACKER_CONFIG] you have set ac_server_address to the globally visible IP address. While this is normally working without any problems, stracker is designed to run on the same server than the ac server. If this is the case you can leave the IP address of your localhost: 127.0.0.1 (this causes less headache when ip addresses change).
 
In [HTTP_CONFIG] you have set enabled to False. Set this to true and it should work (consider to change your admin password, now that you posted that :)).

Another note: In [STRACKER_CONFIG] you have set ac_server_address to the globally visible IP address. While this is normally working without any problems, stracker is designed to run on the same server than the ac server. If this is the case you can leave the IP address of your localhost: 127.0.0.1 (this causes less headache when ip addresses change).

tks.... nice job
 
another question, because when active Stracker and entered the game AC, I get the Ip connecting but not let me in the server, but when I turn off the AC can enter either the server. that will be happening.

 
another question, because when active Stracker and entered the game AC, I get the Ip connecting but not let me in the server, but when I turn off the AC can enter either the server. that will be happening.

One problem in your config is the [HTTP_CONFIG] listen_addr setting. This should be set to the default value 0.0.0.0 which means that the whole internet will be able to connect.

PS: For the future, it would be nice, if you could avoid posting screenshots, but instead post the files stracker.log and stracker.ini.

Hope this helps.
Neys
 
look this Log
sorry for the many questions
now is giving me this log .. what would be the correct Port, which would be the correct setup ...

stracker.py[INFO ]: Created log file.
ptracker.py[INFO ]: Using database './stracker.db3'
ptracker.py[INFO ]: no compression configured
stracker.py[INFO ]: [07/Jan/2015:08:31:02] ENGINE Bus STARTING
stracker.py[INFO ]: [07/Jan/2015:08:31:02] ENGINE Started monitor thread '_TimeoutMonitor'.
stracker.py[INFO ]: [07/Jan/2015:08:31:02] ENGINE Serving on http://0.0.0.0:34997
stracker.py[INFO ]: [07/Jan/2015:08:31:02] ENGINE Bus STARTED
stracker.py[WARN ]: Timeout occurred when requesting entry page. Ignored.
ptracker.py[WARN ]: Error while reading server results (http://127.0.0.1:9605).
stracker.py[WARN ]: Timeout occurred when requesting entry page. Ignored.
ptracker.py[WARN ]: Error while reading server results (http://127.0.0.1:9605).
stracker.py[WARN ]: Timeout occurred when requesting entry page. Ignored.
ptracker.py[WARN ]: Error while reading server results (http://127.0.0.1:9605).
stracker.py[WARN ]: Timeout occurred when requesting entry page. Ignored.
ptracker.py[WARN ]: Error while reading server results (http://127.0.0.1:9605).
ptracker.py[INFO ]: new session
 
Hi Neys,
thank you for the great work. I have some trouble with the stracker. when stracker starts it seems as if it works but after a while ist stops. i found the following entry in stracker logfile.

...
ptracker.py[INFO ]: new session
stracker.py[INFO ]: 82.115.122.171 - - [06/Jan/2015:18:59:44] "GET /favicon.ico HTTP/1.1" 404 1196 "" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:34.0) Gecko/20100101 Firefox/34.0"
stracker.py[INFO ]: 82.115.122.171 - - [06/Jan/2015:18:59:44] "GET /favicon.ico HTTP/1.1" 404 1196 "" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:34.0) Gecko/20100101 Firefox/34.0"
ptracker.py[ERROR]: Caught exception in server loop:
ptracker.py[ERROR]: Traceback (most recent call last):
File ".\stracker_lib\ac_monitor.py", line 858, in run
File ".\stracker_lib\entry_html_parser.py", line 200, in parse_entry
File ".\stracker_lib\entry_html_parser.py", line 130, in finish
AssertionError

ptracker.py[INFO ]: Shutting down the server.
stracker.py[INFO ]: [06/Jan/2015:19:32:54] ENGINE Bus STOPPING
stracker.py[INFO ]: [06/Jan/2015:19:32:54] ENGINE HTTP Server cherrypy._cpwsgi_server.CPWSGIServer(('0.0.0.0', 50041)) shut down
stracker.py[INFO ]: [06/Jan/2015:19:32:54] ENGINE Stopped thread '_TimeoutMonitor'.
stracker.py[INFO ]: [06/Jan/2015:19:32:54] ENGINE Bus STOPPED
stracker.py[INFO ]: [06/Jan/2015:19:32:54] ENGINE Bus EXITING
stracker.py[INFO ]: [06/Jan/2015:19:32:54] ENGINE Bus EXITED

thanks for your support.
 

Attachments

  • stracker_debug - Kopie.txt
    1.9 KB · Views: 429
look this Log
sorry for the many questions
now is giving me this log .. what would be the correct Port, which would be the correct setup ...

stracker.py[INFO ]: Created log file.
ptracker.py[INFO ]: Using database './stracker.db3'
ptracker.py[INFO ]: no compression configured
stracker.py[INFO ]: [07/Jan/2015:08:31:02] ENGINE Bus STARTING
stracker.py[INFO ]: [07/Jan/2015:08:31:02] ENGINE Started monitor thread '_TimeoutMonitor'.
stracker.py[INFO ]: [07/Jan/2015:08:31:02] ENGINE Serving on http://0.0.0.0:34997
stracker.py[INFO ]: [07/Jan/2015:08:31:02] ENGINE Bus STARTED
stracker.py[WARN ]: Timeout occurred when requesting entry page. Ignored.
ptracker.py[WARN ]: Error while reading server results (http://127.0.0.1:9605).
stracker.py[WARN ]: Timeout occurred when requesting entry page. Ignored.
ptracker.py[WARN ]: Error while reading server results (http://127.0.0.1:9605).
stracker.py[WARN ]: Timeout occurred when requesting entry page. Ignored.
ptracker.py[WARN ]: Error while reading server results (http://127.0.0.1:9605).
stracker.py[WARN ]: Timeout occurred when requesting entry page. Ignored.
ptracker.py[WARN ]: Error while reading server results (http://127.0.0.1:9605).
ptracker.py[INFO ]: new session

Everything seems to run. You find the http server here: http://207.179.212.200:34997/
 
Hi Neys,
thank you for the great work. I have some trouble with the stracker. when stracker starts it seems as if it works but after a while ist stops. i found the following entry in stracker logfile.

...
ptracker.py[INFO ]: new session
stracker.py[INFO ]: 82.115.122.171 - - [06/Jan/2015:18:59:44] "GET /favicon.ico HTTP/1.1" 404 1196 "" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:34.0) Gecko/20100101 Firefox/34.0"
stracker.py[INFO ]: 82.115.122.171 - - [06/Jan/2015:18:59:44] "GET /favicon.ico HTTP/1.1" 404 1196 "" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:34.0) Gecko/20100101 Firefox/34.0"
ptracker.py[ERROR]: Caught exception in server loop:
ptracker.py[ERROR]: Traceback (most recent call last):
File ".\stracker_lib\ac_monitor.py", line 858, in run
File ".\stracker_lib\entry_html_parser.py", line 200, in parse_entry
File ".\stracker_lib\entry_html_parser.py", line 130, in finish
AssertionError

ptracker.py[INFO ]: Shutting down the server.
stracker.py[INFO ]: [06/Jan/2015:19:32:54] ENGINE Bus STOPPING
stracker.py[INFO ]: [06/Jan/2015:19:32:54] ENGINE HTTP Server cherrypy._cpwsgi_server.CPWSGIServer(('0.0.0.0', 50041)) shut down
stracker.py[INFO ]: [06/Jan/2015:19:32:54] ENGINE Stopped thread '_TimeoutMonitor'.
stracker.py[INFO ]: [06/Jan/2015:19:32:54] ENGINE Bus STOPPED
stracker.py[INFO ]: [06/Jan/2015:19:32:54] ENGINE Bus EXITING
stracker.py[INFO ]: [06/Jan/2015:19:32:54] ENGINE Bus EXITED

thanks for your support.

This error means that stracker was not able to parse the ENTRY html page provided by the AC server. Would you please provide me the IP address of your server and maybe also your server_cfg.ini and entry_list.ini, so I can check what's going wrong there?
 
Hi Neys,
thanks for your help. i start stracker but i don't now how long it runs. the ip-address is http://85.214.228.168:50041/mainpage. stracker runs on the same machine as ac dedicated server.
 

Attachments

  • entry_list.ini
    1.3 KB · Views: 379
  • server_cfg.ini
    808 bytes · Views: 459
  • stracker_debug.txt
    1.6 KB · Views: 632
Hi Neys,
thanks for your help. i start stracker but i don't now how long it runs. the ip-address is http://85.214.228.168:50041/mainpage. stracker runs on the same machine as ac dedicated server.

Try to remove the commented lines from server_cfg.ini. I have made the experience, that AC server does not like comments at all (and acts with unexpected behaviour, e.g. a race with number of laps=0). Please report back if that actually helped.
 
Thanks for your support neys. after deleting the commented lines stracker works perfect.
but now the next question:
i have a windows server machine with 3 AC dedicated server running. is it possible that stracker collect data from all AC dedicated server running ? if yes can you assist me ?
cu
 
Thanks for your support neys. after deleting the commented lines stracker works perfect.
but now the next question:
i have a windows server machine with 3 AC dedicated server running. is it possible that stracker collect data from all AC dedicated server running ? if yes can you assist me ?
cu

Good to hear this :)

I really need to include a chapter about multi-server setups in the README.txt. For now, here are your possibilities:
  • Use the same database for all servers: Setup an stracker.ini for each server. Use [STRACKER_CONFIG]/server_name for assigning a name for each of the servers which will be used to tag sessions. Be sure to use different ptracker ports in [STRACKER_CONFIG]/listening_port (choose from the list of ports in the comment above). Each stracker.ini shall point to the same database (if you're using sqlite, reference the same .db3 file for all instances). If you want http access, configure one of the stracker.ini files for http, and disable it for the other instances. Start one stracker instance per server.
    Note: Though not required, I'd recommend to consider the usage of a postgres database in a multi-server environment.
  • Use a different database for each of the servers. Like above, but reference different databases in the stracker.ini files. Each stracker instance can have http support enabled, but be sure to use different ports.
Remember that the stracker instances need to be restarted whenever the corresponding AC server instances are restarted.

I hope this helps!
 
Hi Neys,
one more thanks for your support. all works fine now. the next challenge is to transfer it to UNIX/LINUX :)

The native linux support is brand new (and because of that it has not many test kilometers :)). Please let me know if you encounter any problems. If it just works, it'd be nice to hear that as well :D
 

Latest News

Are you buying car setups?

  • Yes

  • No


Results are only viewable after voting.
Back
Top