autoverse-cli 0.13.5__py3-none-any.whl → 0.13.6__py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- {autoverse_cli-0.13.5.dist-info → autoverse_cli-0.13.6.dist-info}/METADATA +1 -1
- {autoverse_cli-0.13.5.dist-info → autoverse_cli-0.13.6.dist-info}/RECORD +9 -9
- avrs/app_version.py +1 -1
- avrs/race_cloud.py +7 -4
- avrs/race_cloud_fwd_api.py +1 -1
- {autoverse_cli-0.13.5.dist-info → autoverse_cli-0.13.6.dist-info}/LICENSE +0 -0
- {autoverse_cli-0.13.5.dist-info → autoverse_cli-0.13.6.dist-info}/WHEEL +0 -0
- {autoverse_cli-0.13.5.dist-info → autoverse_cli-0.13.6.dist-info}/entry_points.txt +0 -0
- {autoverse_cli-0.13.5.dist-info → autoverse_cli-0.13.6.dist-info}/top_level.txt +0 -0
@@ -1,5 +1,5 @@
|
|
1
1
|
avrs/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
2
|
-
avrs/app_version.py,sha256=
|
2
|
+
avrs/app_version.py,sha256=q9eu-Welv6ex74hek8yab_D6nZbF6arJpoB1e-alW5Q,856
|
3
3
|
avrs/argparse_help.py,sha256=EoEaohGXZXqJvs1dFEzbo9vh47CYdHdSY2Im2Ps2iFo,945
|
4
4
|
avrs/avrs.py,sha256=bGF35a72MZU41OVWnFHmchqmgKXBKh9djokzGA_4pL4,4621
|
5
5
|
avrs/can_tool.py,sha256=IBoctKobBJ3wCq4ZdtuXuXH4AMEUxazCfYT6YP0Luw8,7161
|
@@ -7,9 +7,9 @@ avrs/can_tool_util.py,sha256=G3q21dTGMLc09SDq_RieoW7kSn-kXPkXxPDjavPh4hQ,7710
|
|
7
7
|
avrs/cfg.py,sha256=kMn08Z4Ms1PAu2-U1QI8weEJeIVEppP4A4_tFfwnjtg,2924
|
8
8
|
avrs/launcher.py,sha256=kk1lyHHLgFZ4zsFfa_zV5f1kYbUODT6wEILJ8TZ16rQ,9353
|
9
9
|
avrs/launcher_util.py,sha256=sO3k_z3A-HIQdJVkVXNXUAE_MGFwAYiZUqQBoFwOqew,5325
|
10
|
-
avrs/race_cloud.py,sha256=
|
10
|
+
avrs/race_cloud.py,sha256=15nJXs8SEwjRYuhV0Got9FE_1uq5QRClnXvPqjYRv7Q,15336
|
11
11
|
avrs/race_cloud_cfg_util.py,sha256=gcHyUY0m5zc_9zZatKLaSIC_oFGc-6Vs8UlcX5yry9o,5158
|
12
|
-
avrs/race_cloud_fwd_api.py,sha256=
|
12
|
+
avrs/race_cloud_fwd_api.py,sha256=8ai4YnuqB16ewHxsT9RzNOLNSLcR95uuWfhOkIImjyA,1418
|
13
13
|
avrs/race_cloud_util.py,sha256=ltp3_mPRV7TpdX0ZlcNQP0qzEq-l0l_mEAdCB4YZAU4,10187
|
14
14
|
avrs/simconfig.py,sha256=UZc4FrxVHUkk2e9IglSpuojXkaL_nPrJW7trbEGgOOo,2907
|
15
15
|
avrs/simconfig_util.py,sha256=1RmnmhK5C4HlCicTQeqn-1ORz3Xrku_QMt1Fqr9XjZs,4839
|
@@ -37,9 +37,9 @@ avrs/requests/toggle_hud.py,sha256=sV5t5QZc4uvRihPVk8jEKZiQNsyF9tsUwq5b4jjZplc,3
|
|
37
37
|
avrs/requests/vd.py,sha256=at6oUAGY2h0OxYU6MLOi1gnxyUn6i24vL9DUAj0L880,1600
|
38
38
|
avrs/requests/vehicle_input.py,sha256=R1b1xkRtOBkwyU6OSN4bWVlYsIUroZG0WKbYbc4pEH8,729
|
39
39
|
avrs/requests/vehicle_replay.py,sha256=nCAE21VNyKoeIjjXBGAihgOLO7zYHcu-HWvPZYxdQ2c,11099
|
40
|
-
autoverse_cli-0.13.
|
41
|
-
autoverse_cli-0.13.
|
42
|
-
autoverse_cli-0.13.
|
43
|
-
autoverse_cli-0.13.
|
44
|
-
autoverse_cli-0.13.
|
45
|
-
autoverse_cli-0.13.
|
40
|
+
autoverse_cli-0.13.6.dist-info/LICENSE,sha256=d4eWXho-u18HkBsX4K21uHX_bBb2UXZSrJdsb7Z_JlM,2647
|
41
|
+
autoverse_cli-0.13.6.dist-info/METADATA,sha256=lFWUR2zZwWxZUfG2dCQS7WUt6tPaqPgHxpstpfkEuJg,3342
|
42
|
+
autoverse_cli-0.13.6.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
|
43
|
+
autoverse_cli-0.13.6.dist-info/entry_points.txt,sha256=Cb9qsUyU5AKkklehCcvtfT0-N3SXbUEqvjze4iEU5kE,40
|
44
|
+
autoverse_cli-0.13.6.dist-info/top_level.txt,sha256=-AJO2e4MCVej6hY0U84pu5NfMeMW5qaAPSMisDT5rmA,5
|
45
|
+
autoverse_cli-0.13.6.dist-info/RECORD,,
|
avrs/app_version.py
CHANGED
avrs/race_cloud.py
CHANGED
@@ -377,10 +377,13 @@ class AvrsRaceCloud(AvrsApiRequest):
|
|
377
377
|
# call the cli so that it starts the forwarding server in the background
|
378
378
|
|
379
379
|
# stop it if its already running
|
380
|
-
|
381
|
-
|
382
|
-
|
383
|
-
|
380
|
+
try:
|
381
|
+
stop_result = stop_fwd_api()
|
382
|
+
logger.info('stopped fwd-api: {}'.format(stop_result))
|
383
|
+
start_result = start_fwd_api(args.source_port, args.target_port)
|
384
|
+
logger.info('started fwd-api: {}'.format(start_result))
|
385
|
+
except Exception as e:
|
386
|
+
logger.error('failed to restart fwd-api: {}'.format(e))
|
384
387
|
|
385
388
|
else:
|
386
389
|
logger.info('starting fwd-api in forground')
|
avrs/race_cloud_fwd_api.py
CHANGED
@@ -22,7 +22,7 @@ class ApiForwardHandler(BaseHTTPRequestHandler):
|
|
22
22
|
length = int(self.headers.get('content-length'))
|
23
23
|
rfile_str = self.rfile.read(length).decode('utf8')
|
24
24
|
sim_response = self.get_fwd_response(rfile_str)
|
25
|
-
self.wfile.write(
|
25
|
+
self.wfile.write(sim_response.encode('utf-8'))
|
26
26
|
self.send_response(HTTPStatus.OK)
|
27
27
|
self.end_headers()
|
28
28
|
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|