jamstats
jamstats copied to clipboard
Jamstats does not work when using CRG beta builds
What version of the tools are you running, and how? I use Jamstats version 1.4.12, tested in both Windows 10 & Debian 12. CRG versions: 2025-beta2 and 2025-beta3
Is your feature request related to a problem? Please describe. Jamstats is not able to process data from the beta versions of the Scoreboard. Neither importing json files nor directly reading from the webserver works.
Instead, Jamstats stops with an error (json file) or I get this error message when trying to load the websocket:
jamstats version 1.4.12, by Damon May Connecting to server localhost, port 8000... Mode not specified. Inferred mode web Using theme white
Starting jamstats server... Point your browser to: http://localhost:8080/
Opened connection. 2024-08-14 13:56:02,196 | jamstats.io.scoreboard_server_io | INFO: Opened connection. Failed to update game data from server: invalid literal for int() with base 10: '2025-beta3' EXC: Traceback (most recent call last): EXC: File "jamstats\web\statserver.py", line 260, in index EXC: File "jamstats\data\json_to_pandas.py", line 29, in load_json_derby_game EXC: File "jamstats\data\json_to_pandas.py", line 133, in get_json_major_version EXC: ValueError: invalid literal for int() with base 10: '2025-beta3' Failed to update game data from server: invalid literal for int() with base 10: '2025-beta3'
Describe the solution you'd like If it's easy to fix, it would be great to make jamstats compatible with the beta versions.
However, this issue might be deeper rooted since the beta versions contain a lot of changes in the backend. Adapting for the beta might break jamstats in combination with the stable build (2023.7) of the Scoreboard.
Describe alternatives you've considered Creating a beta branch for Jamstats could help. Users can generate plots how they are used from the stable build. When the beta and its' features become standard there will be already a working jamstats version.
Additional context Like I already mentioned, there are a lot of changes in the backend of the CRG and new features. One of these features is a penalty box timing display. At the current version, it's used for information. It does not generate new data (like PBT sheets) yet.