## ConcurrentModificationError


Another process modified the kernel records during a download.


Usage

``` python
ConcurrentModificationError()
```


[KernelDB.get_metakernel](KernelDB.get_metakernel.md#spice_kernel_db.KernelDB.get_metakernel) (and so [update_metakernel](KernelDB.update_metakernel.md#spice_kernel_db.KernelDB.update_metakernel) and the module-level [get](get.md#spice_kernel_db.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](get.md#spice_kernel_db.get) or [scan](scan.md#spice_kernel_db.scan) is still running. Subclass of `RuntimeError`.
