From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id yNleBFPoFWBnCwAA0tVLHw (envelope-from ) for ; Sat, 30 Jan 2021 23:14:27 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id yPUeAFPoFWA1ZQAAB5/wlQ (envelope-from ) for ; Sat, 30 Jan 2021 23:14:27 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 7646294042B for ; Sat, 30 Jan 2021 23:14:26 +0000 (UTC) Received: from localhost ([::1]:56342 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l5zRg-0001Tm-E7 for larch@yhetil.org; Sat, 30 Jan 2021 18:14:24 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:53720) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l5zR1-0001Tc-7z for emacs-orgmode@gnu.org; Sat, 30 Jan 2021 18:13:43 -0500 Received: from mail-qv1-xf29.google.com ([2607:f8b0:4864:20::f29]:45814) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1l5zQz-0005nx-LM for emacs-orgmode@gnu.org; Sat, 30 Jan 2021 18:13:42 -0500 Received: by mail-qv1-xf29.google.com with SMTP id w11so6379570qvz.12 for ; Sat, 30 Jan 2021 15:13:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=user-agent:from:to:subject:date:message-id:mime-version; bh=uQIK5Ato0qb3m3Df/8rwnddnB/jAoSK2xoY/yGGtqFU=; b=ZlexrW1F9D6J9hDcMPvaOljGe7fXJVmUUj5C6zSHfO+ABgowaXZoJWc6nEZQJIYil4 02rnyoskcGD5j7N/X0rVhQpcJ+dmLTG7zu8Vf6R11LGqSTxwahYK2muIXrdS8l/lx8Ha E1aOczzyhIObkXO4RHNDiXXjz/n1K130iFdypRFmzb741TCXk+1TULpACMcF60Qscy0g DxM7mS7Vd8lVJe+acgW+dvjnjMn7VotLahRxVbRZgKp2oddDxHp6rOezTYLXX1SHesjq 1ZThIOOX44xaSqJqk9gm5MHmQAKDwHqB+sc8i/D+WPb6OlZRQQOI0j+ekpEMSYnX64tz ttpw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:user-agent:from:to:subject:date:message-id :mime-version; bh=uQIK5Ato0qb3m3Df/8rwnddnB/jAoSK2xoY/yGGtqFU=; b=lxvLu/81+SPG2Lvs+PIHRcORn/J8ADd+7OJO1w8yHhOfxuJK6kLH4scUJqCE0DLyyY l7lgDG6csRTrm/3a58IobsFzLluKsiT7lds/9EUjtsZ8vw1eeyaC1c2J3aPCLTeXQhW4 QL0q9Cq5/apkyUb5kC1wmSGCx1nRyLb5nTiX75UHgWWqSJgbqW2GAoW3b4jA4erFG4Xz 9FoPzDPd9X7iamQ95NtCHKiaK7W2YbKp8NkfjZSUbWnP3VT81r8KEmzxJtY5g+/gEiJt SevHK0dzSXLQI+STVaRPX8A91Nf2VzsaJAeFhMJycxjHVuRiSa4ScifH3eijtbWj0kLo 3e+A== X-Gm-Message-State: AOAM533EMjA9eS+eu559+QE3aJc62O2r6PvpJEsE1wu1l0AOXkLPwg0x a8ziqjmw8dKbyEIjCDp5wF203F67xCE= X-Google-Smtp-Source: ABdhPJzJcH0T0sGvVE6EtTbiYfOEa3NJiuQzQcej9BRmtxtGHotuEMg3jhImdrsXx9UKh6Wp87akWg== X-Received: by 2002:a05:6214:c27:: with SMTP id a7mr9648690qvd.54.1612048420395; Sat, 30 Jan 2021 15:13:40 -0800 (PST) Received: from localhost ([190.239.232.181]) by smtp.gmail.com with ESMTPSA id q70sm9856626qka.107.2021.01.30.15.13.39 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 30 Jan 2021 15:13:39 -0800 (PST) User-agent: mu4e 1.4.14; emacs 27.1 From: Rodrigo Morales To: emacs-orgmode@gnu.org Subject: [bug] Exporting results in "Wrong type argument" when "+CALL" is used Date: Sat, 30 Jan 2021 18:10:23 -0500 Message-ID: <87bld6yqao.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::f29; envelope-from=moralesrodrigo1100@gmail.com; helo=mail-qv1-xf29.google.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -3.05 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=ZlexrW1F; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Queue-Id: 7646294042B X-Spam-Score: -3.05 X-Migadu-Scanner: scn0.migadu.com X-TUID: 5Kezv8pzX+SQ As the subject states, executing some exporting commands (see list in step 2 below) results in an error when there is at least one "#+CALL" statement. The backtrace is shown below. #+begin_example Debugger entered--Lisp error: (wrong-type-argument consp nil) org-babel-exp-code(nil lob) org-babel-exp-do-export(nil lob) org-babel-exp-process-buffer() org-export-as(md nil nil nil nil) org-export-to-buffer(md "*Org MD Export*" nil nil nil nil nil #f(compiled-function () #)) org-md-export-as-markdown(nil nil nil) (lambda (a s v b) (org-md-export-as-markdown a s v))(nil nil nil nil) org-export-dispatch(nil) funcall-interactively(org-export-dispatch nil) call-interactively(org-export-dispatch nil nil) command-execute(org-export-dispatch) #+end_example You can reproduce this bug by 1. Open the file =main.org= by loading the =init.el= file (see attachments). You can accomplish this by executing the following command. #+begin_src sh emacs -Q -l ~/Downloads/init.el ~/Downloads/main.org #+end_src 2. Execute any of the following + =org-md-export-to-markdown=. + =org-latex-export-as-latex=. + =org-html-export-as-html=. 3. The error might occur. I'm currently using GNU Emacs 27.1 -- Greetings, Rodrigo Morales.