AttributeError: 'super' object has no attribute '_ipython_display_'
See original GitHub issueDear all,
We got AttributeError: 'super' object has no attribute '_ipython_display_'
when upgrading to ipywidgets 8
https://github.com/nglviewer/nglview/issues/1032#issue-1343627010
The class inherits from ipywidgets.DOMWidget
Any idea how to fix?
(I’ve read the migration note from 7 to 8 but could not find anything)
Thanks Hai
Issue Analytics
- State:
- Created a year ago
- Comments:11 (6 by maintainers)
Top Results From Across the Web
Exception with ipywidgets 8 - AttributeError: 'super' object has ...
Describe the bug Widget fails with AttributeError: 'super' object has no attribute '_ipython_display_' To Reproduce For example, ...
Read more >AttributeError: 'super' object has no attribute 'display' [closed]
AttributeError : 'super' object has no attribute 'display'. error is in class Rental: ( I marked it in the code ).
Read more >problems with py4vasp - My Community
AttributeError : 'super' object has no attribute '_ipython_display_'. I create a separate conda environment as has been suggested by you.
Read more >'super' object has no attribute '__getattr__' - Google Groups
It means that somewhere there is data access with an attribute error and __getattr__() has not been defined. You can also do a...
Read more >Module: display — IPython 8.7.0 documentation
Display the HTML representation of an object. Note: If raw=False and the object does not have a HTML representation, no HTML will be...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
The change that causes this: https://github.com/jupyter-widgets/ipywidgets/pull/2021
The correct migration path is to replace the method with a
_repr_mimebundle_
method. The are pretty similar, but has some nuances. If you could contribute a section to the migration guide that would help out a lot!@soobidou - actually, that looks right - that is the version that is compatible with ipywidgets 7.
Let’s move this conversation over to https://github.com/jupyter-incubator/sparkmagic/issues/769, which I see you’ve already opened about this issue, rather than continuing to take over this issue discussion.