jina.excepts.BadClient: StatusCode.UNKNOWN error in grpc: Exception iterating requests! often the case is that you define/send a bad input iterator to jina, please double check your input iterator #23
Traceback (most recent call last):
File "app.py", line 54, in <module>
index()
File "app.py", line 28, in index
f.index_lines(filepath=data_path, batch_size=16, read_mode='r', size=num_docs)
File "/home/alexcg/work/repos/examples/my-first-jina-app/env/lib/python3.8/site-packages/jina/flow/__init__.py", line 648, in index_lines
self._get_client(**kwargs).index(input_lines(lines, filepath, size, sampling_rate, read_mode), output_fn,
File "/home/alexcg/work/repos/examples/my-first-jina-app/env/lib/python3.8/site-packages/jina/clients/python/__init__.py", line 212, in index
self.start(output_fn, **kwargs)
File "/home/alexcg/work/repos/examples/my-first-jina-app/env/lib/python3.8/site-packages/jina/clients/python/grpc.py", line 83, in start
raise BadClient('%s error in grpc: %s '
jina.excepts.BadClient: StatusCode.UNKNOWN error in grpc: Exception iterating requests! often the case is that you define/send a bad input iterator to jina, please double check your input iterator
Problem
pip install -r requirements.txt
okaypython app.py index
led to:error.log
Environment
pip list
gives:So Flask, etc is now installed
ls -l workspace
gives: