org-roam / org-roam-bibtex

Org Roam integration with bibliography management software
GNU General Public License v3.0
568 stars 47 forks source link

no such table: nodes #203

Closed pawel-domanski closed 3 years ago

pawel-domanski commented 3 years ago

Describe the bug After start, I have that error

EmacSQL had an unhandled condition: "near line 9: no such table: nodes"

To Reproduce Steps to reproduce the behavior:

  1. Start EMacs Expected behavior A clear and concise description of what you expected to happen.

ORB configuration

  1. How the package is loaded. (package! org-roam-bibtex :recipe (:host github :repo "org-roam/org-roam-bibtex"))

Environment (please complete the following information):

myshevchuk commented 3 years ago

Hi, it seems that you are still using Org-roam v1. Could you please provide the output of calling the org-roam-version command?

pawel-domanski commented 3 years ago

1.2.3

myshevchuk commented 3 years ago

The master branch version of Org-roam-bibtex (v0.6+) works only with Org-roam v2. You need to upgrade Org-roam to version 2 or if you want to continue using Org-roam v1 then you should use Org-roam-bibtex v0.5.

To upgrade Org-roam to v2 in Doom simply use the +roam2 flag instead of +roam. Then the usual doom sync && doom upgrade. No changes to ORB are required. Note that the structure of templates is different, so be sure to read the README and the Manual.

To continue using Org-roam v1 and downgrade ORB to v0.5:

(package! org-roam-bibtex
  :recipe (:host github :repo "org-roam/org-roam-bibtex" :branch "orb-v0.5"))

then quit Emacs, remove $doomdir/.local/straight/repos/org-roam-bibtex and $doomdir/.local/straight/build-27.2/org-roam-bibtex, and run doom sync && doom upgrade