The application suddenly doesn't work, it's many months I don't use it so I don't remember if I'm doing something wrong:
~$ jsonpyes --data input.json --bulk http://xxx.com:9201 --import --index my_index --thread 4 --check
All raw JSON data valid!
Exception in thread Thread-1:
Traceback (most recent call last):
File "/usr/lib/python3.8/threading.py", line 932, in _bootstrap_inner
self.run()
File "/usr/lib/python3.8/threading.py", line 870, in run
self._target(*self._args, **self._kwargs)
File "/usr/local/bin/jsonpyes", line 150, in worker_import_to_es_for_threading
for i in range(start_line, stop_line + 1):
TypeError: 'float' object cannot be interpreted as an integer
Successfully data imported!
The message is immediate, it says successfully imported but it's not true.
The application suddenly doesn't work, it's many months I don't use it so I don't remember if I'm doing something wrong:
The message is immediate, it says successfully imported but it's not true.
My setup: python 3.8.10 Remote ES 7.13.0