mods icon indicating copy to clipboard operation
mods copied to clipboard

Unable to save to the cache

Open Dominiquini opened this issue 6 months ago • 3 comments

Describe the bug

Every time I use this app, after the response from the AI, I get this error message:

ERROR  There was a problem writing 493a324bd0e57f22e4dfce7b5470b9800b69db7f to the cache. Use  --no-cache  /  NO_CACHE  to disable it.  

Save: constraint failed: CHECK constraint failed: title <> '' (275) 

Setup

Please complete the following information along with version numbers, if applicable.

  • OS: EndeavourOS
  • Shell: bash
  • Terminal Emulator: Konsole
  • Terminal Multiplexer: ---

Note: you might encounter rendering issues if your locale does not use UTF-8 encoding. Please check your locale (locale on POSIX systems) to see what encoding is being used by your system.

To Reproduce

Steps to reproduce the behavior:

  1. Open terminal
  2. Type the command: mods "Who are you?"
  3. See the reponse from the AI (I'm using Google Gemini 2.5 Pro, but other models from Google also happens)
  4. See error

Expected behavior

The application should save the conversation on the cache

Additional context

The application even create the folder '${HOME}/.local/share/mods' and file '${HOME}/.local/share/mods/conversations/mods.db', if missing! If I run with the flag '--no-cache', the error doesn't apperas!

Thanks

Dominiquini avatar Sep 04 '25 04:09 Dominiquini

I had to revert back to mods 1.7.1 because that's the last version my conversations were saved. Raised plenty of issues about this and no update, till I gave up. I wish they could do what they did in that version

TPhakisi avatar Sep 04 '25 12:09 TPhakisi

Seeing the same thing over here.

   ERROR  There was a problem writing 1b7730e9af75f588dde4aabc6094604f4b80515a to the cache. Use  --no-cache  /  NO_CACHE  to disable it.

  Save: constraint failed: CHECK constraint failed: title <> '' (275)

Datamance avatar Sep 25 '25 17:09 Datamance

Same for me. Kinda critical bug.

cardil avatar Oct 03 '25 13:10 cardil