Skip to main content

LegacyDatabaseFound

A database sits at the pre-0.19 default and nothing says to use it.

Usage

Source

LegacyDatabaseFound()

Raised by KernelDB() when no config file exists and a database sits at the pre-0.19 default ~/.spice_kernels.duckdb while the new default does not exist. ensure_config raises it too when it needs the default database path to write a first config. The message names the move command. Subclass of RuntimeError.

Before 0.21.0 such a database was opened with a FutureWarning. Since 0.21.0 it is not, rather than quietly starting an empty database beside it.