emacs迁移到新电脑后C-c n f 报错

同样的版本,同样的设置(坚果云同步)为什么迁移到新电脑后就会报错呢 开debug显示了一些错误信息,请问有大佬知道嘛

Debugger entered--Lisp error: (error "Selecting deleted buffer")
  #f(compiled-function (connection) "Return true if the end of the buffer has a properly-formatted prompt." #<bytecode -0x1ede1714cf7e0ed6>)(#<emacsql-sqlite-connection emacsql-sqlite-connection-1ff77cec485e>)
  apply(#f(compiled-function (connection) "Return true if the end of the buffer has a properly-formatted prompt." #<bytecode -0x1ede1714cf7e0ed6>) #<emacsql-sqlite-connection emacsql-sqlite-connection-1ff77cec485e> nil)
  emacsql-waiting-p(#<emacsql-sqlite-connection emacsql-sqlite-connection-1ff77cec485e>)
  #f(compiled-function (connection &optional timeout) "Block until CONNECTION is waiting for further input." #<bytecode 0xa5c624f4e0ebb07>)(#<emacsql-sqlite-connection emacsql-sqlite-connection-1ff77cec485e>)
  apply(#f(compiled-function (connection &optional timeout) "Block until CONNECTION is waiting for further input." #<bytecode 0xa5c624f4e0ebb07>) #<emacsql-sqlite-connection emacsql-sqlite-connection-1ff77cec485e> nil)
  emacsql-wait(#<emacsql-sqlite-connection emacsql-sqlite-connection-1ff77cec485e>)
  #f(compiled-function (connection &rest rest) #<bytecode -0x1aed6ab85a4eb5fe>)(#<emacsql-sqlite-connection emacsql-sqlite-connection-1ff77cec485e> (:file "~/.emacs.d/org-roam.db"))
  apply(#f(compiled-function (connection &rest rest) #<bytecode -0x1aed6ab85a4eb5fe>) (#<emacsql-sqlite-connection emacsql-sqlite-connection-1ff77cec485e> (:file "~/.emacs.d/org-roam.db")))
  #f(compiled-function (&rest args) #<bytecode 0x24e89310fe154b8>)(#<emacsql-sqlite-connection emacsql-sqlite-connection-1ff77cec485e> (:file "~/.emacs.d/org-roam.db"))
  apply(#f(compiled-function (&rest args) #<bytecode 0x24e89310fe154b8>) #<emacsql-sqlite-connection emacsql-sqlite-connection-1ff77cec485e> (:file "~/.emacs.d/org-roam.db"))
  initialize-instance(#<emacsql-sqlite-connection emacsql-sqlite-connection-1ff77cec485e> (:file "~/.emacs.d/org-roam.db"))
  #f(compiled-function (class &rest slots) "Default constructor for CLASS `eieio-default-superclass'.\nSLOTS are the initialization slots used by `initialize-instance'.\nThis static method is called when an object is constructed.\nIt allocates the vector used to represent an EIEIO object, and then\ncalls `initialize-instance' on that object." #<bytecode 0x14a9311a478ff099>)(emacsql-sqlite-connection :file "~/.emacs.d/org-roam.db")
  apply(#f(compiled-function (class &rest slots) "Default constructor for CLASS `eieio-default-superclass'.\nSLOTS are the initialization slots used by `initialize-instance'.\nThis static method is called when an object is constructed.\nIt allocates the vector used to represent an EIEIO object, and then\ncalls `initialize-instance' on that object." #<bytecode 0x14a9311a478ff099>) emacsql-sqlite-connection (:file "~/.emacs.d/org-roam.db"))
  make-instance(emacsql-sqlite-connection :file "~/.emacs.d/org-roam.db")
  emacsql-sqlite("~/.emacs.d/org-roam.db")
  org-roam-db()
  org-roam-db-query("SELECT\n  id,\n  file,\n  filetitle,\n  \"level\",\n  tod...")
  org-roam-node-list()
  org-roam-node-read--completions(nil nil)
  org-roam-node-read(nil nil nil)
  org-roam-node-find()
  funcall-interactively(org-roam-node-find)
  call-interactively(org-roam-node-find nil nil)
  command-execute(org-roam-node-find)

就和它说的一样, Selecting deleted buffer

org-roam db重建错误,把emacs插件都升级下然后再重建试下

配置可保持一致,包重下编译,同时注意环境的不同

我用M-x byte-force-recompile RET重新编译了.emacs.d目录还是不行

升级了一下插件之后 貌似解决啦~感谢