Closed floli closed 1 year ago
And what are the versions of emacsql
and closql
?
I don't think that alone will fix it, but try restarting Emacs anyway.
Versions are
No, a restart hasn't fixed it. Also tried to delete the elpa folder and let everything reinstall using use-package
.
I have exactly the same issue:
(file-missing "Cannot open load file" "No such file or directory" "sqlite3")
From what I understand, the file referenced by forge-database-file
depends on Emacs' sqlite3 to be installed. The Emacs' sqlite3 package depends on the presence of the sqlite database engine to be installed. Installing both fixes the issue for me.
Maybe https://github.com/magit/forge/blob/main/forge-pkg.el should be updated to reference sqlite3?
Manually installing sqlite3
from melpa fixed it for me, too.
The user is now informed that they have to install sqlite3
and the libsqlite3
shared library, iff necessary.
Maybe https://github.com/magit/forge/blob/main/forge-pkg.el should be updated to reference sqlite3?
EmacSQL now support multiple backends. The new backend that uses the new built-in support in Emacs 29 is preferred. Only if that cannot be used (because an older release is used or Emacs has been compiled with --without-sqlite3
), should the new module backend be used.
emacsql
should not depend on sqlite3
because it might not be required. And if it is not required, but we try to build it anyway and fail, then that is a needless failure.
More about the new backends and upcoming release: https://github.com/magit/emacsql/issues/113.
Thank you so much @tarsius for:
Forge gives that error message for any command I execute:
Cannot open load file: Datei oder Verzeichnis nicht gefunden, sqlite3
.On M-x shell inside emacs:
Thanks!
Backtrace