Skip to content

Commit 3ccaedf

Browse files
committed
We have dist!
1 parent dade2c8 commit 3ccaedf

File tree

13 files changed

+68
-30
lines changed

13 files changed

+68
-30
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,4 @@
11
.vercel
2+
build/
3+
dist/
4+
__pycache__/

LIVETIMING/python/main.spec

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
# -*- mode: python ; coding: utf-8 -*-
2+
3+
4+
a = Analysis(
5+
['main.py'],
6+
pathex=['C:\\Users\\Tim\\AppData\\Local\\Programs\\Python\\Python312-32\\Lib\\site-packages'],
7+
binaries=[],
8+
datas=[('render.py', '.'), ('rendering', 'rendering'), ('webserver_static', 'webserver_static')],
9+
hiddenimports=['PyQt5.QtWidgets', 'jaraco', 'jaraco.classes', 'jaraco.packaging', 'jaraco.text', 'websocket'],
10+
hookspath=['.'],
11+
hooksconfig={},
12+
runtime_hooks=[],
13+
excludes=[],
14+
noarchive=False,
15+
)
16+
pyz = PYZ(a.pure)
17+
18+
exe = EXE(
19+
pyz,
20+
a.scripts,
21+
a.binaries,
22+
a.datas,
23+
[],
24+
name='main',
25+
debug=False,
26+
bootloader_ignore_signals=False,
27+
strip=False,
28+
upx=True,
29+
upx_exclude=[],
30+
runtime_tmpdir=None,
31+
console=True,
32+
disable_windowed_traceback=False,
33+
argv_emulation=False,
34+
target_arch=None,
35+
codesign_identity=None,
36+
entitlements_file=None,
37+
)

LIVETIMING/python/remote_version.txt

Whitespace-only changes.

LIVETIMING/python/render.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ def py_message(self, msg: str):
7777
Instances.settings.load_defaults()
7878
elif message_type == "start_race":
7979
Instances.dll_interfacer.start_race(json_msg["data"])
80-
self.send_to_js(f'STARTED_RACE_SUCCESSFULLY|||{json_msg['data']}')
80+
self.send_to_js(f"STARTED_RACE_SUCCESSFULLY|||{json_msg['data']}")
8181
elif message_type == "kill_race":
8282
Instances.dll_interfacer.kill_race()
8383
else:

LIVETIMING/python/settings.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,10 @@ class BART2_SETTINGS:
77
def __init__(self):
88
self.loaded_data = {}
99
self.VERSION_NUMBER = None
10-
self.load_settings()
1110
self.logger = logging.getLogger("BART2")
1211
self.logger.info("Successfully loaded Settings")
12+
self.load_settings()
13+
1314

1415

1516
def load_settings(self):

LIVETIMING/python/srt/open.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
Data Acquisition Module Opened at 16:40:38 on 11/26/25
1+
Data Acquisition Module Opened at 12:38:25 on 11/27/25
22

LIVETIMING/python/srt/srt_backup_timer_data.txt

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33898,3 +33898,13 @@ table_id device_num record_num event_num heat_num channel record_typ total_user_
3389833898
0 3 14 1 5 0 e EV 0 1 5 EV 16:38:12.907 16:40:46
3389933899
0 3 15 6 5 0 e EV 0 6 5 EV 16:40:38.984 16:40:46
3390033900
0 3 16 6 5 1 b 1 1 16:41:11.711 16:41:13
33901+
33902+
Summit Systems Timer Backup Text File Initialized at 12:38:25 on 11/27/25:
33903+
33904+
table_id device_num record_num event_num heat_num channel record_typ total_user_string bib_string timer_time pc_time notes
33905+
0 3 1 6 2 0 e EV 0 6 2 EV 12:38:25.887 12:38:29
33906+
0 3 2 6 2 1 b 1 1 12:38:32.414 12:38:33
33907+
0 3 3 6 2 1 b 1 1 12:40:09.367 12:40:12
33908+
0 3 4 6 2 1 b 3 3 12:40:47.180 12:40:48
33909+
0 3 5 6 2 1 b 4 4 12:41:14.180 12:41:17
33910+
0 3 6 6 2 1 b 99 99 12:44:05.945 12:44:07

LIVETIMING/python/srt/srt_log.txt

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,25 @@
11
SRT Data Acquisition Module Runtime Log Here
2-
at 16:40:38 on 11/26/25:
2+
at 12:38:25 on 11/27/25:
33
1.6.2 at 9:54 on 6/04/09
44

55

66
SRT Data Acquisition Module Has Been Initialized
77

88
Set COMM Port to 3
99

10-
DLL Call: Creating Backup Text File at 16:40:38
11-
Initializing COMM 3 Port with Baud Rate of 9600 at 16:40:38
10+
DLL Call: Creating Backup Text File at 12:38:25
11+
Initializing COMM 3 Port with Baud Rate of 9600 at 12:38:25
1212
COM Port Initialized
1313

14-
Started Successfully Communicating with Timers at 16:40:39
14+
Started Successfully Communicating with Timers at 12:38:26
1515

16-
Sent Event and Heat: at 16:40:39 Packet: EV 0 6 5
16+
Sent Event and Heat: at 12:38:26 Packet: EV 0 6 2
1717

18-
Synching Timers: at 16:40:39 Synch Packet: SY 16:40:39
18+
Synching Timers: at 12:38:26 Synch Packet: SY 12:38:26
1919

2020
TX 3: Low Auxiliary Battery
2121
TX 3: Low Auxiliary Battery
2222
TX 3: Low Auxiliary Battery
2323
TX 3: Low Auxiliary Battery
2424
TX 3: Low Auxiliary Battery
2525
TX 3: Low Auxiliary Battery
26-
TX 3: Low Auxiliary Battery
27-
TX 3: Low Auxiliary Battery
28-
TX 3: Low Auxiliary Battery
29-
TX 3: Low Auxiliary Battery
30-
TX 3: Low Auxiliary Battery
31-
TX 3: Low Auxiliary Battery
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{"header_timestamp": "2025-11-27 12:38:27 EDT", "header": {"headers": {"race_name": "Turkey Trot", "race_location": "Glens Fall NY"}, "raceConfig": {"commPort": "COM3", "raceName": "Turkey Trot", "raceLocation": "Glens Fall NY", "raceType": "1", "useLivetiming": true, "raceStartTime": "12:40", "intervalStart": {"startInterval": 15, "athletesPerWave": 1}, "livetimingCfg": {"password": "the password", "filename": "Turkey Trot", "headers": {"race_name": "Turkey Trot", "race_location": "Glens Fall NY"}}}, "live": false}}
2+
{"timestamp": "12:40:12.413948 ", "data": {"bib_num": "1", "first_name": "Trey", "last_name": "Naselli", "team": "Johnstown", "dll_record_structure": {"table_id": 0, "device_num": 3, "record_num": 3, "event_num": 6, "heat_num": 2, "channel": 1, "record_typ": "b", "userstring": "1", "userxfield": [null, null, null, null, null, null, null, null, null, null], "bib_string": "1", "timer_time": "12:40:09.367", "pc_time": "12:40:12", "notes": " "}, "additional_startlist_data": {"bib_index": 0}, "timing_data": {"pc_time": 45612.0, "timer_time": 45609.367, "interval_time_offset": 0, "corrected_time": 9.367}}}
3+
{"timestamp": "12:40:48.477754 ", "data": {"bib_num": "3", "first_name": "Forrest", "last_name": "Slingerland", "team": "Glens Falls", "dll_record_structure": {"table_id": 0, "device_num": 3, "record_num": 4, "event_num": 6, "heat_num": 2, "channel": 1, "record_typ": "b", "userstring": "3", "userxfield": [null, null, null, null, null, null, null, null, null, null], "bib_string": "3", "timer_time": "12:40:47.180", "pc_time": "12:40:48", "notes": " "}, "additional_startlist_data": {"bib_index": 1}, "timing_data": {"pc_time": 45648.0, "timer_time": 45647.18, "interval_time_offset": 15, "corrected_time": 32.18}}}
4+
{"timestamp": "12:41:17.244655 ", "data": {"bib_num": "4", "first_name": "Nathaniel", "last_name": "Burke", "team": "Guilderland", "dll_record_structure": {"table_id": 0, "device_num": 3, "record_num": 5, "event_num": 6, "heat_num": 2, "channel": 1, "record_typ": "b", "userstring": "4", "userxfield": [null, null, null, null, null, null, null, null, null, null], "bib_string": "4", "timer_time": "12:41:14.180", "pc_time": "12:41:17", "notes": " "}, "additional_startlist_data": {"bib_index": 2}, "timing_data": {"pc_time": 45677.0, "timer_time": 45674.18, "interval_time_offset": 30, "corrected_time": 44.18}}}
5+
{"timestamp": "12:44:07.625105 ", "data": {"bib_num": "99", "first_name": "Unknown", "last_name": "Unknown", "team": "Unknown", "dll_record_structure": {"table_id": 0, "device_num": 3, "record_num": 6, "event_num": 6, "heat_num": 2, "channel": 1, "record_typ": "b", "userstring": "99", "userxfield": [null, null, null, null, null, null, null, null, null, null], "bib_string": "99", "timer_time": "12:44:05.945", "pc_time": "12:44:07", "notes": " "}, "additional_startlist_data": {"bib_index": 0}, "timing_data": {"pc_time": 45847.0, "timer_time": 45845.945, "interval_time_offset": 0, "corrected_time": 245.945}}}

SITESERVER/misc_data/tags.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,4 @@ mission
44
permanant
55
permanent
66
program
7+
test

0 commit comments

Comments
 (0)