Opening this cloned project with few documents now throws this error. Did not throw error on previous clones.
Project was cloned then attempted to open in user window
Error: invalid load key, ‘,’.
Full Error:
Traceback (most recent call last):
File “/home/api/./api/views.py”, line 253, in prepare_documents
cat = get_medcat(CDB_MAP=CDB_MAP, VOCAB_MAP=VOCAB_MAP,
File “/home/api/./api/utils.py”, line 299, in get_medcat
cdb = CDB.load(cdb_path)
File “/usr/local/lib/python3.9/site-packages/medcat/cdb.py”, line 424, in load
cdb = ser.deserialize(CDB)
File “/usr/local/lib/python3.9/site-packages/medcat/utils/saving/serializer.py”, line 184, in deserialize
data = dill.load(f)
File “/usr/local/lib/python3.9/site-packages/dill/_dill.py”, line 313, in load
return Unpickler(file, ignore=ignore, **kwds).load()
File “/usr/local/lib/python3.9/site-packages/dill/_dill.py”, line 525, in load
obj = StockUnpickler.load(self)
_pickle.UnpicklingError: invalid load key, ‘,’.