I recently upgraded to the latest version of Doom, this issue did not appear before for whatever strange reason. Disabling the advice makes org-roam work normally. The advice is strange since it uses/mentions deprecated functions, like emacsql-sqlite-ensure-binary (it seems deprecated?) and org-roam-teardown and org-roam-db-sync and org-roam-setup.
I confirm that...
[x] I have searched the issue tracker, documentation, FAQ, Discourse, and Google, in case this issue has already been reported/resolved.
[x] I have read "How to Debug Issues", and will use it to provide as much information about this issue as possible.
[x] The issue can be reproduced on the latest available commit of Doom.
[x] The issue can be reproduced on a stable release of Emacs, such as 27, 28, or 29. (Unstable versions end in .50, .60, or .9x)
Expected behavior
org-roam-node-find
works.Current behavior
When I call
org-roam-node-find
, I instead get an error message thatemacsql-sqlite-ensure-binary
is not a function. That happens because of this advice: https://github.com/doomemacs/doomemacs/blob/7bc39f2c1402794e76ea10b781dfe586fed7253b/modules/lang/org/contrib/roam2.el#L53-L71.I recently upgraded to the latest version of Doom, this issue did not appear before for whatever strange reason. Disabling the advice makes org-roam work normally. The advice is strange since it uses/mentions deprecated functions, like
emacsql-sqlite-ensure-binary
(it seems deprecated?) andorg-roam-teardown
andorg-roam-db-sync
andorg-roam-setup
.Steps to reproduce
Call
org-roam-node-find
.System Information
https://gist.github.com/abgruszecki/36dd4496f9cc5c9d577600eda50caef0