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

Issue: Cannot enter '(' in IPython terminal #2140

Open
KvantXiu opened this issue Jun 13, 2024 · 1 comment
Open

Issue: Cannot enter '(' in IPython terminal #2140

KvantXiu opened this issue Jun 13, 2024 · 1 comment

Comments

@KvantXiu
Copy link

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

python version: Python 3.9.13

@KvantXiu
Copy link
Author

Sorry the version I used:
image

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

No branches or pull requests

1 participant