From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: symbol's value as vatiable is void:: result-params Date: Tue, 21 Jun 2016 13:56:37 +0200 Message-ID: <87y45yah6y.fsf@saiph.selenimh> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49306) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bFKIS-00079l-U8 for emacs-orgmode@gnu.org; Tue, 21 Jun 2016 07:56:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bFKIO-0001mf-Ot for emacs-orgmode@gnu.org; Tue, 21 Jun 2016 07:56:47 -0400 Received: from relay4-d.mail.gandi.net ([217.70.183.196]:40293) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bFKIO-0001mT-Hm for emacs-orgmode@gnu.org; Tue, 21 Jun 2016 07:56:44 -0400 In-Reply-To: (Charles Millar's message of "Mon, 20 Jun 2016 17:11:15 -0400") 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: Charles Millar Cc: "emacs-orgmode@gnu.org" Hello, Charles Millar writes: > When I evaluate the following the above error results (this source blosk > and all others that are similar evaluated successfully a few days ago) > > #+NAME: SCHEDAP > #+begin_src rec :data foo.rec :type Finance :fields > AccountDate,Description,AccountAmount :results silent > (File = 'RevTrust' && AccountSchedule = 'A') > #+end_src > > degug on error - > > Debugger entered--Lisp error: (void-variable result-params) This is a bug in "ob-rec.el" from Recutils package. I switched Babel evaluation (ob-core.el) to lexical binding recently, and "ob-rec.el" still uses dynamic binding (probably unwillingly in that case) for `result-params'. A trivial fix could be to add the binding (result-params (cdr (assq :result-params params))) in `org-babel-execute:rec'. Since ob-rec.el is not included in Org per se, I cannot do much more here. I suggest to report it upstream. Thank you. Regards, -- Nicolas Goaziou