Closed hexmode closed 1 year ago
I have a similar problem with emacsql (with org-roam) on emacs 30.0.50 built on master branch: any operations involving emacsql failed with "Process emacsql-sqlite not running: finished":
;; in the *Message* buffer
Initializing org-roam database...
Process emacsql-sqlite not running: finished
Process emacsql-sqlite not running: finished
Process emacsql-sqlite not running: finished
Process emacsql-sqlite not running: finished
Login...done
Process emacsql-sqlite not running: finished
Process emacsql-sqlite not running: finished
It seems that emacsql doesn't work well with the most recent master branch emacs. We should bisect which upstream change caused this then fix this.
My emacs version:
GNU Emacs 30.0.50
Development version 70477be3e38d on master branch; build date 2023-01-16.
emacsql version in use:
commit 6b2e65bdf785364cf7c34c31fea5812e1e58c657 (HEAD -> main, replaced, origin/master, origin/main, master)
Author: Jonas Bernoulli <jonas@bernoul.li>
Date: Sun Nov 27 22:46:37 2022 +0100
Use new version string format for unreleased revisions
"N-git" < "N"; but "N.50-git" > "N".
I think this emacs commit caused this: https://git.savannah.gnu.org/cgit/emacs.git/commit/src/coding.c?h=bb679244152dddd9949ca065aa6617457f7a7144&id=cfd2b3504ab5de6eb5f3c7a0784cb447883e1326
Bug report on the emacs side: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=60872
Fixed. Also see https://github.com/magit/forge/issues/535#issuecomment-1387734805.
magit-version: Magit v3.3.0-493-g59833692, Git 2.39.0, Emacs 30.0.50, gnu/linux
I have xhprof as a project so I can load it with
C-x p p xhprof RET
. When I do that with a newly compiled emacs I see the message:process emacsql-sqlite no longer connected to pipe; closed it
Using
M-x toggle-debug-on-error RET
and retrying gives me this backtrace:I reported this yesterday as a comment with a minimal
init.el
that can reproduce this but decided it should really be its own bug since @tarsius comment with code modifications don't work for me.