Skip to content

'NoneType' object has no attribute 'session' 4.5.1 #210

@stefdoerr

Description

@stefdoerr

Going from ipykernel 4.5.0 to 4.5.1 we get the following error. The error only appears at the end of the execution of a script so luckily it doesn't affect our calculations. But it breaks our testing as travis thinks that it's our tests failing.

Exception ignored in: <bound method Widget.__del__ of <ipywidgets.widgets.widget_layout.Layout object at 0x7f679e5e8d30>>
Traceback (most recent call last):
  File "/shared/lab/software/miniconda3/lib/python3.5/site-packages/ipywidgets/widgets/widget.py", line 188, in __del__
  File "/shared/lab/software/miniconda3/lib/python3.5/site-packages/ipywidgets/widgets/widget.py", line 238, in close
  File "/shared/lab/software/miniconda3/lib/python3.5/site-packages/ipykernel/comm/comm.py", line 109, in close
  File "/shared/lab/software/miniconda3/lib/python3.5/site-packages/ipykernel/comm/comm.py", line 65, in _publish_msg
AttributeError: 'NoneType' object has no attribute 'session'
Exception ignored in: <bound method Widget.__del__ of <ipywidgets.widgets.widget_box.Box object at 0x7f679e5e8278>>
Traceback (most recent call last):
  File "/shared/lab/software/miniconda3/lib/python3.5/site-packages/ipywidgets/widgets/widget.py", line 188, in __del__
  File "/shared/lab/software/miniconda3/lib/python3.5/site-packages/ipywidgets/widgets/widget.py", line 238, in close
  File "/shared/lab/software/miniconda3/lib/python3.5/site-packages/ipykernel/comm/comm.py", line 109, in close
  File "/shared/lab/software/miniconda3/lib/python3.5/site-packages/ipykernel/comm/comm.py", line 65, in _publish_msg
AttributeError: 'NoneType' object has no attribute 'session'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions