After fixing #19, running python app.py -t index starts downloading the Executors from Hub, but throws an error after downloading the first one:
indexer@392866[C]:can not load the executor from /home/alexcg/.jina/hub-packages/zb38xlt4/config.yml
indexer@392866[E]:ExecutorFailToLoad() during <class 'jina.peapods.runtimes.zmq.zed.ZEDRuntime'> initialization
add "--quiet-error" to suppress the exception details
Traceback (most recent call last):
File "/mnt/data/work/repos/book/src/Chapter07/wikipedia-sentences-query-while-indexing/env/lib/python3.9/site-packages/jina/peapods/runtimes/request_handlers/data_request_handler.py", line 71, in _load_executor
self._executor = BaseExecutor.load_config(
File "/mnt/data/work/repos/book/src/Chapter07/wikipedia-sentences-query-while-indexing/env/lib/python3.9/site-packages/jina/jaml/__init__.py", line 613, in load_config
return JAML.load(tag_yml, substitute=False)
File "/mnt/data/work/repos/book/src/Chapter07/wikipedia-sentences-query-while-indexing/env/lib/python3.9/site-packages/jina/jaml/__init__.py", line 90, in load
r = yaml.load(stream, Loader=JinaLoader)
File "/mnt/data/work/repos/book/src/Chapter07/wikipedia-sentences-query-while-indexing/env/lib/python3.9/site-packages/yaml/__init__.py", line 81, in load
return loader.get_single_data()
File "/mnt/data/work/repos/book/src/Chapter07/wikipedia-sentences-query-while-indexing/env/lib/python3.9/site-packages/yaml/constructor.py", line 51, in get_single_data
return self.construct_document(node)
File "/mnt/data/work/repos/book/src/Chapter07/wikipedia-sentences-query-while-indexing/env/lib/python3.9/site-packages/yaml/constructor.py", line 55, in construct_document
data = self.construct_object(node)
File "/mnt/data/work/repos/book/src/Chapter07/wikipedia-sentences-query-while-indexing/env/lib/python3.9/site-packages/yaml/constructor.py", line 100, in construct_object
data = constructor(self, node)
File "/mnt/data/work/repos/book/src/Chapter07/wikipedia-sentences-query-while-indexing/env/lib/python3.9/site-packages/jina/jaml/__init__.py", line 452, in _from_yaml
return get_parser(cls, version=data.get('version', None)).parse(cls, data)
File "/mnt/data/work/repos/book/src/Chapter07/wikipedia-sentences-query-while-indexing/env/lib/python3.9/site-packages/jina/jaml/parsers/executor/legacy.py", line 69, in parse
obj = cls(
File "/mnt/data/work/repos/book/src/Chapter07/wikipedia-sentences-query-while-indexing/env/lib/python3.9/site-packages/jina/executors/decorators.py", line 60, in arg_wrapper
f = func(self, *args, **kwargs)
File "/home/alexcg/.jina/hub-packages/zb38xlt4/executor.py", line 41, in __init__
self._index = DocumentArray(
TypeError: __init__() got an unexpected keyword argument 'storage'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/mnt/data/work/repos/book/src/Chapter07/wikipedia-sentences-query-while-indexing/env/lib/python3.9/site-packages/jina/peapods/peas/__init__.py", line 79, in run
runtime = runtime_cls(
File "/mnt/data/work/repos/book/src/Chapter07/wikipedia-sentences-query-while-indexing/env/lib/python3.9/site-packages/jina/peapods/runtimes/zmq/zed.py", line 72, in __init__
self._data_request_handler = DataRequestHandler(self.args, self.logger)
File "/mnt/data/work/repos/book/src/Chapter07/wikipedia-sentences-query-while-indexing/env/lib/python3.9/site-packages/jina/peapods/runtimes/request_handlers/data_request_handler.py", line 66, in __init__
self._load_executor()
File "/mnt/data/work/repos/book/src/Chapter07/wikipedia-sentences-query-while-indexing/env/lib/python3.9/site-packages/jina/peapods/runtimes/request_handlers/data_request_handler.py", line 90, in _load_executor
raise ExecutorFailToLoad from ex
jina.excepts.ExecutorFailToLoad
The app then continues to run, attempting to pull the next Executor, then seemingly hanging pulling some of the Docker images (related network activity drops to zero)
After fixing #19, running
python app.py -t index
starts downloading the Executors from Hub, but throws an error after downloading the first one:The app then continues to run, attempting to pull the next Executor, then seemingly hanging pulling some of the Docker images (related network activity drops to zero)