zhongbiaodev / py-mysql-elasticsearch-sync

MySQL to Elasticsearch sync tool, written in Python.
MIT License
178 stars 54 forks source link

lxml.etree.XMLSyntaxError: no element found #20

Open RohanJ24 opened 4 years ago

RohanJ24 commented 4 years ago

Traceback (most recent call last): File "/home/ewebcore/.local/bin/es-sync", line 11, in load_entry_point('py-mysql-elasticsearch-sync==0.4.2', 'console_scripts', 'es-sync')() File "/home/ewebcore/.local/lib/python2.7/site-packages/es_sync/init.py", line 518, in start instance.run() File "/home/ewebcore/.local/lib/python2.7/site-packages/es_sync/init.py", line 507, in run self._sync_from_stream() File "/home/ewebcore/.local/lib/python2.7/site-packages/es_sync/init.py", line 475, in _sync_from_stream self._updater(docs) File "/home/ewebcore/.local/lib/python2.7/site-packages/es_sync/init.py", line 177, in _updater for item in data: File "/home/ewebcore/.local/lib/python2.7/site-packages/es_sync/init.py", line 203, in _processor for item in data: File "/home/ewebcore/.local/lib/python2.7/site-packages/es_sync/init.py", line 234, in _mapper for item in data: File "/home/ewebcore/.local/lib/python2.7/site-packages/es_sync/init.py", line 249, in _formatter for item in data: File "/home/ewebcore/.local/lib/python2.7/site-packages/es_sync/init.py", line 395, in _xml_parser for row in self._parse_and_remove(f_obj, 'database/table_data/row'): File "/home/ewebcore/.local/lib/python2.7/site-packages/es_sync/init.py", line 365, in _parse_and_remove next(doc) File "src/lxml/iterparse.pxi", line 208, in lxml.etree.iterparse.next (src/lxml/lxml.etree.c:154493) lxml.etree.XMLSyntaxError: no element found