The Gram Code Editor - 2026-04-05


  1. nicoco

    Can I delete "cached opened tabs" for a project? I'm hitting a bug where clicking or closing a specific tab crashes gram. And that tab is always re-opened when I re-open that project 😬

  2. nicoco

    I managed to remove the incriminating row in ~/.local/share/gram/db/0-stable/db.sqlite

  3. krig

    oh wow, that’s not great. Did you see which tab was causing it? Anything special about it?

  4. krig

    Could add a command line flag to clear the cache

  5. krig

    ah I see you got a trace, great

  6. nicoco

    I got a trace but should have backed up the DB maybe, before deleting that row? something was weird about it, it made sqlitebrowser crash before I managed to delete it

  7. krig

    hmm. Could be some threading issue, and it corrupted the db

  8. nicoco

    Well I relaunched sqlitebrowser and could delete the row on the second attempt! Since gram properly detected that it was "hanging" and wrote that trace, maybe there could be an option to "clear everything related to that project in the DB" when this happens. Just an idea.

  9. krig

    well, ideally it would be nice to find and fix the bug. But yeah some way to recover from a corrupted db would be good to have