Thank you. The notebook hosted in Anaconda did work for me as well.
Versions at my machine:
HoloViews version: 1.18.1
Datashader version: 0.15.2
Param version: 1.13.0
Dask version: 2023.6.0
Here is my error log:
2024-01-22 12:25:24,358 - distributed.protocol.core - CRITICAL - Failed to deserialize
Traceback (most recent call last):
File "/Users/saurabhkumar/anaconda3/lib/python3.11/site-packages/distributed/protocol/core.py", line 158, in loads
return msgpack.loads(
^^^^^^^^^^^^^^
File "/Users/saurabhkumar/anaconda3/lib/python3.11/site-packages/msgpack/fallback.py", line 128, in unpackb
0xDC: (2, ">H", TYPE_ARRAY),
^^^^^^^^^^^^^^^^^^
File "/Users/saurabhkumar/anaconda3/lib/python3.11/site-packages/msgpack/fallback.py", line 565, in _unpack
def __iter__(self):
File "/Users/saurabhkumar/anaconda3/lib/python3.11/site-packages/msgpack/fallback.py", line 592, in _unpack
File "/Users/saurabhkumar/anaconda3/lib/python3.11/site-packages/msgpack/fallback.py", line 565, in _unpack
def __iter__(self):
File "/Users/saurabhkumar/anaconda3/lib/python3.11/site-packages/msgpack/fallback.py", line 565, in _unpack
def __iter__(self):
File "/Users/saurabhkumar/anaconda3/lib/python3.11/site-packages/msgpack/fallback.py", line 602, in _unpack
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xe0 in position 2: invalid continuation byte
2024-01-22 12:25:24,361 - distributed.core - ERROR - Exception while handling op register-client
Traceback (most recent call last):
File "/Users/saurabhkumar/anaconda3/lib/python3.11/site-packages/distributed/core.py", line 924, in _handle_comm
result = await result
^^^^^^^^^^^^
File "/Users/saurabhkumar/anaconda3/lib/python3.11/site-packages/distributed/scheduler.py", line 5449, in add_client
await self.handle_stream(comm=comm, extra={"client": client})
File "/Users/saurabhkumar/anaconda3/lib/python3.11/site-packages/distributed/core.py", line 977, in handle_stream
msgs = await comm.read()
^^^^^^^^^^^^^^^^^
File "/Users/saurabhkumar/anaconda3/lib/python3.11/site-packages/distributed/comm/tcp.py", line 254, in read
msg = await from_frames(
^^^^^^^^^^^^^^^^^^
File "/Users/saurabhkumar/anaconda3/lib/python3.11/site-packages/distributed/comm/utils.py", line 100, in from_frames
res = _from_frames()
^^^^^^^^^^^^^^
File "/Users/saurabhkumar/anaconda3/lib/python3.11/site-packages/distributed/comm/utils.py", line 83, in _from_frames
return protocol.loads(
^^^^^^^^^^^^^^^
File "/Users/saurabhkumar/anaconda3/lib/python3.11/site-packages/distributed/protocol/core.py", line 158, in loads
return msgpack.loads(
^^^^^^^^^^^^^^
File "/Users/saurabhkumar/anaconda3/lib/python3.11/site-packages/msgpack/fallback.py", line 128, in unpackb
0xDC: (2, ">H", TYPE_ARRAY),
^^^^^^^^^^^^^^^^^^
File "/Users/saurabhkumar/anaconda3/lib/python3.11/site-packages/msgpack/fallback.py", line 565, in _unpack
def __iter__(self):
File "/Users/saurabhkumar/anaconda3/lib/python3.11/site-packages/msgpack/fallback.py", line 592, in _unpack
File "/Users/saurabhkumar/anaconda3/lib/python3.11/site-packages/msgpack/fallback.py", line 565, in _unpack
def __iter__(self):
File "/Users/saurabhkumar/anaconda3/lib/python3.11/site-packages/msgpack/fallback.py", line 565, in _unpack
def __iter__(self):
File "/Users/saurabhkumar/anaconda3/lib/python3.11/site-packages/msgpack/fallback.py", line 602, in _unpack
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xe0 in position 2: invalid continuation byte
Task exception was never retrieved
future: <Task finished name='Task-28575112' coro=<Server._handle_comm() done, defined at /Users/saurabhkumar/anaconda3/lib/python3.11/site-packages/distributed/core.py:830> exception=UnicodeDecodeError('utf-8', b'-U\xe0s\xe4?\xc4\x10\x895xv7>\xc8?\xa3\x1e\xe5', 2, 3, 'invalid continuation byte')>
Traceback (most recent call last):
File "/Users/saurabhkumar/anaconda3/lib/python3.11/site-packages/distributed/core.py", line 924, in _handle_comm
result = await result
^^^^^^^^^^^^
File "/Users/saurabhkumar/anaconda3/lib/python3.11/site-packages/distributed/scheduler.py", line 5449, in add_client
await self.handle_stream(comm=comm, extra={"client": client})
File "/Users/saurabhkumar/anaconda3/lib/python3.11/site-packages/distributed/core.py", line 977, in handle_stream
msgs = await comm.read()
^^^^^^^^^^^^^^^^^
File "/Users/saurabhkumar/anaconda3/lib/python3.11/site-packages/distributed/comm/tcp.py", line 254, in read
msg = await from_frames(
^^^^^^^^^^^^^^^^^^
File "/Users/saurabhkumar/anaconda3/lib/python3.11/site-packages/distributed/comm/utils.py", line 100, in from_frames
res = _from_frames()
^^^^^^^^^^^^^^
File "/Users/saurabhkumar/anaconda3/lib/python3.11/site-packages/distributed/comm/utils.py", line 83, in _from_frames
return protocol.loads(
^^^^^^^^^^^^^^^
File "/Users/saurabhkumar/anaconda3/lib/python3.11/site-packages/distributed/protocol/core.py", line 158, in loads
return msgpack.loads(
^^^^^^^^^^^^^^
File "/Users/saurabhkumar/anaconda3/lib/python3.11/site-packages/msgpack/fallback.py", line 128, in unpackb
0xDC: (2, ">H", TYPE_ARRAY),
^^^^^^^^^^^^^^^^^^
File "/Users/saurabhkumar/anaconda3/lib/python3.11/site-packages/msgpack/fallback.py", line 565, in _unpack
def __iter__(self):
File "/Users/saurabhkumar/anaconda3/lib/python3.11/site-packages/msgpack/fallback.py", line 592, in _unpack
File "/Users/saurabhkumar/anaconda3/lib/python3.11/site-packages/msgpack/fallback.py", line 565, in _unpack
def __iter__(self):
File "/Users/saurabhkumar/anaconda3/lib/python3.11/site-packages/msgpack/fallback.py", line 565, in _unpack
def __iter__(self):
File "/Users/saurabhkumar/anaconda3/lib/python3.11/site-packages/msgpack/fallback.py", line 602, in _unpack
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xe0 in position 2: invalid continuation byte
---------------------------------------------------------------------------
CancelledError Traceback (most recent call last)
File <timed exec>:1
File ~/anaconda3/lib/python3.11/site-packages/param/parameterized.py:3658, in ParameterizedFunction.__new__(class_, *args, **params)
3656 inst = class_.instance()
3657 inst.param._set_name(class_.__name__)
-> 3658 return inst.__call__(*args,**params)
File ~/anaconda3/lib/python3.11/site-packages/datashader/bundling.py:496, in hammer_bundle.__call__(self, nodes, edges, **params)
493 edge_segments = [resample_edges(segment, p.min_segment_length, p.max_segment_length, segment_class.ndims) for segment in edge_segments]
495 # Finally things can be sent for computation
--> 496 edge_segments = compute(*edge_segments)
498 # Smooth out the graph
499 for i in range(10):
File ~/anaconda3/lib/python3.11/site-packages/dask/base.py:595, in compute(traverse, optimize_graph, scheduler, get, *args, **kwargs)
592 keys.append(x.__dask_keys__())
593 postcomputes.append(x.__dask_postcompute__())
--> 595 results = schedule(dsk, keys, **kwargs)
596 return repack([f(r, *a) for r, (f, a) in zip(results, postcomputes)])
File ~/anaconda3/lib/python3.11/site-packages/distributed/client.py:3243, in Client.get(self, dsk, keys, workers, allow_other_workers, resources, sync, asynchronous, direct, retries, priority, fifo_timeout, actors, **kwargs)
3241 should_rejoin = False
3242 try:
-> 3243 results = self.gather(packed, asynchronous=asynchronous, direct=direct)
3244 finally:
3245 for f in futures.values():
File ~/anaconda3/lib/python3.11/site-packages/distributed/client.py:2368, in Client.gather(self, futures, errors, direct, asynchronous)
2366 except ValueError:
2367 local_worker = None
-> 2368 return self.sync(
2369 self._gather,
2370 futures,
2371 errors=errors,
2372 direct=direct,
2373 local_worker=local_worker,
2374 asynchronous=asynchronous,
2375 )
File ~/anaconda3/lib/python3.11/site-packages/distributed/utils.py:351, in SyncMethodMixin.sync(self, func, asynchronous, callback_timeout, *args, **kwargs)
349 return future
350 else:
--> 351 return sync(
352 self.loop, func, *args, callback_timeout=callback_timeout, **kwargs
353 )
File ~/anaconda3/lib/python3.11/site-packages/distributed/utils.py:418, in sync(loop, func, callback_timeout, *args, **kwargs)
416 if error:
417 typ, exc, tb = error
--> 418 raise exc.with_traceback(tb)
419 else:
420 return result
File ~/anaconda3/lib/python3.11/site-packages/distributed/utils.py:391, in sync.<locals>.f()
389 future = wait_for(future, callback_timeout)
390 future = asyncio.ensure_future(future)
--> 391 result = yield future
392 except Exception:
393 error = sys.exc_info()
File ~/anaconda3/lib/python3.11/site-packages/tornado/gen.py:767, in Runner.run(self)
765 try:
766 try:
--> 767 value = future.result()
768 except Exception as e:
769 # Save the exception for later. It's important that
770 # gen.throw() not be called inside this try/except block
771 # because that makes sys.exc_info behave unexpectedly.
772 exc: Optional[Exception] = e
File ~/anaconda3/lib/python3.11/site-packages/distributed/client.py:2232, in Client._gather(self, futures, errors, direct, local_worker)
2230 else:
2231 raise exception.with_traceback(traceback)
-> 2232 raise exc
2233 if errors == "skip":
2234 bad_keys.add(key)
CancelledError: resample_edges-b6272cbe-89dd-4ffe-a28f-dcbcaa141bb1