emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* org roam database not available
@ 2022-10-28 13:16 Fraga, Eric
  2022-10-28 13:32 ` Ihor Radchenko
  0 siblings, 1 reply; 3+ messages in thread
From: Fraga, Eric @ 2022-10-28 13:16 UTC (permalink / raw)
  To: Emacs Org mode mailing list

Hello all,

anybody else experiencing any problem with org roam, specifically
getting the following error message?

,----
| emacsql-sqlite-ensure-binary: No EmacSQL SQLite binary available, aborting
`----

I have re-installed emacs-sqlite from MELPA but it doesn't build the
database executable.  What am I missing?

Thank you,
eric

-- 
: Eric S Fraga, with org release_9.5.5-1028-gcd835d in Emacs 29.0.50

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: org roam database not available
  2022-10-28 13:16 org roam database not available Fraga, Eric
@ 2022-10-28 13:32 ` Ihor Radchenko
  2022-10-28 14:09   ` Fraga, Eric
  0 siblings, 1 reply; 3+ messages in thread
From: Ihor Radchenko @ 2022-10-28 13:32 UTC (permalink / raw)
  To: Fraga, Eric; +Cc: Emacs Org mode mailing list

"Fraga, Eric" <e.fraga@ucl.ac.uk> writes:

> anybody else experiencing any problem with org roam, specifically
> getting the following error message?
>
> ,----
> | emacsql-sqlite-ensure-binary: No EmacSQL SQLite binary available, aborting
> `----
>
> I have re-installed emacs-sqlite from MELPA but it doesn't build the
> database executable.  What am I missing?

Looking into the code, I'd expect such message when SQLite compilation
fails. Try to run (emacsql-sqlite-compile 2) directly. The errors should
become visible then.

-- 
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: org roam database not available
  2022-10-28 13:32 ` Ihor Radchenko
@ 2022-10-28 14:09   ` Fraga, Eric
  0 siblings, 0 replies; 3+ messages in thread
From: Fraga, Eric @ 2022-10-28 14:09 UTC (permalink / raw)
  To: Ihor Radchenko; +Cc: Emacs Org mode mailing list

On Friday, 28 Oct 2022 at 13:32, Ihor Radchenko wrote:
> Looking into the code, I'd expect such message when SQLite compilation
> fails. Try to run (emacsql-sqlite-compile 2) directly. The errors should
> become visible then.

Thank you.  This was very helpful.

The backtrace on failure told me that updating a package on MELPA
doesn't necessarily re-initialise the package and so some variables
point to the wrong place, emacsql-sqlite-data-root in particular in this
case.  I had to re-start Emacs, something I'm loathe to do very
often; okay, I guess I didn't actually have to re-start as I could
have re-compiled the files in the emacsql-sqlite package... ;-)

Thanks again,
eric

-- 
: Eric S Fraga, with org release_9.5.5-1028-gcd835d in Emacs 29.0.50

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-10-28 14:11 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-28 13:16 org roam database not available Fraga, Eric
2022-10-28 13:32 ` Ihor Radchenko
2022-10-28 14:09   ` Fraga, Eric

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).