Skip to content

Instantly share code, notes, and snippets.

@yvanzo
Created May 15, 2019 19:38
Show Gist options
  • Save yvanzo/0e55d5111a34b98778443feacc1998f6 to your computer and use it in GitHub Desktop.
Save yvanzo/0e55d5111a34b98778443feacc1998f6 to your computer and use it in GitHub Desktop.
XML incompatible + no exit on keyboard interrupt
2019-05-15 13:12:32,157: Checking whether the versions of the Solr cores are supported
2019-05-15 13:12:44,462: 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 668, in next
raise value
ValueError: All strings must be XML compatible: Unicode or ASCII, no NULL bytes or control characters
^CProcess Solr-1:
Process Solr-0:
Process PoolWorker-155:
Traceback (most recent call last):
Process PoolWorker-156:
File "/usr/local/lib/python2.7/multiprocessing/process.py", line 258, in _bootstrap
Traceback (most recent call last):
File "/usr/local/lib/python2.7/multiprocessing/process.py", line 258, in _bootstrap
self.run()
File "/usr/local/lib/python2.7/multiprocessing/process.py", line 114, in run
self.run()
File "/usr/local/lib/python2.7/multiprocessing/process.py", line 114, in run
self._target(*self._args, **self._kwargs)
File "/usr/local/lib/python2.7/multiprocessing/pool.py", line 102, in worker
self._target(*self._args, **self._kwargs)
task = get()
File "/usr/local/lib/python2.7/multiprocessing/queues.py", line 378, in get
File "/usr/local/lib/python2.7/multiprocessing/pool.py", line 102, in worker
task = get()
File "/usr/local/lib/python2.7/multiprocessing/queues.py", line 376, in get
racquire()
return recv()
KeyboardInterrupt
KeyboardInterrupt
Traceback (most recent call last):
Traceback (most recent call last):
File "/usr/local/lib/python2.7/multiprocessing/process.py", line 258, in _bootstrap
self.run()
File "/usr/local/lib/python2.7/multiprocessing/process.py", line 258, in _bootstrap
self.run()
File "/usr/local/lib/python2.7/multiprocessing/process.py", line 114, in run
self._target(*self._args, **self._kwargs)
File "/usr/local/lib/python2.7/multiprocessing/process.py", line 114, in run
File "sir/indexing.py", line 272, in queue_to_solr
self._target(*self._args, **self._kwargs)
File "sir/indexing.py", line 272, in queue_to_solr
item = queue.get()
File "<string>", line 2, in get
File "/usr/local/lib/python2.7/multiprocessing/managers.py", line 759, in _callmethod
item = queue.get()
File "<string>", line 2, in get
File "/usr/local/lib/python2.7/multiprocessing/managers.py", line 759, in _callmethod
kind, result = conn.recv()
KeyboardInterrupt
kind, result = conn.recv()
KeyboardInterrupt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment