ManimCommunity / ManimCommunity/manim

Stop Renderer OpenGL and Enable GUI Crash on Uncaught Error Section of Code

Open
#2,219 0 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement opengl
Dominant language
Python
Stars
40.9k
Forks
3.1k
Avg merge
3d 12h
Merged PRs (30d)
25

Description

Enhancement proposal

Currently I like working with the interactive mode with opengl renderer and GUI. However, the main issue is that every time I accidentally mistype or have an issue my logic, the whole application closes and IPython crashes. Could we catch the errors and just display them in the GUI and continue on?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the interactive mode entry point for the OpenGL renderer and GUI, then reproduce the crash with a mistyped expression or logic error. Trace how the uncaught error reaches IPython and identify the intended place to display it while keeping the application running. Done means errors appear in the GUI and the session continues instead of closing.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
desktop
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.