[ERROR/MainProcess] Failed indexing 1 - 1000 (retry 5/5): ord() expected a character, but
string of length 0 found (pid 4034): ord() expected a character, but string of length 0
found
Traceback (most recent call last):
File
"/usr/local/lib/python2.7/dist-packages/haystack/management/commands/update_index.py",
line 84, in do_update
backend.update(index, current_qs, commit=commit)
File
"/usr/local/lib/python2.7/dist-packages/haystack/backends/whoosh_backend.py",
line 178, in update
self.setup()
File
"/usr/local/lib/python2.7/dist-packages/haystack/backends/whoosh_backend.py",
line 126, in setup
self.index = self.storage.open_index(schema=self.schema)
File "/usr/lib/python2.7/dist-packages/whoosh/filedb/filestore.py", line 176,
in open_index
return indexclass(self, schema=schema, indexname=indexname)
File "/usr/lib/python2.7/dist-packages/whoosh/index.py", line 421, in
__init__
TOC.read(self.storage, self.indexname, schema=self._schema)
File "/usr/lib/python2.7/dist-packages/whoosh/index.py", line 632, in read
check_size("int", _INT_SIZE)
File "/usr/lib/python2.7/dist-packages/whoosh/index.py", line 626, in
check_size
sz = stream.read_varint()
File "/usr/lib/python2.7/dist-packages/whoosh/filedb/structfile.py", line 191,
in read_varint
return read_varint(self.read)
File "/usr/lib/python2.7/dist-packages/whoosh/util/varints.py", line 102, in
read_varint
b = ord(readfn(1))
TypeError: ord() expected a character, but string of length 0 found
Show replies by date