Hello, I’m unable to load data on a project. I’ve never seen this error before:
File “/Envs/site/lib/python3.7/site-packages/whoosh/codec/whoosh3.py”, line 1109, in _read_values
assert isinstance(vs, bytes_type)
AssertionError: Problem installing fixture
I can’t find any resources unique to this problem. Can anyone help?
I’ve dumped data from a Python 3 production app running Postrges 9.4.25 and attempted to load the data locally to Postgres 12.1. The error seems to be related to Whoosh==2.7.4
AssertionError
Problem installing fixture
whoosh/codec/whoosh3.py in _read_values at line 1119
if fixedsize is None or fixedsize < 0:
self._values = vs
elif fixedsize is 0:
self._values = (None,) * self._blocklength
else:
assert isinstance(vs, bytes_type)
self._values = tuple(vs[i:i + fixedsize]
for i in xrange(0, len(vs), fixedsize))