Skip to content

Instantly share code, notes, and snippets.

@yvanzo
Created June 14, 2019 19:37
Show Gist options
  • Save yvanzo/bc352f7428495bf894b2bb7aa1e89639 to your computer and use it in GitHub Desktop.
Save yvanzo/bc352f7428495bf894b2bb7aa1e89639 to your computer and use it in GitHub Desktop.
SIR reindex error on with “All strings must be XML compatible”
Solr-0 2019-06-14 19:05:24,470 DEBUG: Done sending data to Solr
Solr-0 2019-06-14 19:05:24,473 DEBUG: Sent data to Solr
Solr-0 2019-06-14 19:05:24,474 DEBUG: Sent 60 new documents. Total: 639540
Solr-0 2019-06-14 19:05:26,032 DEBUG: Done sending data to Solr
Solr-0 2019-06-14 19:05:26,032 DEBUG: Sent data to Solr
Solr-0 2019-06-14 19:05:26,033 DEBUG: Sent 60 new documents. Total: 639600
MainProcess 2019-06-14 19:05:35,395 ERROR: All strings must be XML compatible: Unicode or ASCII, no NULL bytes or control characters
Traceback (most recent call last):
File "sir/indexing.py", line 149, in _multiprocessed_import
for r in results:
File "/usr/local/lib/python2.7/multiprocessing/pool.py", line 673, in next
raise value
ValueError: All strings must be XML compatible: Unicode or ASCII, no NULL bytes or control characters
Solr-0 2019-06-14 19:05:35,504 DEBUG: <pysolr.Solr object at 0x7f9bcceedd50>: Sending remaining data & stopping
Solr-0 2019-06-14 19:05:35,516 DEBUG: Done sending data to Solr
Solr-0 2019-06-14 19:05:35,520 DEBUG: Sent data to Solr
Solr-0 2019-06-14 19:05:35,525 DEBUG: Committing changes to Solr
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment