jcrodriguez-dis / moodle-mod_vpl

Virtual Programming Lab for Moodle (Module)
GNU General Public License v3.0
97 stars 84 forks source link

Menu Bar: Execution buttons work only once #148

Closed derkarl closed 1 year ago

derkarl commented 1 year ago

Hi,

After our recent upgrade of Moodle to 4.1.2 (was 3.11), VPL to 4.0.1 and the execution Jail to 3.0.0, the "Run" button only works once: After clicking, it appears greyed out and show its "rotating rocket" animation, but never returns to its clickable state. The execution itself works just fine, though: The process is run on the jail server and the output is shown in the popup console window. Automatic evaluation gives the correct results, but that button isn't re-enabled, either.

We've already tried…

We would really appreciate further suggestions for restoring this to a working state.

jcrodriguez-dis commented 1 year ago

Thank you for your detailed account of the issue you're experiencing. It certainly seems unusual, especially considering that we have not received similar reports from other users. From your description, it appears the issue may be related to the communication between the Jail server and the JavaScript in your browser.

To further diagnose the problem, we'd appreciate it if you could help us inspect the JavaScript console of your browser for any potential error messages. Here's how to do it:

  1. Right-click anywhere on the Moodle page, and select 'Inspect Element' (Firefox) or 'Inspect' (Chrome/Safari).
  2. In the window that appears, click on the 'Console' tab.
  3. Try running your VPL activity again. If there are any errors or warnings in the JavaScript, they should show up in the console.

Please capture any messages that appear in the console and share them with us. This would help us identify the root cause of the issue you are experiencing.

We appreciate your patience and cooperation in resolving this issue, and rest assured we're committed to helping you restore this functionality to a working state.

derkarl commented 1 year ago

The problem does not persist after upgrading the Moodle VPL plugin to 4.1.0.