From mboxrd@z Thu Jan 1 00:00:00 1970 From: Neil Jerram Subject: Re: org-babel-execute:go crashes on Mac Date: Thu, 25 Oct 2018 08:49:04 +0100 Message-ID: <99410E52-EB8E-4496-B494-21B26B131AC6@ossau.homelinux.net> References: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="----W199H7SEEY4X6C2XJRXOR2XRTDJYVY" Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:51129) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gFaOG-0002CA-7Z for emacs-orgmode@gnu.org; Thu, 25 Oct 2018 03:49:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gFaOD-0000nB-23 for emacs-orgmode@gnu.org; Thu, 25 Oct 2018 03:49:12 -0400 Received: from ossau.homelinux.net ([18.217.239.99]:55358 helo=ip-172-31-40-63.us-east-2.compute.internal) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gFaOC-0000ld-RW for emacs-orgmode@gnu.org; Thu, 25 Oct 2018 03:49:08 -0400 In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: emacs-orgmode@gnu.org, Mario Martelli Org-mode ------W199H7SEEY4X6C2XJRXOR2XRTDJYVY Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable If you haven't already, I suggest checking that there isn't a difference in= your Go setup, by working out the "go run =2E=2E=2E" command that is being= run below, and running that manually yourself=2E On 25 October 2018 05:28:53 BST, Mario Martelli wrote: >Morning, > >recently I tried to use ob-go and ran immediately into: > >org-babel-execute:go: Invalid function: (results (org-babel-eval >(format "%s run %s \"%s\" %s" org-babel-go-command (mapconcat (quote >identity) (org-babel-go-as-list flags) " ") >(org-babel-process-file-name tmp-src-file) (mapconcat (function (lambda >(a) (format "%S" (if (symbolp a) (let* (=2E=2E=2E =2E=2E=2E) (if =2E=2E= =2E =2E=2E=2E out)) >a)))) (org-babel-go-as-list args) " ")) "")) > >The strange thing is, that this only happens on my Mac=2E On my CentOS >machine it works like a charm=2E Both machines run on Emacs 26=2E1b1 and >org mode 9=2E1=2E9-65-g5e454=2E All packages are from Melpa and the machi= nes >share the same =2Eemacs=2E > >I have no idea how to get to the bottom of this phenomenon=2E Any hint or >help would be appreciated very much=2E > >Thank you >Mario > >=E2=80=94=20 ------W199H7SEEY4X6C2XJRXOR2XRTDJYVY Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable If you haven't already, I = suggest checking that there isn't a difference in your Go setup, by working= out the "go run =2E=2E=2E" command that is being run below, and running th= at manually yourself=2E


On 25 October= 2018 05:28:53 BST, Mario Martelli <tlmtr@schnuddelhuddel=2Ede> wrote= :
Morning,

recently I tr= ied to use ob-go and ran immediately into:

org-babel-execute:go: Invalid function: (results (org-babel-eval (fo= rmat "%s run %s \"%s\" %s" org-babel-go-command (mapconcat (quote identity)= (org-babel-go-as-list flags) " ") (org-babel-process-file-name tmp-src-fil= e) (mapconcat (function (lambda (a) (format "%S" (if (symbolp a) (let* (=2E= =2E=2E =2E=2E=2E) (if =2E=2E=2E =2E=2E=2E out)) a)))) (org-babel-go-as-list= args) " ")) ""))

The strange thing is, that this only happens on my Mac=2E On = my CentOS machine it works like a charm=2E Both machines run on Emacs 26=2E= 1b1 and org mode 9=2E1=2E9-65-g5e454=2E All packages are from Melpa and the= machines share the same =2Eemacs=2E

I have no idea how to get to the bottom of this phenome= non=2E Any hint or help would be appreciated very much=2E

Thank you
M= ario

=
=E2=80=94 



------W199H7SEEY4X6C2XJRXOR2XRTDJYVY--