You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I end up getting this error : AttributeError: type object 'Sentinel1Meta' has no attribute 'reader'
It seems that the BlockingActorProxy() class doesn't work correctly.
In BlockingActorProxy init function, when I change a part of the code to :
ifFalse: #self._dask_client is not None:logger.debug('submit new actor')
self._actor_future=self._dask_client.submit(self._cls, *args, **kwargs, actors=True)
self._actor=self._actor_future.result()
elifself._actorisNone:
# transparent proxy: no futureself._actor=self._cls(*args, **kwargs)
I no longer get the error and the code works as expected.
The text was updated successfully, but these errors were encountered:
I have to dig in the code to understood why we have this BlockingActorProxy. If it appears that it is no more needed I would be happy to remove it. @Skealz Do you want to propose a pull request?
I followed this guide : https://cyclobs.ifremer.fr/static/sarwing_datarmor/xsar/examples/xsar_batch_datarmor.html
but without using a notebook. (basically, using :
res = ddf_l1.map_partitions(batch_processing, meta=('foo', str))
res.persist()
)
I end up getting this error : AttributeError: type object 'Sentinel1Meta' has no attribute 'reader'
It seems that the BlockingActorProxy() class doesn't work correctly.
In BlockingActorProxy init function, when I change a part of the code to :
I no longer get the error and the code works as expected.
The text was updated successfully, but these errors were encountered: