Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MCS-1796 Fixed frame off-by-one error in webenabled UI #661

Merged

Conversation

ThomasSchellenbergNextCentury
Copy link
Collaborator

  1. When performing an action, wait for the new image to become ready
  2. When selecting a scene, display the initial image

Base automatically changed from webenabled-docs to new-webenabled May 18, 2023 14:02
@jaudick
Copy link
Collaborator

jaudick commented May 18, 2023

@ThomasSchellenbergNextCentury The only way I can get this actually show an image after frame 0 is by holding down a button which forces it to be one frame behind. Then the images appear. So if I dont hold a button and input something every second or so then I can never see the image appear.

Frame 0:
Screenshot 2023-05-18 at 3 28 56 PM

Frame 1 after a second:
Screenshot 2023-05-18 at 3 29 03 PM

Frame 20+ if i hold down movement buttons putting me a frame behind:
Screenshot 2023-05-18 at 3 29 20 PM

@ThomasSchellenbergNextCentury
Copy link
Collaborator Author

@jaudick I'm assuming this happens fairly consistently? Maybe we should try a screen share tomorrow so I can see what you're talking about.

Would you mind share the complete terminal logs?

@jaudick
Copy link
Collaborator

jaudick commented May 19, 2023

@ThomasSchellenbergNextCentury

(webenabled) jacob.audick_cn@K6L7J7HTVG webenabled % FLASK_APP=mcsweb FLASK_DEBUG=1 flask run --port=8080 --host=0.0.0.0
 * Serving Flask app 'mcsweb'
 * Debug mode: on
[2023-05-18 15:28:16,936] INFO in mcsweb: ==============================
[2023-05-18 15:28:16,937] INFO in mcsweb: Load page: existing user: raqygmbhvk
[2023-05-18 15:28:16,937] INFO in mcsweb: MCS controller is unavailable
[2023-05-18 15:28:16,937] INFO in mcsweb: Load page: new user: regfofqnul
[2023-05-18 15:28:16,951] INFO in subprocess_runner: Running script to start the MCS Controller with command directory cmd_230518_152816_regfofqnul and image directory img_230518_152816_regfofqnul: PID=58164
[2023-05-18 15:28:17,433] INFO in run_scene_with_dir: Starting controller: watching command directory cmd_230518_152816_regfofqnul, writing to image directory img_230518_152816_regfofqnul
[2023-05-18 15:28:37,001] INFO in mcs_interface: Timeout waiting for image
[2023-05-18 15:28:39,759] INFO in mcsweb: ==============================
[2023-05-18 15:28:39,759] INFO in mcsweb: Start scene: existing user: regfofqnul
[2023-05-18 15:28:39,830] INFO in run_scene_with_dir: Modification event: /Users/jacob.audick_cn/Documents/webenabled/MCS/webenabled/static/mcsinterface/cmd_230518_152816_regfofqnul/command_da14d7a1-1050-4f3a-9ade-2f7f108315e9.txt
[2023-05-18 15:28:39,833] INFO in run_scene_with_dir: Loading file scenes/interactive_agent_identification_0001_01.json
[2023-05-18 15:28:42,021] INFO in run_scene_with_dir: Saving output step 0
[2023-05-18 15:28:42,021] INFO in run_scene_with_dir: Saved RGB image on step 0 to static/mcsinterface/img_230518_152816_regfofqnul/4e922271-2ea0-4e9d-9e72-2e69b1557a2e.png
[2023-05-18 15:28:42,053] INFO in mcsweb: Start scene: interactive_agent_identification_0001_01.json, output: static/mcsinterface/img_230518_152816_regfofqnul/4e922271-2ea0-4e9d-9e72-2e69b1557a2e.png
[2023-05-18 15:28:49,625] INFO in mcsweb: ==============================
[2023-05-18 15:28:49,625] INFO in mcsweb: Key press: existing user: regfofqnul
[2023-05-18 15:28:49,626] INFO in mcs_interface: Converting w into MoveAhead
[2023-05-18 15:28:49,639] INFO in run_scene_with_dir: Modification event: /Users/jacob.audick_cn/Documents/webenabled/MCS/webenabled/static/mcsinterface/cmd_230518_152816_regfofqnul/command_8787a8fb-91ce-4f86-b8f0-0b731491966c.txt
[2023-05-18 15:28:49,640] INFO in run_scene_with_dir: Executing command MoveAhead
[2023-05-18 15:28:49,855] INFO in run_scene_with_dir: Saving output step 1
[2023-05-18 15:28:49,855] INFO in run_scene_with_dir: Saved RGB image on step 1 to static/mcsinterface/img_230518_152816_regfofqnul/4d27e955-144d-477a-912f-d5277b8ee3f9.png
[2023-05-18 15:28:49,904] INFO in mcsweb: Key press: w, step 1, output: static/mcsinterface/img_230518_152816_regfofqnul/4d27e955-144d-477a-912f-d5277b8ee3f9.png
[2023-05-18 15:28:49,957] INFO in run_scene_with_dir: Modification event: /Users/jacob.audick_cn/Documents/webenabled/MCS/webenabled/static/mcsinterface/cmd_230518_152816_regfofqnul/command_8787a8fb-91ce-4f86-b8f0-0b731491966c.txt
[2023-05-18 15:28:58,061] INFO in mcsweb: ==============================
[2023-05-18 15:28:58,061] INFO in mcsweb: Key press: existing user: regfofqnul
[2023-05-18 15:28:58,062] INFO in mcs_interface: Converting w into MoveAhead
[2023-05-18 15:28:58,075] INFO in run_scene_with_dir: Modification event: /Users/jacob.audick_cn/Documents/webenabled/MCS/webenabled/static/mcsinterface/cmd_230518_152816_regfofqnul/command_0e5c7ceb-218a-433d-bf83-a311a17dc6d2.txt
[2023-05-18 15:28:58,076] INFO in run_scene_with_dir: Executing command MoveAhead
[2023-05-18 15:28:58,276] INFO in run_scene_with_dir: Saving output step 2
[2023-05-18 15:28:58,276] INFO in run_scene_with_dir: Saved RGB image on step 2 to static/mcsinterface/img_230518_152816_regfofqnul/7e76570a-618f-4816-a718-ea72a85ddeeb.png
[2023-05-18 15:28:58,281] INFO in mcsweb: Key press: w, step 2, output: static/mcsinterface/img_230518_152816_regfofqnul/7e76570a-618f-4816-a718-ea72a85ddeeb.png
[2023-05-18 15:28:58,373] INFO in run_scene_with_dir: Modification event: /Users/jacob.audick_cn/Documents/webenabled/MCS/webenabled/static/mcsinterface/cmd_230518_152816_regfofqnul/command_0e5c7ceb-218a-433d-bf83-a311a17dc6d2.txt
[2023-05-18 15:29:05,223] INFO in mcsweb: ==============================
[2023-05-18 15:29:05,223] INFO in mcsweb: Key press: existing user: regfofqnul
[2023-05-18 15:29:05,223] INFO in mcs_interface: Converting w into MoveAhead
[2023-05-18 15:29:05,237] INFO in run_scene_with_dir: Modification event: /Users/jacob.audick_cn/Documents/webenabled/MCS/webenabled/static/mcsinterface/cmd_230518_152816_regfofqnul/command_85802bd8-e46c-4739-8a93-47b1295b1b22.txt
[2023-05-18 15:29:05,237] INFO in run_scene_with_dir: Executing command MoveAhead
[2023-05-18 15:29:05,414] INFO in run_scene_with_dir: Saving output step 3
[2023-05-18 15:29:05,414] INFO in run_scene_with_dir: Saved RGB image on step 3 to static/mcsinterface/img_230518_152816_regfofqnul/4fe30a6a-757b-46b0-81a3-3f0b439a9a41.png
[2023-05-18 15:29:05,446] INFO in mcsweb: Key press: w, step 3, output: static/mcsinterface/img_230518_152816_regfofqnul/4fe30a6a-757b-46b0-81a3-3f0b439a9a41.png
[2023-05-18 15:29:05,516] INFO in run_scene_with_dir: Modification event: /Users/jacob.audick_cn/Documents/webenabled/MCS/webenabled/static/mcsinterface/cmd_230518_152816_regfofqnul/command_85802bd8-e46c-4739-8a93-47b1295b1b22.txt
[2023-05-18 15:29:07,117] INFO in mcsweb: ==============================
[2023-05-18 15:29:07,117] INFO in mcsweb: Key press: existing user: regfofqnul
[2023-05-18 15:29:07,118] INFO in mcs_interface: Converting w into MoveAhead
[2023-05-18 15:29:07,133] INFO in run_scene_with_dir: Modification event: /Users/jacob.audick_cn/Documents/webenabled/MCS/webenabled/static/mcsinterface/cmd_230518_152816_regfofqnul/command_9ddca0b1-2c67-4aa0-854a-0f58b93aa174.txt
[2023-05-18 15:29:07,134] INFO in run_scene_with_dir: Executing command MoveAhead
[2023-05-18 15:29:07,320] INFO in run_scene_with_dir: Saving output step 4
[2023-05-18 15:29:07,320] INFO in run_scene_with_dir: Saved RGB image on step 4 to static/mcsinterface/img_230518_152816_regfofqnul/36bc2f1d-0bac-46c4-a861-8fffb99c5a1b.png
[2023-05-18 15:29:07,338] INFO in mcsweb: Key press: w, step 4, output: static/mcsinterface/img_230518_152816_regfofqnul/36bc2f1d-0bac-46c4-a861-8fffb99c5a1b.png
[2023-05-18 15:29:07,427] INFO in run_scene_with_dir: Modification event: /Users/jacob.audick_cn/Documents/webenabled/MCS/webenabled/static/mcsinterface/cmd_230518_152816_regfofqnul/command_9ddca0b1-2c67-4aa0-854a-0f58b93aa174.txt
[2023-05-18 15:29:08,099] INFO in mcsweb: ==============================
[2023-05-18 15:29:08,099] INFO in mcsweb: Key press: existing user: regfofqnul
[2023-05-18 15:29:08,100] INFO in mcs_interface: Converting w into MoveAhead
[2023-05-18 15:29:08,113] INFO in run_scene_with_dir: Modification event: /Users/jacob.audick_cn/Documents/webenabled/MCS/webenabled/static/mcsinterface/cmd_230518_152816_regfofqnul/command_1bfc6676-b0f3-4be8-b8a1-27b13f1bfd74.txt
[2023-05-18 15:29:08,114] INFO in run_scene_with_dir: Executing command MoveAhead
[2023-05-18 15:29:08,315] INFO in run_scene_with_dir: Saving output step 5
[2023-05-18 15:29:08,315] INFO in run_scene_with_dir: Saved RGB image on step 5 to static/mcsinterface/img_230518_152816_regfofqnul/dc5a01b4-513f-4ac8-89c2-528f7ba32633.png
[2023-05-18 15:29:08,322] INFO in mcsweb: Key press: w, step 5, output: static/mcsinterface/img_230518_152816_regfofqnul/dc5a01b4-513f-4ac8-89c2-528f7ba32633.png
[2023-05-18 15:29:08,419] INFO in run_scene_with_dir: Modification event: /Users/jacob.audick_cn/Documents/webenabled/MCS/webenabled/static/mcsinterface/cmd_230518_152816_regfofqnul/command_1bfc6676-b0f3-4be8-b8a1-27b13f1bfd74.txt
[2023-05-18 15:29:08,599] INFO in mcsweb: ==============================
[2023-05-18 15:29:08,599] INFO in mcsweb: Key press: existing user: regfofqnul
[2023-05-18 15:29:08,600] INFO in mcs_interface: Converting w into MoveAhead
[2023-05-18 15:29:08,613] INFO in run_scene_with_dir: Modification event: /Users/jacob.audick_cn/Documents/webenabled/MCS/webenabled/static/mcsinterface/cmd_230518_152816_regfofqnul/command_88cf9ee7-5817-4343-9e87-d7d2b030cb41.txt
[2023-05-18 15:29:08,614] INFO in run_scene_with_dir: Executing command MoveAhead
[2023-05-18 15:29:08,666] INFO in mcsweb: ==============================
[2023-05-18 15:29:08,666] INFO in mcsweb: Key press: existing user: regfofqnul
[2023-05-18 15:29:08,666] INFO in mcs_interface: Converting w into MoveAhead
[2023-05-18 15:29:08,751] INFO in mcsweb: ==============================
[2023-05-18 15:29:08,751] INFO in mcsweb: Key press: existing user: regfofqnul
[2023-05-18 15:29:08,752] INFO in mcs_interface: Converting w into MoveAhead
[2023-05-18 15:29:08,789] INFO in run_scene_with_dir: Saving output step 6
[2023-05-18 15:29:08,790] INFO in run_scene_with_dir: Saved RGB image on step 6 to static/mcsinterface/img_230518_152816_regfofqnul/48dd7d11-a51a-4417-9e90-fddf3e6c681c.png
[2023-05-18 15:29:08,808] INFO in mcsweb: Key press: w, step 6, output: static/mcsinterface/img_230518_152816_regfofqnul/48dd7d11-a51a-4417-9e90-fddf3e6c681c.png
[2023-05-18 15:29:08,822] INFO in mcsweb: Key press: w, step 6, output: static/mcsinterface/img_230518_152816_regfofqnul/48dd7d11-a51a-4417-9e90-fddf3e6c681c.png
[2023-05-18 15:29:08,824] INFO in mcsweb: ==============================
[2023-05-18 15:29:08,824] INFO in mcsweb: Key press: existing user: regfofqnul
[2023-05-18 15:29:08,825] INFO in mcs_interface: Converting w into MoveAhead
[2023-05-18 15:29:08,831] INFO in mcsweb: Key press: w, step 6, output: static/mcsinterface/img_230518_152816_regfofqnul/48dd7d11-a51a-4417-9e90-fddf3e6c681c.png
[2023-05-18 15:29:08,881] INFO in run_scene_with_dir: Modification event: /Users/jacob.audick_cn/Documents/webenabled/MCS/webenabled/static/mcsinterface/cmd_230518_152816_regfofqnul/command_cfa390ab-b5a1-4960-8790-3b9bcf9d7992.txt
[2023-05-18 15:29:08,881] INFO in run_scene_with_dir: Executing command MoveAhead
[2023-05-18 15:29:08,918] INFO in mcsweb: ==============================
[2023-05-18 15:29:08,918] INFO in mcsweb: Key press: existing user: regfofqnul
[2023-05-18 15:29:08,919] INFO in mcs_interface: Converting w into MoveAhead
[2023-05-18 15:29:09,001] INFO in mcsweb: ==============================
[2023-05-18 15:29:09,001] INFO in mcsweb: Key press: existing user: regfofqnul
[2023-05-18 15:29:09,001] INFO in mcs_interface: Converting w into MoveAhead
[2023-05-18 15:29:09,044] INFO in run_scene_with_dir: Saving output step 7
[2023-05-18 15:29:09,044] INFO in run_scene_with_dir: Saved RGB image on step 7 to static/mcsinterface/img_230518_152816_regfofqnul/d1377735-42de-4006-bd8f-dd13f44845da.png
[2023-05-18 15:29:09,057] INFO in mcsweb: Key press: w, step 7, output: static/mcsinterface/img_230518_152816_regfofqnul/d1377735-42de-4006-bd8f-dd13f44845da.png
[2023-05-18 15:29:09,085] INFO in mcsweb: Key press: w, step 7, output: static/mcsinterface/img_230518_152816_regfofqnul/d1377735-42de-4006-bd8f-dd13f44845da.png
[2023-05-18 15:29:09,087] INFO in mcsweb: ==============================
[2023-05-18 15:29:09,087] INFO in mcsweb: Key press: existing user: regfofqnul
[2023-05-18 15:29:09,088] INFO in mcs_interface: Converting w into MoveAhead
[2023-05-18 15:29:09,095] INFO in mcsweb: Key press: w, step 7, output: static/mcsinterface/img_230518_152816_regfofqnul/d1377735-42de-4006-bd8f-dd13f44845da.png
[2023-05-18 15:29:09,137] INFO in run_scene_with_dir: Modification event: /Users/jacob.audick_cn/Documents/webenabled/MCS/webenabled/static/mcsinterface/cmd_230518_152816_regfofqnul/command_24eafccc-b1f0-42e4-a2f8-456993d02d16.txt
[2023-05-18 15:29:09,137] INFO in run_scene_with_dir: Executing command MoveAhead
[2023-05-18 15:29:09,163] INFO in mcsweb: ==============================
[2023-05-18 15:29:09,163] INFO in mcsweb: Key press: existing user: regfofqnul
[2023-05-18 15:29:09,163] INFO in mcs_interface: Converting w into MoveAhead
[2023-05-18 15:29:09,253] INFO in mcsweb: ==============================
[2023-05-18 15:29:09,253] INFO in mcsweb: Key press: existing user: regfofqnul
[2023-05-18 15:29:09,253] INFO in mcs_interface: Converting w into MoveAhead
[2023-05-18 15:29:09,282] INFO in run_scene_with_dir: Saving output step 8
[2023-05-18 15:29:09,282] INFO in run_scene_with_dir: Saved RGB image on step 8 to static/mcsinterface/img_230518_152816_regfofqnul/c1d4bb2c-fd8c-4257-964e-ad6c33b59fc9.png
[2023-05-18 15:29:09,309] INFO in mcsweb: Key press: w, step 8, output: static/mcsinterface/img_230518_152816_regfofqnul/c1d4bb2c-fd8c-4257-964e-ad6c33b59fc9.png
[2023-05-18 15:29:09,309] INFO in mcsweb: Key press: w, step 8, output: static/mcsinterface/img_230518_152816_regfofqnul/c1d4bb2c-fd8c-4257-964e-ad6c33b59fc9.png
[2023-05-18 15:29:09,330] INFO in mcsweb: Key press: w, step 8, output: static/mcsinterface/img_230518_152816_regfofqnul/c1d4bb2c-fd8c-4257-964e-ad6c33b59fc9.png
[2023-05-18 15:29:09,335] INFO in mcsweb: ==============================
[2023-05-18 15:29:09,335] INFO in mcsweb: Key press: existing user: regfofqnul
[2023-05-18 15:29:09,335] INFO in mcs_interface: Converting w into MoveAhead
[2023-05-18 15:29:09,373] INFO in run_scene_with_dir: Modification event: /Users/jacob.audick_cn/Documents/webenabled/MCS/webenabled/static/mcsinterface/cmd_230518_152816_regfofqnul/command_6301ef18-403d-4dbf-9cac-3a8a8cf06905.txt
[2023-05-18 15:29:09,374] INFO in run_scene_with_dir: Executing command MoveAhead
[2023-05-18 15:29:09,513] INFO in run_scene_with_dir: Saving output step 9
[2023-05-18 15:29:09,513] INFO in run_scene_with_dir: Saved RGB image on step 9 to static/mcsinterface/img_230518_152816_regfofqnul/0903ad5e-8234-455c-bf63-fec4225d98ee.png
[2023-05-18 15:29:09,555] INFO in mcsweb: Key press: w, step 9, output: static/mcsinterface/img_230518_152816_regfofqnul/0903ad5e-8234-455c-bf63-fec4225d98ee.png
[2023-05-18 15:29:09,603] INFO in run_scene_with_dir: Modification event: /Users/jacob.audick_cn/Documents/webenabled/MCS/webenabled/static/mcsinterface/cmd_230518_152816_regfofqnul/command_88cf9ee7-5817-4343-9e87-d7d2b030cb41.txt
[2023-05-18 15:29:09,604] INFO in run_scene_with_dir: Modification event: /Users/jacob.audick_cn/Documents/webenabled/MCS/webenabled/static/mcsinterface/cmd_230518_152816_regfofqnul/command_65cf5f7b-5c06-4384-8f3d-51449099dd92.txt
[2023-05-18 15:29:09,604] INFO in run_scene_with_dir: Executing command MoveAhead
[2023-05-18 15:29:09,746] INFO in run_scene_with_dir: Saving output step 10
[2023-05-18 15:29:09,746] INFO in run_scene_with_dir: Saved RGB image on step 10 to static/mcsinterface/img_230518_152816_regfofqnul/88665179-2c3c-4b46-882f-2815b7248777.png
[2023-05-18 15:29:09,836] INFO in run_scene_with_dir: Modification event: /Users/jacob.audick_cn/Documents/webenabled/MCS/webenabled/static/mcsinterface/cmd_230518_152816_regfofqnul/command_ad58c7d7-0036-403f-8f7b-d11b8eb903ab.txt
[2023-05-18 15:29:09,837] INFO in run_scene_with_dir: Executing command MoveAhead
[2023-05-18 15:29:09,974] INFO in run_scene_with_dir: Saving output step 11
[2023-05-18 15:29:09,974] INFO in run_scene_with_dir: Saved RGB image on step 11 to static/mcsinterface/img_230518_152816_regfofqnul/03f9603b-5025-4ce7-849f-188892acfeaf.png
[2023-05-18 15:29:10,062] INFO in run_scene_with_dir: Modification event: /Users/jacob.audick_cn/Documents/webenabled/MCS/webenabled/static/mcsinterface/cmd_230518_152816_regfofqnul/command_9674083e-48e1-4537-9770-85906fe5a11d.txt
[2023-05-18 15:29:10,063] INFO in run_scene_with_dir: Executing command MoveAhead
[2023-05-18 15:29:10,202] INFO in run_scene_with_dir: Saving output step 12
[2023-05-18 15:29:10,202] INFO in run_scene_with_dir: Saved RGB image on step 12 to static/mcsinterface/img_230518_152816_regfofqnul/ac038817-ca3f-4e76-b363-cdb3c55573d8.png
[2023-05-18 15:29:10,290] INFO in run_scene_with_dir: Modification event: /Users/jacob.audick_cn/Documents/webenabled/MCS/webenabled/static/mcsinterface/cmd_230518_152816_regfofqnul/command_cfa390ab-b5a1-4960-8790-3b9bcf9d7992.txt
[2023-05-18 15:29:10,291] INFO in run_scene_with_dir: Modification event: /Users/jacob.audick_cn/Documents/webenabled/MCS/webenabled/static/mcsinterface/cmd_230518_152816_regfofqnul/command_7f9c1c8d-3d50-4994-acdf-350c7b01b37b.txt
[2023-05-18 15:29:10,291] INFO in run_scene_with_dir: Executing command MoveAhead
[2023-05-18 15:29:10,430] INFO in run_scene_with_dir: Saving output step 13
[2023-05-18 15:29:10,430] INFO in run_scene_with_dir: Saved RGB image on step 13 to static/mcsinterface/img_230518_152816_regfofqnul/9ef848b2-1661-4bc0-af3f-4351e9682455.png
[2023-05-18 15:29:10,517] INFO in run_scene_with_dir: Modification event: /Users/jacob.audick_cn/Documents/webenabled/MCS/webenabled/static/mcsinterface/cmd_230518_152816_regfofqnul/command_2a3c40ef-4849-40da-b182-d172d7dfad9d.txt
[2023-05-18 15:29:10,518] INFO in run_scene_with_dir: Executing command MoveAhead
[2023-05-18 15:29:10,574] INFO in mcsweb: ==============================
[2023-05-18 15:29:10,574] INFO in mcsweb: Key press: existing user: regfofqnul
[2023-05-18 15:29:10,574] INFO in mcs_interface: Converting w into MoveAhead
[2023-05-18 15:29:10,576] INFO in mcsweb: Key press: w, step 10, output: static/mcsinterface/img_230518_152816_regfofqnul/9ef848b2-1661-4bc0-af3f-4351e9682455.png
[2023-05-18 15:29:10,656] INFO in run_scene_with_dir: Saving output step 14
[2023-05-18 15:29:10,656] INFO in run_scene_with_dir: Saved RGB image on step 14 to static/mcsinterface/img_230518_152816_regfofqnul/af7b2c38-c557-404f-8379-6e6d942db94a.png
[2023-05-18 15:29:10,741] INFO in run_scene_with_dir: Modification event: /Users/jacob.audick_cn/Documents/webenabled/MCS/webenabled/static/mcsinterface/cmd_230518_152816_regfofqnul/command_dc96e970-2014-4f62-b747-4bcf052e1bf1.txt
[2023-05-18 15:29:10,741] INFO in run_scene_with_dir: Executing command MoveAhead
[2023-05-18 15:29:10,892] INFO in run_scene_with_dir: Saving output step 15
[2023-05-18 15:29:10,892] INFO in run_scene_with_dir: Saved RGB image on step 15 to static/mcsinterface/img_230518_152816_regfofqnul/0f5fd30a-0962-4237-bea1-ece2bf30219a.png
[2023-05-18 15:29:10,976] INFO in run_scene_with_dir: Modification event: /Users/jacob.audick_cn/Documents/webenabled/MCS/webenabled/static/mcsinterface/cmd_230518_152816_regfofqnul/command_24eafccc-b1f0-42e4-a2f8-456993d02d16.txt
[2023-05-18 15:29:10,977] INFO in run_scene_with_dir: Modification event: /Users/jacob.audick_cn/Documents/webenabled/MCS/webenabled/static/mcsinterface/cmd_230518_152816_regfofqnul/command_6301ef18-403d-4dbf-9cac-3a8a8cf06905.txt
[2023-05-18 15:29:10,977] INFO in run_scene_with_dir: Modification event: /Users/jacob.audick_cn/Documents/webenabled/MCS/webenabled/static/mcsinterface/cmd_230518_152816_regfofqnul/command_65cf5f7b-5c06-4384-8f3d-51449099dd92.txt
[2023-05-18 15:29:10,978] INFO in run_scene_with_dir: Modification event: /Users/jacob.audick_cn/Documents/webenabled/MCS/webenabled/static/mcsinterface/cmd_230518_152816_regfofqnul/command_ad58c7d7-0036-403f-8f7b-d11b8eb903ab.txt
[2023-05-18 15:29:10,980] INFO in run_scene_with_dir: Modification event: /Users/jacob.audick_cn/Documents/webenabled/MCS/webenabled/static/mcsinterface/cmd_230518_152816_regfofqnul/command_9674083e-48e1-4537-9770-85906fe5a11d.txt
[2023-05-18 15:29:10,980] INFO in run_scene_with_dir: Modification event: /Users/jacob.audick_cn/Documents/webenabled/MCS/webenabled/static/mcsinterface/cmd_230518_152816_regfofqnul/command_7f9c1c8d-3d50-4994-acdf-350c7b01b37b.txt
[2023-05-18 15:29:10,980] INFO in run_scene_with_dir: Modification event: /Users/jacob.audick_cn/Documents/webenabled/MCS/webenabled/static/mcsinterface/cmd_230518_152816_regfofqnul/command_46aab3bc-8ef1-4930-9133-a93f6c62778b.txt
[2023-05-18 15:29:10,981] INFO in run_scene_with_dir: Executing command MoveAhead
[2023-05-18 15:29:11,118] INFO in run_scene_with_dir: Saving output step 16
[2023-05-18 15:29:11,119] INFO in run_scene_with_dir: Saved RGB image on step 16 to static/mcsinterface/img_230518_152816_regfofqnul/7a067ae5-a44f-4a1a-92ac-0bad645a9bfd.png
[2023-05-18 15:29:11,203] INFO in run_scene_with_dir: Modification event: /Users/jacob.audick_cn/Documents/webenabled/MCS/webenabled/static/mcsinterface/cmd_230518_152816_regfofqnul/command_2a3c40ef-4849-40da-b182-d172d7dfad9d.txt
[2023-05-18 15:29:11,203] INFO in run_scene_with_dir: Modification event: /Users/jacob.audick_cn/Documents/webenabled/MCS/webenabled/static/mcsinterface/cmd_230518_152816_regfofqnul/command_dc96e970-2014-4f62-b747-4bcf052e1bf1.txt
[2023-05-18 15:29:11,214] INFO in run_scene_with_dir: Modification event: /Users/jacob.audick_cn/Documents/webenabled/MCS/webenabled/static/mcsinterface/cmd_230518_152816_regfofqnul/command_46aab3bc-8ef1-4930-9133-a93f6c62778b.txt
[2023-05-18 15:29:11,858] INFO in mcsweb: ==============================
[2023-05-18 15:29:11,858] INFO in mcsweb: Key press: existing user: regfofqnul
[2023-05-18 15:29:11,859] INFO in mcs_interface: Converting w into MoveAhead
[2023-05-18 15:29:11,862] INFO in mcsweb: Key press: w, step 11, output: static/mcsinterface/img_230518_152816_regfofqnul/7a067ae5-a44f-4a1a-92ac-0bad645a9bfd.png
[2023-05-18 15:29:11,872] INFO in run_scene_with_dir: Modification event: /Users/jacob.audick_cn/Documents/webenabled/MCS/webenabled/static/mcsinterface/cmd_230518_152816_regfofqnul/command_740d31ab-da7b-4a74-bc75-9236bb0cbc70.txt
[2023-05-18 15:29:11,876] INFO in run_scene_with_dir: Executing command MoveAhead
[2023-05-18 15:29:12,052] INFO in run_scene_with_dir: Saving output step 17
[2023-05-18 15:29:12,052] INFO in run_scene_with_dir: Saved RGB image on step 17 to static/mcsinterface/img_230518_152816_regfofqnul/3df41c25-13f5-43fb-8be5-f7a13011eac3.png
[2023-05-18 15:29:12,146] INFO in run_scene_with_dir: Modification event: /Users/jacob.audick_cn/Documents/webenabled/MCS/webenabled/static/mcsinterface/cmd_230518_152816_regfofqnul/command_740d31ab-da7b-4a74-bc75-9236bb0cbc70.txt
[2023-05-18 15:29:12,415] INFO in mcsweb: ==============================
[2023-05-18 15:29:12,415] INFO in mcsweb: Key press: existing user: regfofqnul
[2023-05-18 15:29:12,416] INFO in mcs_interface: Converting w into MoveAhead
[2023-05-18 15:29:12,419] INFO in mcsweb: Key press: w, step 12, output: static/mcsinterface/img_230518_152816_regfofqnul/3df41c25-13f5-43fb-8be5-f7a13011eac3.png
[2023-05-18 15:29:12,439] INFO in run_scene_with_dir: Modification event: /Users/jacob.audick_cn/Documents/webenabled/MCS/webenabled/static/mcsinterface/cmd_230518_152816_regfofqnul/command_ec2faca3-baec-4f22-8dc9-3337a7996d6e.txt
[2023-05-18 15:29:12,440] INFO in run_scene_with_dir: Executing command MoveAhead
[2023-05-18 15:29:12,612] INFO in run_scene_with_dir: Saving output step 18
[2023-05-18 15:29:12,612] INFO in run_scene_with_dir: Saved RGB image on step 18 to static/mcsinterface/img_230518_152816_regfofqnul/00bd92da-2ac2-4c79-9c5e-c581a86d72bc.png
[2023-05-18 15:29:12,707] INFO in run_scene_with_dir: Modification event: /Users/jacob.audick_cn/Documents/webenabled/MCS/webenabled/static/mcsinterface/cmd_230518_152816_regfofqnul/command_ec2faca3-baec-4f22-8dc9-3337a7996d6e.txt
[2023-05-18 15:29:13,710] INFO in mcsweb: ==============================
[2023-05-18 15:29:13,710] INFO in mcsweb: Key press: existing user: regfofqnul
[2023-05-18 15:29:13,711] INFO in mcs_interface: Converting d into MoveRight
[2023-05-18 15:29:13,713] INFO in mcsweb: Key press: d, step 13, output: static/mcsinterface/img_230518_152816_regfofqnul/00bd92da-2ac2-4c79-9c5e-c581a86d72bc.png
[2023-05-18 15:29:13,738] INFO in run_scene_with_dir: Modification event: /Users/jacob.audick_cn/Documents/webenabled/MCS/webenabled/static/mcsinterface/cmd_230518_152816_regfofqnul/command_eb5a81a3-daac-41ed-8d94-63d5e52ea84f.txt
[2023-05-18 15:29:13,738] INFO in run_scene_with_dir: Executing command MoveRight
[2023-05-18 15:29:13,913] INFO in run_scene_with_dir: Saving output step 19
[2023-05-18 15:29:13,913] INFO in run_scene_with_dir: Saved RGB image on step 19 to static/mcsinterface/img_230518_152816_regfofqnul/b2baed87-2466-4f72-bb1b-a67cb5fb9ca3.png
[2023-05-18 15:29:14,008] INFO in run_scene_with_dir: Modification event: /Users/jacob.audick_cn/Documents/webenabled/MCS/webenabled/static/mcsinterface/cmd_230518_152816_regfofqnul/command_eb5a81a3-daac-41ed-8d94-63d5e52ea84f.txt
[2023-05-18 15:29:14,305] INFO in mcsweb: ==============================
[2023-05-18 15:29:14,305] INFO in mcsweb: Key press: existing user: regfofqnul
[2023-05-18 15:29:14,306] INFO in mcs_interface: Converting d into MoveRight
[2023-05-18 15:29:14,308] INFO in mcsweb: Key press: d, step 14, output: static/mcsinterface/img_230518_152816_regfofqnul/b2baed87-2466-4f72-bb1b-a67cb5fb9ca3.png
[2023-05-18 15:29:14,320] INFO in run_scene_with_dir: Modification event: /Users/jacob.audick_cn/Documents/webenabled/MCS/webenabled/static/mcsinterface/cmd_230518_152816_regfofqnul/command_e3a805b1-c47d-4866-865d-edba43e6e6e1.txt
[2023-05-18 15:29:14,321] INFO in run_scene_with_dir: Executing command MoveRight
[2023-05-18 15:29:14,510] INFO in run_scene_with_dir: Saving output step 20
[2023-05-18 15:29:14,510] INFO in run_scene_with_dir: Saved RGB image on step 20 to static/mcsinterface/img_230518_152816_regfofqnul/1131f32d-b434-4362-9b7a-540967cf1ca4.png
[2023-05-18 15:29:14,557] INFO in mcsweb: ==============================
[2023-05-18 15:29:14,557] INFO in mcsweb: Key press: existing user: regfofqnul
[2023-05-18 15:29:14,557] INFO in mcs_interface: Converting d into MoveRight
[2023-05-18 15:29:14,558] INFO in mcsweb: Key press: d, step 15, output: static/mcsinterface/img_230518_152816_regfofqnul/1131f32d-b434-4362-9b7a-540967cf1ca4.png
[2023-05-18 15:29:14,595] INFO in run_scene_with_dir: Modification event: /Users/jacob.audick_cn/Documents/webenabled/MCS/webenabled/static/mcsinterface/cmd_230518_152816_regfofqnul/command_9d0fe446-cae8-44cb-8725-f5f53d8f4442.txt
[2023-05-18 15:29:14,595] INFO in run_scene_with_dir: Executing command MoveRight
[2023-05-18 15:29:14,734] INFO in run_scene_with_dir: Saving output step 21
[2023-05-18 15:29:14,734] INFO in run_scene_with_dir: Saved RGB image on step 21 to static/mcsinterface/img_230518_152816_regfofqnul/bf3377ec-a336-4bce-ba67-4b5e061f8cc8.png
[2023-05-18 15:29:14,787] INFO in mcsweb: ==============================
[2023-05-18 15:29:14,787] INFO in mcsweb: Key press: existing user: regfofqnul
[2023-05-18 15:29:14,787] INFO in mcs_interface: Converting d into MoveRight
[2023-05-18 15:29:14,788] INFO in mcsweb: Key press: d, step 16, output: static/mcsinterface/img_230518_152816_regfofqnul/bf3377ec-a336-4bce-ba67-4b5e061f8cc8.png
[2023-05-18 15:29:14,818] INFO in run_scene_with_dir: Modification event: /Users/jacob.audick_cn/Documents/webenabled/MCS/webenabled/static/mcsinterface/cmd_230518_152816_regfofqnul/command_e3a805b1-c47d-4866-865d-edba43e6e6e1.txt
[2023-05-18 15:29:14,819] INFO in run_scene_with_dir: Modification event: /Users/jacob.audick_cn/Documents/webenabled/MCS/webenabled/static/mcsinterface/cmd_230518_152816_regfofqnul/command_a49cff20-c7a7-4fb2-a958-79547636bd5a.txt
[2023-05-18 15:29:14,819] INFO in run_scene_with_dir: Executing command MoveRight
[2023-05-18 15:29:14,962] INFO in run_scene_with_dir: Saving output step 22
[2023-05-18 15:29:14,962] INFO in run_scene_with_dir: Saved RGB image on step 22 to static/mcsinterface/img_230518_152816_regfofqnul/78f201e8-641e-4562-93eb-94fa3bd79d80.png
[2023-05-18 15:29:15,040] INFO in run_scene_with_dir: Modification event: /Users/jacob.audick_cn/Documents/webenabled/MCS/webenabled/static/mcsinterface/cmd_230518_152816_regfofqnul/command_9d0fe446-cae8-44cb-8725-f5f53d8f4442.txt
[2023-05-18 15:29:15,054] INFO in run_scene_with_dir: Modification event: /Users/jacob.audick_cn/Documents/webenabled/MCS/webenabled/static/mcsinterface/cmd_230518_152816_regfofqnul/command_a49cff20-c7a7-4fb2-a958-79547636bd5a.txt
[2023-05-18 15:29:15,153] INFO in mcsweb: ==============================
[2023-05-18 15:29:15,153] INFO in mcsweb: Key press: existing user: regfofqnul
[2023-05-18 15:29:15,154] INFO in mcs_interface: Converting d into MoveRight
[2023-05-18 15:29:15,155] INFO in mcsweb: Key press: d, step 17, output: static/mcsinterface/img_230518_152816_regfofqnul/78f201e8-641e-4562-93eb-94fa3bd79d80.png
[2023-05-18 15:29:15,167] INFO in run_scene_with_dir: Modification event: /Users/jacob.audick_cn/Documents/webenabled/MCS/webenabled/static/mcsinterface/cmd_230518_152816_regfofqnul/command_0937256c-7a0e-4aff-ab0c-3032ed8eed77.txt
[2023-05-18 15:29:15,167] INFO in run_scene_with_dir: Executing command MoveRight
[2023-05-18 15:29:15,315] INFO in run_scene_with_dir: Saving output step 23
[2023-05-18 15:29:15,315] INFO in run_scene_with_dir: Saved RGB image on step 23 to static/mcsinterface/img_230518_152816_regfofqnul/1adbf8d0-183c-46fc-95ab-1131fc654c08.png
[2023-05-18 15:29:15,383] INFO in mcsweb: ==============================
[2023-05-18 15:29:15,383] INFO in mcsweb: Key press: existing user: regfofqnul
[2023-05-18 15:29:15,383] INFO in mcs_interface: Converting d into MoveRight
[2023-05-18 15:29:15,384] INFO in mcsweb: Key press: d, step 18, output: static/mcsinterface/img_230518_152816_regfofqnul/1adbf8d0-183c-46fc-95ab-1131fc654c08.png
[2023-05-18 15:29:15,397] INFO in run_scene_with_dir: Modification event: /Users/jacob.audick_cn/Documents/webenabled/MCS/webenabled/static/mcsinterface/cmd_230518_152816_regfofqnul/command_0cb6b7c5-3228-4372-9ccb-42a94dc96ecd.txt
[2023-05-18 15:29:15,397] INFO in run_scene_with_dir: Executing command MoveRight
[2023-05-18 15:29:15,539] INFO in run_scene_with_dir: Saving output step 24
[2023-05-18 15:29:15,539] INFO in run_scene_with_dir: Saved RGB image on step 24 to static/mcsinterface/img_230518_152816_regfofqnul/aa607aa8-9ce6-44c6-87f5-f3dbfa1ee3f2.png
[2023-05-18 15:29:15,615] INFO in run_scene_with_dir: Modification event: /Users/jacob.audick_cn/Documents/webenabled/MCS/webenabled/static/mcsinterface/cmd_230518_152816_regfofqnul/command_0937256c-7a0e-4aff-ab0c-3032ed8eed77.txt
[2023-05-18 15:29:15,626] INFO in run_scene_with_dir: Modification event: /Users/jacob.audick_cn/Documents/webenabled/MCS/webenabled/static/mcsinterface/cmd_230518_152816_regfofqnul/command_0cb6b7c5-3228-4372-9ccb-42a94dc96ecd.txt
[2023-05-18 15:29:15,630] INFO in mcsweb: ==============================
[2023-05-18 15:29:15,630] INFO in mcsweb: Key press: existing user: regfofqnul
[2023-05-18 15:29:15,630] INFO in mcs_interface: Converting d into MoveRight
[2023-05-18 15:29:15,631] INFO in mcsweb: Key press: d, step 19, output: static/mcsinterface/img_230518_152816_regfofqnul/aa607aa8-9ce6-44c6-87f5-f3dbfa1ee3f2.png
[2023-05-18 15:29:15,638] INFO in run_scene_with_dir: Modification event: /Users/jacob.audick_cn/Documents/webenabled/MCS/webenabled/static/mcsinterface/cmd_230518_152816_regfofqnul/command_a03dde21-acc6-4f94-9d20-b00dd80860d5.txt
[2023-05-18 15:29:15,639] INFO in run_scene_with_dir: Executing command MoveRight
[2023-05-18 15:29:15,783] INFO in run_scene_with_dir: Saving output step 25
[2023-05-18 15:29:15,783] INFO in run_scene_with_dir: Saved RGB image on step 25 to static/mcsinterface/img_230518_152816_regfofqnul/d9453aa6-0ee6-483f-9342-50cdbdfe7f9e.png
[2023-05-18 15:29:15,868] INFO in run_scene_with_dir: Modification event: /Users/jacob.audick_cn/Documents/webenabled/MCS/webenabled/static/mcsinterface/cmd_230518_152816_regfofqnul/command_a03dde21-acc6-4f94-9d20-b00dd80860d5.txt
[2023-05-18 15:29:15,874] INFO in mcsweb: ==============================
[2023-05-18 15:29:15,874] INFO in mcsweb: Key press: existing user: regfofqnul
[2023-05-18 15:29:15,874] INFO in mcs_interface: Converting d into MoveRight
[2023-05-18 15:29:15,875] INFO in mcsweb: Key press: d, step 20, output: static/mcsinterface/img_230518_152816_regfofqnul/d9453aa6-0ee6-483f-9342-50cdbdfe7f9e.png
[2023-05-18 15:29:15,880] INFO in run_scene_with_dir: Modification event: /Users/jacob.audick_cn/Documents/webenabled/MCS/webenabled/static/mcsinterface/cmd_230518_152816_regfofqnul/command_c8f641dc-990b-4f0d-beb3-a5aea4c98ef9.txt
[2023-05-18 15:29:15,881] INFO in run_scene_with_dir: Executing command MoveRight
[2023-05-18 15:29:16,021] INFO in run_scene_with_dir: Saving output step 26
[2023-05-18 15:29:16,021] INFO in run_scene_with_dir: Saved RGB image on step 26 to static/mcsinterface/img_230518_152816_regfofqnul/4a1c5dcb-f487-49ce-8528-f1638ac884fb.png
[2023-05-18 15:29:16,089] INFO in mcsweb: ==============================
[2023-05-18 15:29:16,089] INFO in mcsweb: Key press: existing user: regfofqnul
[2023-05-18 15:29:16,089] INFO in mcs_interface: Converting d into MoveRight
[2023-05-18 15:29:16,090] INFO in mcsweb: Key press: d, step 21, output: static/mcsinterface/img_230518_152816_regfofqnul/4a1c5dcb-f487-49ce-8528-f1638ac884fb.png
[2023-05-18 15:29:16,102] INFO in run_scene_with_dir: Modification event: /Users/jacob.audick_cn/Documents/webenabled/MCS/webenabled/static/mcsinterface/cmd_230518_152816_regfofqnul/command_4c02d434-80c9-44ba-9e93-6bbd786ff828.txt
[2023-05-18 15:29:16,102] INFO in run_scene_with_dir: Executing command MoveRight
[2023-05-18 15:29:16,243] INFO in run_scene_with_dir: Saving output step 27
[2023-05-18 15:29:16,243] INFO in run_scene_with_dir: Saved RGB image on step 27 to static/mcsinterface/img_230518_152816_regfofqnul/3be4bb54-15c7-4c90-bb41-2bec034bfb20.png
[2023-05-18 15:29:16,302] INFO in mcsweb: ==============================
[2023-05-18 15:29:16,302] INFO in mcsweb: Key press: existing user: regfofqnul
[2023-05-18 15:29:16,302] INFO in mcs_interface: Converting d into MoveRight
[2023-05-18 15:29:16,303] INFO in mcsweb: Key press: d, step 22, output: static/mcsinterface/img_230518_152816_regfofqnul/3be4bb54-15c7-4c90-bb41-2bec034bfb20.png
[2023-05-18 15:29:16,318] INFO in run_scene_with_dir: Modification event: /Users/jacob.audick_cn/Documents/webenabled/MCS/webenabled/static/mcsinterface/cmd_230518_152816_regfofqnul/command_c8f641dc-990b-4f0d-beb3-a5aea4c98ef9.txt
[2023-05-18 15:29:16,320] INFO in run_scene_with_dir: Modification event: /Users/jacob.audick_cn/Documents/webenabled/MCS/webenabled/static/mcsinterface/cmd_230518_152816_regfofqnul/command_a14d7573-151b-4371-966a-832d538c5af0.txt
[2023-05-18 15:29:16,320] INFO in run_scene_with_dir: Executing command MoveRight
[2023-05-18 15:29:16,460] INFO in run_scene_with_dir: Saving output step 28
[2023-05-18 15:29:16,460] INFO in run_scene_with_dir: Saved RGB image on step 28 to static/mcsinterface/img_230518_152816_regfofqnul/5960032b-4daf-4d0f-8e9d-f51ee74cee10.png
[2023-05-18 15:29:16,522] INFO in mcsweb: ==============================
[2023-05-18 15:29:16,522] INFO in mcsweb: Key press: existing user: regfofqnul
[2023-05-18 15:29:16,522] INFO in mcs_interface: Converting d into MoveRight
[2023-05-18 15:29:16,523] INFO in mcsweb: Key press: d, step 23, output: static/mcsinterface/img_230518_152816_regfofqnul/5960032b-4daf-4d0f-8e9d-f51ee74cee10.png
[2023-05-18 15:29:16,535] INFO in run_scene_with_dir: Modification event: /Users/jacob.audick_cn/Documents/webenabled/MCS/webenabled/static/mcsinterface/cmd_230518_152816_regfofqnul/command_4c02d434-80c9-44ba-9e93-6bbd786ff828.txt
[2023-05-18 15:29:16,542] INFO in run_scene_with_dir: Modification event: /Users/jacob.audick_cn/Documents/webenabled/MCS/webenabled/static/mcsinterface/cmd_230518_152816_regfofqnul/command_c051bc41-9dab-4c86-bd45-bef9ada01405.txt
[2023-05-18 15:29:16,542] INFO in run_scene_with_dir: Executing command MoveRight
[2023-05-18 15:29:16,684] INFO in run_scene_with_dir: Saving output step 29
[2023-05-18 15:29:16,684] INFO in run_scene_with_dir: Saved RGB image on step 29 to static/mcsinterface/img_230518_152816_regfofqnul/2de15e7b-cefe-40b7-bc24-1893d9c6f26c.png
[2023-05-18 15:29:16,758] INFO in run_scene_with_dir: Modification event: /Users/jacob.audick_cn/Documents/webenabled/MCS/webenabled/static/mcsinterface/cmd_230518_152816_regfofqnul/command_a14d7573-151b-4371-966a-832d538c5af0.txt
[2023-05-18 15:29:16,769] INFO in run_scene_with_dir: Modification event: /Users/jacob.audick_cn/Documents/webenabled/MCS/webenabled/static/mcsinterface/cmd_230518_152816_regfofqnul/command_c051bc41-9dab-4c86-bd45-bef9ada01405.txt
^CTraceback (most recent call last):
  File "/Users/jacob.audick_cn/Documents/webenabled/MCS/webenabled/run_scene_with_dir.py", line 191, in <module>
    run_scene.run_loop()
  File "/Users/jacob.audick_cn/Documents/webenabled/MCS/webenabled/run_scene_with_dir.py", line 67, in run_loop
    time.sleep(1)
KeyboardInterrupt

Copy link
Collaborator

@phile-caci phile-caci left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This worked for me. I'm no longer a frame behind when I move around a scene.

@ThomasSchellenbergNextCentury
Copy link
Collaborator Author

@jaudick @rartiss55 I've tested with Python 3.10 on Ubuntu (with the same versions of the python dependencies that Jacob's using) and am still not seeing any issues. Since the problem appears to affect rendering the images on the webpage, I'm wondering if it's actually a browser issue? What browser versions do you have?

Chrome: 112.0.5615.165
Firefox: 113.02

@rartiss55
Copy link
Collaborator

@ThomasSchellenbergNextCentury For me this seems like a timing issue. Might be worth mentioning that my human input mode has been one step behind for a while now. When I went through things on this branch, it seemed like when I made a step, the new image would load in the specified directory AFTER the reference to the older one was already sent as the "up to date" version in the HTML. Additionally, sometimes the image hadn't even finished loading (especially on start) when I looked at things in the network tab, so I would sometimes get a broken image link or half loaded image like Jacob was seeing.

I played around with adding time.sleep(0.1) in a couple different places, and that seems to work for me + the most up to date image is loaded fully. We still have the issue of pressing buttons too fast that will cause issues with the images, but I believe that's logged as a separate ticket somewhere for the future.

# wait to make sure we've finished loading the new image
# (not sure why the is_file_open check below didn't
# do the trick?)
time.sleep(0.1)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I added some logger lines for testing with is_file_open -- this never returned False for me, so not sure if it just doesn't work for me, or the timing is off, or if it works at all? Might be worth revisiting.

Copy link
Collaborator

@rartiss55 rartiss55 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hopefully the time.sleep() calls work for everyone. Approving until told otherwise :)

@ThomasSchellenbergNextCentury ThomasSchellenbergNextCentury merged commit da1c2df into new-webenabled Jun 16, 2023
@ThomasSchellenbergNextCentury ThomasSchellenbergNextCentury deleted the MCS-1796-webenabled-off-by-one branch June 16, 2023 13:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants