Skip to content

Error on saving notebook containing Holoviews Panel objects #560

@jj-github-jj

Description

@jj-github-jj

Get the following error on saving notebook session if notebook has aholoview panel object

File c:\Users\test\AppData\Local\Programs\Python\Python39\lib\site-packages\dill\_dill.py:503, in dump_session(filename, main, byref, **kwds)
    501     pickler._first_pass = True
    502     pickler._main_modified = main is not pickler._original_main
--> 503     pickler.dump(main)
    504 finally:
    505     if f is not filename:  # If newly opened file

File c:\Users\test\AppData\Local\Programs\Python\Python39\lib\site-packages\dill\_dill.py:620, in Pickler.dump(self, obj)
    618     raise PicklingError(msg)
    619 else:
--> 620     StockPickler.dump(self, obj)
    621 return

File c:\Users\test\AppData\Local\Programs\Python\Python39\lib\pickle.py:487, in _Pickler.dump(self, obj)
    485 if self.proto >= 4:
    486     self.framer.start_framing()
--> 487 self.save(obj)
    488 self.write(STOP)
    489 self.framer.end_framing()
...
    580     reduce = getattr(obj, "__reduce__", None)

File stringsource:2, in zmq.backend.cython.context.Context.__reduce_cython__()

TypeError: no default __reduce__ due to non-trivial __cinit__

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions