Just wanted to check on the state of py26 compatibility for the
elasticsearch python library. I only ask because I just got bit by the
latest version of pyes after upgrading my dev lab to ES 0.90.10 and pyes
0.90. FWIW, pyes appears to have used an incompatible encode call, though
it works for py27. Any comment will not be taken as a statement of
support; rather, a friendly timesaver while trying resolve my current
dilemma...
Thanks,
John
File
"/Users/stanford/devel/solinea/goldstone/.tox/py26/lib/python2.6/site-packages/pyes/managers.py"
, line 412, in put_mapping
path = self.conn._make_path(indices, doc_type, "_mapping")
File
"/Users/stanford/devel/solinea/goldstone/.tox/py26/lib/python2.6/site-packages/pyes/es.py"
, line 434, in _make_path
return make_path(','.join(indices), ','.join(doc_types), *components)
File
"/Users/stanford/devel/solinea/goldstone/.tox/py26/lib/python2.6/site-packages/pyes/utils/init.py"
, line 37, in make_path
path_components = [quote(component) for component in path_components ifcomponent
]
File
"/Users/stanford/devel/solinea/goldstone/.tox/py26/lib/python2.6/site-packages/pyes/utils/init.py"
, line 17, in quote
value = value.encode('utf8', errors='ignore') if isinstance(value, six.
string_types) else str(value)
TypeError: encode() takes no keyword arguments
elasticsearch-py supports python 2.6, I don't develop for it but I run
the tests under 2.6 and fix any bugs that occur. If you find any bugs,
I will be happy to fix them.
Just wanted to check on the state of py26 compatibility for the
elasticsearch python library. I only ask because I just got bit by the
latest version of pyes after upgrading my dev lab to ES 0.90.10 and pyes
0.90. FWIW, pyes appears to have used an incompatible encode call, though
it works for py27. Any comment will not be taken as a statement of support;
rather, a friendly timesaver while trying resolve my current dilemma...
Thanks,
John
File
"/Users/stanford/devel/solinea/goldstone/.tox/py26/lib/python2.6/site-packages/pyes/managers.py",
line 412, in put_mapping
path = self.conn._make_path(indices, doc_type, "_mapping")
File
"/Users/stanford/devel/solinea/goldstone/.tox/py26/lib/python2.6/site-packages/pyes/es.py",
line 434, in _make_path
return make_path(','.join(indices), ','.join(doc_types), *components)
File
"/Users/stanford/devel/solinea/goldstone/.tox/py26/lib/python2.6/site-packages/pyes/utils/init.py",
line 37, in make_path
path_components = [quote(component) for component in path_components if
component]
File
"/Users/stanford/devel/solinea/goldstone/.tox/py26/lib/python2.6/site-packages/pyes/utils/init.py",
line 17, in quote
value = value.encode('utf8', errors='ignore') if isinstance(value,
six.string_types) else str(value)
TypeError: encode() takes no keyword arguments
elasticsearch-py supports python 2.6, I don't develop for it but I run
the tests under 2.6 and fix any bugs that occur. If you find any bugs,
I will be happy to fix them.
Just wanted to check on the state of py26 compatibility for the
elasticsearch python library. I only ask because I just got bit by the
latest version of pyes after upgrading my dev lab to ES 0.90.10 and pyes
0.90. FWIW, pyes appears to have used an incompatible encode call, though
it works for py27. Any comment will not be taken as a statement of support;
rather, a friendly timesaver while trying resolve my current dilemma...
Thanks,
John
File
"/Users/stanford/devel/solinea/goldstone/.tox/py26/lib/python2.6/site-packages/pyes/managers.py",
line 412, in put_mapping
path = self.conn._make_path(indices, doc_type, "_mapping")
File
"/Users/stanford/devel/solinea/goldstone/.tox/py26/lib/python2.6/site-packages/pyes/es.py",
line 434, in _make_path
return make_path(','.join(indices), ','.join(doc_types), *components)
File
"/Users/stanford/devel/solinea/goldstone/.tox/py26/lib/python2.6/site-packages/pyes/utils/init.py",
line 37, in make_path
path_components = [quote(component) for component in path_components if
component]
File
"/Users/stanford/devel/solinea/goldstone/.tox/py26/lib/python2.6/site-packages/pyes/utils/init.py",
line 17, in quote
value = value.encode('utf8', errors='ignore') if isinstance(value,
six.string_types) else str(value)
TypeError: encode() takes no keyword arguments
elasticsearch-py supports python 2.6, I don't develop for it but I run
the tests under 2.6 and fix any bugs that occur. If you find any bugs,
I will be happy to fix them.
Just wanted to check on the state of py26 compatibility for the
elasticsearch python library. I only ask because I just got bit by the
latest version of pyes after upgrading my dev lab to ES 0.90.10 and pyes
0.90. FWIW, pyes appears to have used an incompatible encode call, though
it works for py27. Any comment will not be taken as a statement of support;
rather, a friendly timesaver while trying resolve my current dilemma...
Thanks,
John
File
"/Users/stanford/devel/solinea/goldstone/.tox/py26/lib/python2.6/site-packages/pyes/managers.py",
line 412, in put_mapping
path = self.conn._make_path(indices, doc_type, "_mapping")
File
"/Users/stanford/devel/solinea/goldstone/.tox/py26/lib/python2.6/site-packages/pyes/es.py",
line 434, in _make_path
return make_path(','.join(indices), ','.join(doc_types), *components)
File
"/Users/stanford/devel/solinea/goldstone/.tox/py26/lib/python2.6/site-packages/pyes/utils/init.py",
line 37, in make_path
path_components = [quote(component) for component in path_components if
component]
File
"/Users/stanford/devel/solinea/goldstone/.tox/py26/lib/python2.6/site-packages/pyes/utils/init.py",
line 17, in quote
value = value.encode('utf8', errors='ignore') if isinstance(value,
six.string_types) else str(value)
TypeError: encode() takes no keyword arguments
elasticsearch-py supports python 2.6, I don't develop for it but I run
the tests under 2.6 and fix any bugs that occur. If you find any bugs,
I will be happy to fix them.
Just wanted to check on the state of py26 compatibility for the
elasticsearch python library. I only ask because I just got bit by the
latest version of pyes after upgrading my dev lab to ES 0.90.10 and pyes
0.90. FWIW, pyes appears to have used an incompatible encode call, though
it works for py27. Any comment will not be taken as a statement of support;
rather, a friendly timesaver while trying resolve my current dilemma...
Thanks,
John
File
"/Users/stanford/devel/solinea/goldstone/.tox/py26/lib/python2.6/site-packages/pyes/managers.py",
line 412, in put_mapping
path = self.conn._make_path(indices, doc_type, "_mapping")
File
"/Users/stanford/devel/solinea/goldstone/.tox/py26/lib/python2.6/site-packages/pyes/es.py",
line 434, in _make_path
return make_path(','.join(indices), ','.join(doc_types), *components)
File
"/Users/stanford/devel/solinea/goldstone/.tox/py26/lib/python2.6/site-packages/pyes/utils/init.py",
line 37, in make_path
path_components = [quote(component) for component in path_components if
component]
File
"/Users/stanford/devel/solinea/goldstone/.tox/py26/lib/python2.6/site-packages/pyes/utils/init.py",
line 17, in quote
value = value.encode('utf8', errors='ignore') if isinstance(value,
six.string_types) else str(value)
TypeError: encode() takes no keyword arguments
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.