Skip to main content

ConcurrentModificationError

Another process modified the kernel records during a download.

Usage

Source

ConcurrentModificationError()

KernelDB.get_metakernel (and so update_metakernel and the module-level get) releases the database lock while it talks to the network, so that other processes can read in the meantime. Afterwards it checks that the kernel records it looked at are unchanged. If another process changed them, the operation aborts with this error instead of silently overwriting that process’s work (C5).

Retry after the other writer has finished. If the error persists, another get or scan is still running. Subclass of RuntimeError.