Re: I get this error: Task exception was never retrieved. What can I do?

282 views
Skip to first unread message
Message has been deleted
Message has been deleted

Bruce Sherwood

unread,
Mar 24, 2023, 1:36:06 PM3/24/23
to Glowscript Users
It would be useful to launch the program from something other than Pycharm to see what happens. Try running from IDLE or from a terminal.

As for the rate statement, here is what is stated in the installation instructions at vpython.org:

When running from a terminal, if the program does not end with a loop
containing a rate() statement, you need to add "while True: rate(30)"
to the end of the program. This is not necessary when launching from
environments such as Jupyter notebook, IDLE, or Spyder.

Bruce
Reply all
Reply to author
Forward
0 new messages