From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id eP/gFYroL2DRJwAA0tVLHw (envelope-from ) for ; Fri, 19 Feb 2021 16:34:18 +0000 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id UJiwEYroL2DxSQAA1q6Kng (envelope-from ) for ; Fri, 19 Feb 2021 16:34:18 +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 979BC15C8E for ; Fri, 19 Feb 2021 17:34:17 +0100 (CET) Received: from localhost ([::1]:60372 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lD8jQ-0004nV-CM for larch@yhetil.org; Fri, 19 Feb 2021 11:34:16 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:59094) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lD8gh-0004ky-0z for emacs-orgmode@gnu.org; Fri, 19 Feb 2021 11:31:35 -0500 Received: from forward101p.mail.yandex.net ([2a02:6b8:0:1472:2741:0:8b7:101]:49808) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lD8gc-000631-1k for emacs-orgmode@gnu.org; Fri, 19 Feb 2021 11:31:26 -0500 Received: from sas1-7f48512e8f51.qloud-c.yandex.net (sas1-7f48512e8f51.qloud-c.yandex.net [IPv6:2a02:6b8:c14:578b:0:640:7f48:512e]) by forward101p.mail.yandex.net (Yandex) with ESMTP id B67BC3283841 for ; Fri, 19 Feb 2021 19:31:14 +0300 (MSK) Received: from sas2-e7f6fb703652.qloud-c.yandex.net (sas2-e7f6fb703652.qloud-c.yandex.net [2a02:6b8:c14:4fa6:0:640:e7f6:fb70]) by sas1-7f48512e8f51.qloud-c.yandex.net (mxback/Yandex) with ESMTP id L1AcTC5bfg-VEHiExlT; Fri, 19 Feb 2021 19:31:14 +0300 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.com; s=mail; t=1613752274; bh=T+559qqnho7SRipCXSZe6xY5Wb00+o5eYAe+XpV7CDQ=; h=In-Reply-To:Subject:To:From:Message-ID:Cc:Date:References; b=XZiHgNl9nusY0rvdnsPV9CVAMsOcrcqjLeLqFj8EUCy3qZX5qNXgTuE/AKDy99bly N1n+Dl9cd5uUZkxy4QEviY9NBOI8fMG/mr3F2tbC0dHU1aNJ4XXvIEYMLsJTVbqBqB 3iJgT05zrHySVAFTNJtWSnsgoO2nCqi9p6WwI2/Y= Received: by sas2-e7f6fb703652.qloud-c.yandex.net (smtp/Yandex) with ESMTPSA id 94kchMAjba-VDJmsxSK; Fri, 19 Feb 2021 19:31:13 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client certificate not present) From: Colin Baxter To: emacs-orgmode@gnu.org Cc: Subject: Re: wrong-type-argument stringp nil References: <87blcgkuzv.fsf@yandex.com> <875z2oukqu.fsf@ucl.ac.uk> X-Face: BHjiJOg/Qmj'BQgsAKL@])L)e62P)C"Y=6T Date: Fri, 19 Feb 2021 16:31:12 +0000 In-Reply-To: <875z2oukqu.fsf@ucl.ac.uk> (Eric S. Fraga's message of "Fri, 19 Feb 2021 15:42:49 +0000") Message-ID: <87k0r4aujz.fsf@yandex.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) Face: iVBORw0KGgoAAAANSUhEUgAAAGQAAAAeBAMAAAAodabAAAAAB3RJTUUH1wQdAAY04/L8hgAA AAlwSFlzAAAewQAAHsEBw2lUUwAAAARnQU1BAACxjwv8YQUAAAASUExURc7OzpwAAAAAAP////8A AGNj/2aqqTQAAAA8SURBVHjaYzA2NnEBAmdj01D8wNgYpM7F2JiBgYFREAgEGJiU8AMGBpA6QaCG UVtGbRm1ZdSWUVsGjS0Aq20lJnMawnkAAAAASUVORK5CYII= MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2a02:6b8:0:1472:2741:0:8b7:101; envelope-from=m43cap@yandex.com; helo=forward101p.mail.yandex.net X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.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_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, 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.07 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=yandex.com header.s=mail header.b=XZiHgNl9; dmarc=pass (policy=none) header.from=yandex.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: 979BC15C8E X-Spam-Score: -3.07 X-Migadu-Scanner: scn1.migadu.com X-TUID: BLHZT9SajbdM Dear Eric, >>>>> Eric S Fraga writes: > On Friday, 19 Feb 2021 at 14:11, Colin Baxter wrote: >> I getting the Lisp error: (wrong-type-argument stringp nil) when >> I 'C-c C-c' the babel gnuplot source code "poynting", even though >> the pdf graph is produced correctly. Any help at debugging would >> be much appreciated. > Works fine for me. No error. I initially I thought maybe you > needed a horizontal line dividing the headings from the numbers > but works fine without. > What version of org are you using? > You could "M-x toggle-debug-on-error RET" to see where the error > happens? Found the error! In my ~/.emacs, I have a defun #+begin_src elisp (defun cb/display-inline-images () (condition-cl-case nil (org-display-inline-images) (error nil))) #+end_src Changing the 'condition-cl-case' to 'condition-case' removed the error. Interestingly, debug on error using emacs-27.1 configured for the lucid pointed explicitly to the defun, whereas emacs-27.1 configured for gtk3 didn't! Any idea why that should be? Best wishes, Colin.