[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Bug: babel can't locate psql [8.2.10 (release_8.2.10 @ /Applicat
From: |
Thomas S. Dye |
Subject: |
Re: [O] Bug: babel can't locate psql [8.2.10 (release_8.2.10 @ /Applications/Emacs.app/Contents/Resources/lisp/org/)] |
Date: |
Mon, 10 Oct 2016 07:28:41 -1000 |
User-agent: |
mu4e 0.9.17; emacs 24.5.1 |
Aloha Barbara,
Barbara Shirtcliff writes:
> Remember to cover the basics, that is, what you expected to happen and
> what in fact did happen. You don't know how to make a good report? See
>
> http://orgmode.org/manual/Feedback.html#Feedback
>
> Your bug report will be posted to the Org-mode mailing list.
> ------------------------------------------------------------------------
>
> Executing a block of psql produces the error: "/bin/bash: psql:
> command not found".
>
> Bash is able to find psql. So is M-: (executable-find "psql"). I
> have a brew-installed psql in the standard brew-installed location for
> my computer, at /usr/local/bin/psql. As far as I can tell, the
> location of psql is hard-coded into ob-sql.el and is not configurable.
>
> The command that ob-sql logs in the *Messages* buffer works in an
> emacs shell session. But that, of course, is not the point.
Perhaps the exec-path-from-shell package would help in this instance?
hth,
Tom
--
Thomas S. Dye
http://www.tsdye.com