I added "self.embed()" to enable the interaction. Then the IPython terminal shown. There was an "Unhandled exception in event loop" error when enter "Shift + (".
Code and Error
Code:
Shift + (
Error:
UserWarning: Failed to get module start
warnings.warn("Failed to get module %s" % \
Unhandled exception in event loop:
File "C:\Users\xxx\AppData\Local\Programs\Python\Python39\lib\asyncio\events.py", line 80, in _run
self._context.run(self._callback, *self._args)
File "C:\Users\xxx\AppData\Local\Programs\Python\Python39\lib\site-packages\prompt_toolkit\input\win32.py", line 613, in ready
callback()
File "C:\Users\xxx\AppData\Local\Programs\Python\Python39\lib\site-packages\prompt_toolkit\application\application.py", line 698, in read_from_input
self.key_processor.process_keys()
File "C:\Users\xxx\AppData\Local\Programs\Python\Python39\lib\site-packages\prompt_toolkit\key_binding\key_processor.py", line 272, in process_keys
self._process_coroutine.send(key_press)
File "C:\Users\xxx\AppData\Local\Programs\Python\Python39\lib\site-packages\prompt_toolkit\key_binding\key_processor.py", line 170, in _process
matches = self._get_matches(buffer)
File "C:\Users\xxx\AppData\Local\Programs\Python\Python39\lib\site-packages\prompt_toolkit\key_binding\key_processor.py", line 128, in _get_matches
return [b for b in self._bindings.get_bindings_for_keys(keys) if b.filter()]
File "C:\Users\xxx\AppData\Local\Programs\Python\Python39\lib\site-packages\prompt_toolkit\key_binding\key_processor.py", line 128, in
return [b for b in self._bindings.get_bindings_for_keys(keys) if b.filter()]
File "C:\Users\xxx\AppData\Local\Programs\Python\Python39\lib\site-packages\prompt_toolkit\filters\base.py", line 134, in call
return all(f() for f in self.filters)
File "C:\Users\xxx\AppData\Local\Programs\Python\Python39\lib\site-packages\prompt_toolkit\filters\base.py", line 134, in
return all(f() for f in self.filters)
File "C:\Users\xxx\AppData\Local\Programs\Python\Python39\lib\site-packages\prompt_toolkit\filters\base.py", line 248, in call
return self.func()
File "C:\Users\xxx\AppData\Local\Programs\Python\Python39\lib\site-packages\IPython\terminal\shortcuts\filters.py", line 75, in auto_match
return shell.auto_match
Exception 'NoneType' object has no attribute 'auto_match'
Press ENTER to continue...
Describe the error
I added "self.embed()" to enable the interaction. Then the IPython terminal shown. There was an "Unhandled exception in event loop" error when enter "Shift + (".
Code and Error
Code: Shift + (
Error: UserWarning: Failed to get module start warnings.warn("Failed to get module %s" % \
Unhandled exception in event loop: File "C:\Users\xxx\AppData\Local\Programs\Python\Python39\lib\asyncio\events.py", line 80, in _run self._context.run(self._callback, *self._args) File "C:\Users\xxx\AppData\Local\Programs\Python\Python39\lib\site-packages\prompt_toolkit\input\win32.py", line 613, in ready callback() File "C:\Users\xxx\AppData\Local\Programs\Python\Python39\lib\site-packages\prompt_toolkit\application\application.py", line 698, in read_from_input self.key_processor.process_keys() File "C:\Users\xxx\AppData\Local\Programs\Python\Python39\lib\site-packages\prompt_toolkit\key_binding\key_processor.py", line 272, in process_keys self._process_coroutine.send(key_press) File "C:\Users\xxx\AppData\Local\Programs\Python\Python39\lib\site-packages\prompt_toolkit\key_binding\key_processor.py", line 170, in _process matches = self._get_matches(buffer) File "C:\Users\xxx\AppData\Local\Programs\Python\Python39\lib\site-packages\prompt_toolkit\key_binding\key_processor.py", line 128, in _get_matches return [b for b in self._bindings.get_bindings_for_keys(keys) if b.filter()] File "C:\Users\xxx\AppData\Local\Programs\Python\Python39\lib\site-packages\prompt_toolkit\key_binding\key_processor.py", line 128, in
return [b for b in self._bindings.get_bindings_for_keys(keys) if b.filter()]
File "C:\Users\xxx\AppData\Local\Programs\Python\Python39\lib\site-packages\prompt_toolkit\filters\base.py", line 134, in call
return all(f() for f in self.filters)
File "C:\Users\xxx\AppData\Local\Programs\Python\Python39\lib\site-packages\prompt_toolkit\filters\base.py", line 134, in
return all(f() for f in self.filters)
File "C:\Users\xxx\AppData\Local\Programs\Python\Python39\lib\site-packages\prompt_toolkit\filters\base.py", line 248, in call
return self.func()
File "C:\Users\xxx\AppData\Local\Programs\Python\Python39\lib\site-packages\IPython\terminal\shortcuts\filters.py", line 75, in auto_match
return shell.auto_match
Exception 'NoneType' object has no attribute 'auto_match' Press ENTER to continue...
Environment
Windows10 x64: manim version: master![image](https://github.com/3b1b/manim/assets/67580388/307332d2-d615-456f-bab2-9e3fa88608fd)
python version: Python 3.9.13