-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Error when trying to get a very large namespace view from the kernel #4873
Comments
Update: will result to the same error |
I know where this error is coming from. We'll fix it in Spyder 3.2.1, to be released this weekend. In the meantime, please avoid star imports (i.e. |
What is the error @ccordoba12 ? |
It's not our fault (I think). IPython is not sending the namespace representation that we build in the kernel correctly, but as a truncated dictionary (because it contains too much elements). That's why we get |
Hmm, ok, how do we even fix that :-| ? |
I was thinking to call |
@dalthviz, please help me with this one. I think the idea is to use https://github.com/spyder-ide/spyder/blob/3.x/spyder/utils/ipython/spyder_kernel.py#L113 and https://github.com/spyder-ide/spyder/blob/3.x/spyder/utils/ipython/spyder_kernel.py#L141 Then we need to use https://github.com/spyder-ide/spyder/blob/3.x/spyder/widgets/ipythonconsole/shell.py#L330 and https://github.com/spyder-ide/spyder/blob/3.x/spyder/widgets/ipythonconsole/shell.py#L336 |
I keep getting the same error after running the following code:
from brian import *
brian_sample_run()
However the output seems to be fine on IPython console.
Error
Version and main components
Dependencies
The text was updated successfully, but these errors were encountered: