From: "Thomas S. Dye" <tsd@tsdye.com>
To: Barbara Shirtcliff <barshirtcliff@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: 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 [thread overview]
Message-ID: <m2lgxw3ygm.fsf@tsdye.com> (raw)
In-Reply-To: <vn77p71szshzhs.fsf@gmail.com>
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
prev parent reply other threads:[~2016-10-10 17:28 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-10-07 16:53 Bug: babel can't locate psql [8.2.10 (release_8.2.10 @ /Applications/Emacs.app/Contents/Resources/lisp/org/)] Barbara Shirtcliff
2016-10-10 17:28 ` Thomas S. Dye [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m2lgxw3ygm.fsf@tsdye.com \
--to=tsd@tsdye.com \
--cc=barshirtcliff@gmail.com \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).