title: recover pickled data: pickle data was truncated
body: <p>Normally,  the <code>shelve</code> data should be read and write by only one process at a time, but unfortunately it was simultaneously read and write by two processes, thus corrupted it. Is there any way to recover all data in it ? Currently I just get &quot;<code>pickle data was truncated</code>&quot; exception after reading a portion of the data?</p>
  <p>Data and code here :<a href="https://drive.google.com/file/d/137nJFc1TvOge88EjzhnFX9bXg6vd0RYQ/view?usp=sharing" rel="nofollow noreferrer">https://drive.google.com/file/d/137nJFc1TvOge88EjzhnFX9bXg6vd0RYQ/view?usp=sharing</a></p>