diff --git a/src/LHCbDIRAC/TransformationSystem/Utilities/PluginUtilities.py b/src/LHCbDIRAC/TransformationSystem/Utilities/PluginUtilities.py index 05d38e06890f43261e5d74a40cb3c12760b60339..79b30458a577c0b9df01027b9e5e9152a219c9ba 100644 --- a/src/LHCbDIRAC/TransformationSystem/Utilities/PluginUtilities.py +++ b/src/LHCbDIRAC/TransformationSystem/Utilities/PluginUtilities.py @@ -1012,7 +1012,7 @@ get from BK" # print '*****' # print '\n'.join( ['%s %s' % ( key, val ) for key, val in self.cachedLFNProcessedPath.items()] ) break - except (OSError, LookupError) as e: + except (OSError, LookupError, pickle.UnpicklingError, EOFError) as e: self.logException("Cache file could not be loaded", cacheFile, lException=e) def getCachedRunLFNs(self, runID, paramValue):