Since you are not connecting any Kobo devices, this suggests that your calibre database is corrupted. You could try a
database_restore using the calibredb command line option.
Run it once without the -r or --really-do-it option and if no errors, then run it again with the -r option.