recover a pickle corrupted file after getting OSError: [Errno 28] No space left on device

114 Views Asked by At

i'm kind of stuck here, i tried to look for an existing solution but couldn't find anything.

So the issue i have is this :

having a python script gathering data. At some point the disk of the server is full (my bad ...) so when the script tried to pickle.dump the last data gathered it crash and gave :

OSError: [Errno 28] No space left on device

Now i can't pickle.load the data, when i try to do so it gave me

_pickle.UnpicklingError: pickle data was truncated or EOFError: Ran out of input

so i'd like to know if there is a way to open it anyways to backup the good data in there. Or is my previous data is gone :(

btw the pickle file is ~700kB

0

There are 0 best solutions below