Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dependencies are broken! Quick fix, please update release! #2415

Open
daninus14 opened this issue Feb 4, 2024 · 2 comments
Open

Dependencies are broken! Quick fix, please update release! #2415

daninus14 opened this issue Feb 4, 2024 · 2 comments

Comments

@daninus14
Copy link

Description

org-mode is broken for any new installs. Tried adding it for about 3 days to no avail.

org-roam depends on emacsql-sqlite-builtin which for some reason is not pulled in the install. Should be specified in the dependencies. The error message in emacs is not helpful: Selecting deleted buffer

Here's the source of the solution: https://org-roam.discourse.group/t/org-roam-fails-with-selecting-deleted-buffer-error/3353/7

Steps to Reproduce

Install org-mode on a fresh emacs.

Solution

add emacsql-sqlite-builtin as a dependency for org-mode

@piotrkwiecinski
Copy link

piotrkwiecinski commented Feb 25, 2024

@daninus14 org-roam already supports emacsql-sqlite-builtin.

You can see it here:
https://www.orgroam.com/manual.html#How-to-cache

You need to add:

(setq org-roam-database-connector 'sqlite-builtin)

If you use use-package you can try:

(use-package org-roam
  :custom
  (org-roam-database-connector 'sqlite-builtin))

Note it's available only in the melpa version not the stable release. The latest stable release is very old.

@daninus14
Copy link
Author

Thank you, I have it working.

The issue was not support, it does support it. The issue is that on installing it doesn't install emacsql-sqlite-builtin by default as a dependency, so a new user installing org roam will not be able to use the software. The error message in emacs is also vague, so it's not clear what the issue is.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants