From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id MFh3KCYRGGDNewAA0tVLHw (envelope-from ) for ; Mon, 01 Feb 2021 14:33:10 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id WIERJCYRGGB2YQAAbx9fmQ (envelope-from ) for ; Mon, 01 Feb 2021 14:33:10 +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 04A32940276 for ; Mon, 1 Feb 2021 14:33:10 +0000 (UTC) Received: from localhost ([::1]:56952 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l6aGL-0000eL-0V for larch@yhetil.org; Mon, 01 Feb 2021 09:33:09 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:55044) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l6aFe-0000cp-Ba for emacs-orgmode@gnu.org; Mon, 01 Feb 2021 09:32:26 -0500 Received: from ciao.gmane.io ([116.202.254.214]:35110) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l6aFb-0006V0-Ro for emacs-orgmode@gnu.org; Mon, 01 Feb 2021 09:32:26 -0500 Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1l6aFa-00098E-ER for emacs-orgmode@gnu.org; Mon, 01 Feb 2021 15:32:22 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: emacs-orgmode@gnu.org From: "Loris Bennett" Subject: Re: Eval R-block: wrong-type-argument stringp nil Date: Mon, 01 Feb 2021 15:32:17 +0100 Message-ID: <87eehz6eq6.fsf@hornfels.zedat.fu-berlin.de> References: <87lfc8qduj.fsf@hornfels.zedat.fu-berlin.de> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) Cancel-Lock: sha1:DKQUIPuN7cu18oE95WaOLAjJdyY= Received-SPF: pass client-ip=116.202.254.214; envelope-from=geo-emacs-orgmode@m.gmane-mx.org; helo=ciao.gmane.io X-Spam_score_int: -15 X-Spam_score: -1.6 X-Spam_bar: - X-Spam_report: (-1.6 / 5.0 requ) BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.25, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no 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: 0.64 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; 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: 04A32940276 X-Spam-Score: 0.64 X-Migadu-Scanner: scn1.migadu.com X-TUID: 94Ph9Bvn+o8N "Loris Bennett" writes: > Hi, > > I have just updated to 9.4.4-16-g0abd4a-elpa (and have patched ox.el with > Eric Abrahamsen's patch available here at > https://lists.gnu.org/archive/html/emacs-orgmode/2020-08/msg00039.html, > but I don't think that that is relevant to the problem I am experiencing). > > I have an R block I evaluate at the beginning of each month. Today I got > the following error:=20 > > Debugger entered--Lisp error: (wrong-type-argument stringp nil) > file-directory-p(nil) > byte-code("\302\303\304\305\306\307\310\311\310\312&\011\210\302\313\= 304\314\306\303\315\316&\007\210\302\317\304\320\306\303\315\316&\007\210\3= 02\321\304\322\306\303\315\316&\007\210\302\323\304\324\306\303\315\316&\00= 7\210\302\325\304\326\306\303\315\316&\007\210\302\327\304\330\306\303\315\= 316&\007\210\302\331\304\332\306\327\315\316&\007\210\302\333\304\334\306\3= 27\315\316&\007\210\302\335\304\336\306\303\315\337&\007\210\302\340\304\34= 1\306\303\315\316&\007\210\302\342\304\343\306\303\306\344\306\345\315\316\= 306\346&\015\210\302\345\304\347\306\303\315\316&\007\210\302\350\304\351\3= 06\303\306\352\315\316&\011\210\353\300\354\355\356DD\357\306\303\360\361\3= 62\363&\011\210\353\301\354\355\364DD\365\306\303\360\361\362\366&\011\210\= 367\370\371\010!\"\210\367\370\371\372\373\010\"!\"\210\374\011!\204\350\0\= 375\303\376\377\011\"\201@\0#\210\353\201A\0\354\355\201B\0\ DD\201C\0\306\= 303\360\201D\0&\007\210\353\201E\0\354\355\201F\0\ DD\201G\0\306\303\360\20= 1D\0&\007\210\353\201H\0\354\355\201I\0\ DD\201J\0\306\303\360\201D\0\362\2= 01K\0&\011\210\353\201L\0\354\355\201M\0\ DD\201N\0\306\303\360\201O\0\362\= 201P\0&\011\210\353\201Q\0\354\355\201R\0\ DD\201S\0\306\303\360\201T\0&\00= 7\207" [ess-lisp-directory ess-etc-directory custom-declare-group ess nil "= ESS: Emacs Speaks Statistics." :group languages :link (info-link "(ESS)") (= url-link "https://ess.r-project.org/") ess-edit "ESS: editing behavior, inc= luding comments/indentation." :prefix "ess-" ess-proc "ESS: process control= ." ess-command "ESS: Commands for various things." ess-help "ESS: help func= tions." ess-hooks "ESS: hooks for customization." ess-S "ESS: S Languages."= ess-SPLUS "ESS: S-PLUS Dialect of S." ess-R "ESS: R Dialect of S." ess-Jul= ia "ESS: Julia." "julia-" ess-sas "ESS: SAS." ess-roxy "Mode for editing in= -code Roxygen documentation." convenience ess-extras tools "Extra utilities= for ESS" ess-faces "Faces and face options for ESS modes." faces custom-de= clare-variable funcall function #f(compiled-function () #) "Directory containing ess-site.el(c) and other ESS Lisp files." :type d= irectory :package-version (ess . "19.04") #f(compiled-function () #) "Location of the ESS etc/ directory.\nThe ESS etc directory s= tores various auxiliary files that are useful\nfor ESS, such as icons." (es= s . "19.04") add-to-list load-path directory-file-name expand-file-name "ob= solete" file-directory-p display-warning format "Could not find directory `= ess-etc-directory': %s" :error ess-imenu-use-p #f(compiled-function () #) "Non-nil means use imenu facility.\nThis value can be ov= erridden by mode-specific variables, such\nas `ess-imenu-use-S'." boolean e= ss-imenu-use-S #f(compiled-function () #) "Non-nil mean= s include an Imenu menu item in S buffers." ess-auto-width-visible #f(compi= led-function () #) "When non-nil, echo width setting in= the inferior buffer.\nSee `ess-auto-width'. Be warned that ESS can set the= width a\nlot." (ess . "19.04") ess-auto-width #f(compiled-function () #) "When non-nil, set the width option when the window conf= iguration changes.\nWhen 'frame, set the width to the frame width. When 'wi= ndow, set\nthe width to the window width. If an integer, set the width to\n= that integer. If it's a negative integer, set the width to the\nwindow's wi= dth minus that number. Anything else is treated as\n'window." (choice (cons= t :tag "Do nothing" :value nil) (const :tag "Frame width" :value frame) (co= nst :tag "Window width" :value window) (integer :tag "Integer value")) (ess= . "19.04") ess-handy-commands #f(compiled-function () #) "An alist of custom ESS commands.\nThese are available for call by funct= ion `ess-handy-commands' and\n`ess-smart-comma' function." alist] 14) > require(ess-custom) > byte-code("\300\301!\210\300\302!\210\300\303!\210\300\304!\207" [req= uire cl-lib comint project ess-custom] 2) > require(ess-utils) > byte-code("\300\301!\210\300\302!\207" [require ess-utils cl-generic]= 2) > require(ess) > byte-code("\300\301!\210\300\302!\210\303\304\305\306\307DD\310\311\3= 12\313\314&\007\207" [require ess ess-inf custom-declare-variable ess-mode-= hook funcall function #f(compiled-function () #) "Hook = for customizing ESS each time it is entered." :group ess-hooks :type hook] = 8) > require(ess-mode) > byte-code("\301\302!\210\301\303!\210\301\304!\210\301\305!\210\301\3= 06!\210\301\307!\210\301\310!\210\301\311!\210\301\312!\210\301\313!\210\30= 1\314!\210\010\315Y\2036\0\301\316!\210\317\320\321\322\323\324\325\326\327= \330&\011\207" [emacs-major-version require cl-lib compile ess-mode ess-hel= p ess-s-lang ess-roxy ess-r-completion ess-r-syntax ess-r-package ess-trns = ess-r-xref 26 ess-r-flymake custom-declare-variable ess-r-mode-hook nil "Ho= ok run when entering `ess-r-mode'." :options (electric-layout-local-mode) := type hook :group ess-R] 10) > R-mode() > org-eldoc-get-mode-local-documentation-function("R") > org-eldoc-documentation-function() > apply(org-eldoc-documentation-function nil) > #f(advice-wrapper :before-until #f(compiled-function (&rest args) #) org-eldoc-documentation-function)() > eldoc-print-current-symbol-info() > #f(compiled-function () #)() > apply(#f(compiled-function () #) nil) > timer-event-handler([t 0 0 500000 nil #f(compiled-function () #) nil idle 0]) > > Any ideas? Restarting Emacs resolved the problem. --=20 This signature is currently under construction.