What happened?
I added the +roam2
flag to the org
line in my init.el
. The line looked like this:
(org +roam2)
Upon running doom sync
, an error occurred in the process of cloning the org-roam repositories. The last thirty-ish lines of the error log:
$ cd /home/user/.config/emacs/.local/straight/repos/org-roam/
$ git remote show origin
* remote origin
Fetch URL: https://github.com/org-roam/org-roam.git
Push URL: https://github.com/org-roam/org-roam.git
HEAD branch: main
Remote branches:
feat/parent-dir new (next fetch will store in remotes/origin)
feat/unify-capture-templates new (next fetch will store in remotes/origin)
filenotify new (next fetch will store in remotes/origin)
fix/1763 new (next fetch will store in remotes/origin)
fix/2039 new (next fetch will store in remotes/origin)
flow new (next fetch will store in remotes/origin)
gh-pages new (next fetch will store in remotes/origin)
main new (next fetch will store in remotes/origin)
migration/err new (next fetch will store in remotes/origin)
nobiot new (next fetch will store in remotes/origin)
v2-next new (next fetch will store in remotes/origin)
[Return code: 0]
$ cd /home/user/.config/emacs/.local/straight/repos/org-roam/
$ git branch -m main
error: refname refs/heads/master not found
fatal: Branch rename failed
[Return code: 128]
$ cd /home/user/.config/emacs/.local/straight/repos/org-roam/
$ git fetch origin 74422df546a515bc984c2f3d3a681c09d6f43916 --depth 1 --no-tags
error: RPC failed; curl 56 GnuTLS recv error (-110): The TLS connection was non-properly terminated.
[Return code: 128]
$ cd /home/user/.config/emacs/.local/straight/repos/
$ git clone --origin origin --no-checkout https\://github.com/org-roam/org-roam.git /home/user/.config/emacs/.local/straight/repos/org-roam/ --no-single-branch
Cloning into '/home/user/.config/emacs/.local/straight/repos/org-roam'...
error: RPC failed; curl 56 GnuTLS recv error (-110): The TLS connection was non-properly terminated.
[Return code: 128]
$ cd /home/user/.config/emacs/.local/straight/repos/org-roam/
$ git branch -r
[File error while Setting current directory]
This only happened with the +roam2
flag. Without the flag (just org
) there were no issues and Doom Emacs, with org, worked as expected. I then deleted my Doom Emacs, and on vanilla Emacs installed org-roam using Melpa. It installed with no issues and functioned as expected.
I then re-installed Doom Emacs and added org-roam
as a package in packages.el
. The line looked like this:
(package! org-roam)
Then upon running doom sync
I encountered a similar error as the first, last portion of the error log:
$ cd /home/user/.config/emacs/.local/straight/repos/emacsmirror-mirror/
$ git rev-parse HEAD
731a414fcd10f69abd2eb095ed5ad59cf6abb8a7
[Return code: 0]
$ cd /home/user/.config/emacs/.local/straight/repos/
$ git clone --origin origin --no-checkout https\://github.com/org-roam/org-roam.git /home/user/.config/emacs/.local/straight/repos/org-roam/ --depth 1 --single-branch --no-tags
Cloning into '/home/user/.config/emacs/.local/straight/repos/org-roam'...
error: RPC failed; curl 56 GnuTLS recv error (-110): The TLS connection was non-properly terminated.
[Return code: 128]
$ cd /home/user/.config/emacs/.local/straight/repos/
$ git clone --origin origin --no-checkout https\://github.com/org-roam/org-roam.git /home/user/.config/emacs/.local/straight/repos/org-roam/ --no-single-branch
Cloning into '/home/user/.config/emacs/.local/straight/repos/org-roam'...
error: RPC failed; curl 56 GnuTLS recv error (-110): The TLS connection was non-properly terminated.
[Return code: 128]
$ cd /home/user/.config/emacs/.local/straight/repos/org-roam/
$ git branch -r
[File error while Setting current directory]
What did you expect to happen?
I expected the doom sync
to run without errors and for org-roam to function within Doom Emacs normally.
Steps to reproduce
- Add
+roam2
flag to theorg
line ininit.el
- Run
doom sync
System information
Loading data dump...