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
从elasticsearch7.9.3导出索引数据为csv,出现异常,报错如下,挺好的工具,啥时更新支持es7.x、es8.x?
Found {u'relation': u'eq', u'value': 1032} results.
Traceback (most recent call last):
File "/usr/bin/es2csv", line 9, in
load_entry_point('es2csv==5.5.2', 'console_scripts', 'es2csv')()
File "/usr/lib/python2.7/site-packages/es2csv_cli.py", line 53, in main
es.search_query()
File "/usr/lib/python2.7/site-packages/es2csv.py", line 26, in f_retry
return f(*args, **kwargs)
File "/usr/lib/python2.7/site-packages/es2csv.py", line 148, in search_query
bar = progressbar.ProgressBar(widgets=widgets, maxval=self.num_results).start()
File "/usr/lib/python2.7/site-packages/progressbar/bar.py", line 633, in start
self.update(self.min_value, force=True)
File "/usr/lib/python2.7/site-packages/progressbar/bar.py", line 579, in update
StdRedirectMixin.update(self, value=value)
File "/usr/lib/python2.7/site-packages/progressbar/bar.py", line 141, in update
DefaultFdMixin.update(self, value=value)
File "/usr/lib/python2.7/site-packages/progressbar/bar.py", line 68, in update
line = converters.to_unicode('\r' + self._format_line())
File "/usr/lib/python2.7/site-packages/progressbar/bar.py", line 508, in _format_line
widgets = ''.join(self._to_unicode(self._format_widgets()))
File "/usr/lib/python2.7/site-packages/progressbar/bar.py", line 473, in _format_widgets
data = self.data()
File "/usr/lib/python2.7/site-packages/progressbar/bar.py", line 401, in data
percentage=self.percentage,
File "/usr/lib/python2.7/site-packages/progressbar/bar.py", line 320, in percentage
total = self.max_value - self.min_value
TypeError: unsupported operand type(s) for -: 'dict' and 'int'
The text was updated successfully, but these errors were encountered:
从elasticsearch7.9.3导出索引数据为csv,出现异常,报错如下,挺好的工具,啥时更新支持es7.x、es8.x?
Found {u'relation': u'eq', u'value': 1032} results.
Traceback (most recent call last):
File "/usr/bin/es2csv", line 9, in
load_entry_point('es2csv==5.5.2', 'console_scripts', 'es2csv')()
File "/usr/lib/python2.7/site-packages/es2csv_cli.py", line 53, in main
es.search_query()
File "/usr/lib/python2.7/site-packages/es2csv.py", line 26, in f_retry
return f(*args, **kwargs)
File "/usr/lib/python2.7/site-packages/es2csv.py", line 148, in search_query
bar = progressbar.ProgressBar(widgets=widgets, maxval=self.num_results).start()
File "/usr/lib/python2.7/site-packages/progressbar/bar.py", line 633, in start
self.update(self.min_value, force=True)
File "/usr/lib/python2.7/site-packages/progressbar/bar.py", line 579, in update
StdRedirectMixin.update(self, value=value)
File "/usr/lib/python2.7/site-packages/progressbar/bar.py", line 141, in update
DefaultFdMixin.update(self, value=value)
File "/usr/lib/python2.7/site-packages/progressbar/bar.py", line 68, in update
line = converters.to_unicode('\r' + self._format_line())
File "/usr/lib/python2.7/site-packages/progressbar/bar.py", line 508, in _format_line
widgets = ''.join(self._to_unicode(self._format_widgets()))
File "/usr/lib/python2.7/site-packages/progressbar/bar.py", line 473, in _format_widgets
data = self.data()
File "/usr/lib/python2.7/site-packages/progressbar/bar.py", line 401, in data
percentage=self.percentage,
File "/usr/lib/python2.7/site-packages/progressbar/bar.py", line 320, in percentage
total = self.max_value - self.min_value
TypeError: unsupported operand type(s) for -: 'dict' and 'int'
The text was updated successfully, but these errors were encountered: