emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Eval R-block: wrong-type-argument stringp nil
@ 2021-02-01 10:31 Loris Bennett
  2021-02-01 14:32 ` Loris Bennett
  0 siblings, 1 reply; 2+ messages in thread
From: Loris Bennett @ 2021-02-01 10:31 UTC (permalink / raw)
  To: Org Mode Mailing List

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: 

  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\302\321\304\322\306\303\315\316&\007\210\302\323\304\324\306\303\315\316&\007\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\327\315\316&\007\210\302\335\304\336\306\303\315\337&\007\210\302\340\304\341\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\306\303\306\352\315\316&\011\210\353\300\354\355\356DD\357\306\303\360\361\362\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\201D\0&\007\210\353\201H\0\354\355\201I\0\ DD\201J\0\306\303\360\201D\0\362\201K\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&\007\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, including comments/indentation." :prefix "ess-" ess-proc "ESS: process control." ess-command "ESS: Commands for various things." ess-help "ESS: help functions." 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-Julia "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-declare-variable funcall function #f(compiled-function () #<bytecode 0x37d14f9>) "Directory containing ess-site.el(c) and other ESS Lisp files." :type directory :package-version (ess . "19.04") #f(compiled-function () #<bytecode 0x37cfcf9>) "Location of the ESS etc/ directory.\nThe ESS etc directory stores various auxiliary files that are useful\nfor ESS, such as icons." (ess . "19.04") add-to-list load-path directory-file-name expand-file-name "obsolete" file-directory-p display-warning format "Could not find directory `ess-etc-directory': %s" :error ess-imenu-use-p #f(compiled-function () #<bytecode 0x37c88f9>) "Non-nil means use imenu facility.\nThis value can be overridden by mode-specific variables, such\nas `ess-imenu-use-S'." boolean ess-imenu-use-S #f(compiled-function () #<bytecode 0x37c84f9>) "Non-nil means include an Imenu menu item in S buffers." ess-auto-width-visible #f(compiled-function () #<bytecode 0x376c945>) "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 () #<bytecode 0x36f492d>) "When non-nil, set the width option when the window configuration changes.\nWhen 'frame, set the width to the frame width. When 'window, set\nthe width to the window width. If an integer, set the width to\nthat integer. If it's a negative integer, set the width to the\nwindow's width minus that number. Anything else is treated as\n'window." (choice (const :tag "Do nothing" :value nil) (const :tag "Frame width" :value frame) (const :tag "Window width" :value window) (integer :tag "Integer value")) (ess . "19.04") ess-handy-commands #f(compiled-function () #<bytecode 0x104cf19>) "An alist of custom ESS commands.\nThese are available for call by function `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" [require 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\312\313\314&\007\207" [require ess ess-inf custom-declare-variable ess-mode-hook funcall function #f(compiled-function () #<bytecode 0x376a8f5>) "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\306!\210\301\307!\210\301\310!\210\301\311!\210\301\312!\210\301\313!\210\301\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-help 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 "Hook 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) #<bytecode 0x20a75ad>) org-eldoc-documentation-function)()
    eldoc-print-current-symbol-info()
    #f(compiled-function () #<bytecode 0x1ffc3f>)()
    apply(#f(compiled-function () #<bytecode 0x1ffc3f>) nil)
    timer-event-handler([t 0 0 500000 nil #f(compiled-function () #<bytecode 0x1ffc3f>) nil idle 0])

Any ideas?

Cheers,

Loris

-- 
This signature is currently under construction.


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Eval R-block: wrong-type-argument stringp nil
  2021-02-01 10:31 Eval R-block: wrong-type-argument stringp nil Loris Bennett
@ 2021-02-01 14:32 ` Loris Bennett
  0 siblings, 0 replies; 2+ messages in thread
From: Loris Bennett @ 2021-02-01 14:32 UTC (permalink / raw)
  To: emacs-orgmode

"Loris Bennett" <loris.bennett@fu-berlin.de> 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: 
>
>   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\302\321\304\322\306\303\315\316&\007\210\302\323\304\324\306\303\315\316&\007\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\327\315\316&\007\210\302\335\304\336\306\303\315\337&\007\210\302\340\304\341\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\306\303\306\352\315\316&\011\210\353\300\354\355\356DD\357\306\303\360\361\362\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\201D\0&\007\210\353\201H\0\354\355\201I\0\ DD\201J\0\306\303\360\201D\0\362\201K\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&\007\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, including comments/indentation." :prefix "ess-" ess-proc "ESS: process control." ess-command "ESS: Commands for various things." ess-help "ESS: help functions." 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-Julia "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-declare-variable funcall function #f(compiled-function () #<bytecode 0x37d14f9>) "Directory containing ess-site.el(c) and other ESS Lisp files." :type directory :package-version (ess . "19.04") #f(compiled-function () #<bytecode 0x37cfcf9>) "Location of the ESS etc/ directory.\nThe ESS etc directory stores various auxiliary files that are useful\nfor ESS, such as icons." (ess . "19.04") add-to-list load-path directory-file-name expand-file-name "obsolete" file-directory-p display-warning format "Could not find directory `ess-etc-directory': %s" :error ess-imenu-use-p #f(compiled-function () #<bytecode 0x37c88f9>) "Non-nil means use imenu facility.\nThis value can be overridden by mode-specific variables, such\nas `ess-imenu-use-S'." boolean ess-imenu-use-S #f(compiled-function () #<bytecode 0x37c84f9>) "Non-nil means include an Imenu menu item in S buffers." ess-auto-width-visible #f(compiled-function () #<bytecode 0x376c945>) "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 () #<bytecode 0x36f492d>) "When non-nil, set the width option when the window configuration changes.\nWhen 'frame, set the width to the frame width. When 'window, set\nthe width to the window width. If an integer, set the width to\nthat integer. If it's a negative integer, set the width to the\nwindow's width minus that number. Anything else is treated as\n'window." (choice (const :tag "Do nothing" :value nil) (const :tag "Frame width" :value frame) (const :tag "Window width" :value window) (integer :tag "Integer value")) (ess . "19.04") ess-handy-commands #f(compiled-function () #<bytecode 0x104cf19>) "An alist of custom ESS commands.\nThese are available for call by function `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" [require 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\312\313\314&\007\207" [require ess ess-inf custom-declare-variable ess-mode-hook funcall function #f(compiled-function () #<bytecode 0x376a8f5>) "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\306!\210\301\307!\210\301\310!\210\301\311!\210\301\312!\210\301\313!\210\301\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-help 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 "Hook 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) #<bytecode 0x20a75ad>) org-eldoc-documentation-function)()
>     eldoc-print-current-symbol-info()
>     #f(compiled-function () #<bytecode 0x1ffc3f>)()
>     apply(#f(compiled-function () #<bytecode 0x1ffc3f>) nil)
>     timer-event-handler([t 0 0 500000 nil #f(compiled-function () #<bytecode 0x1ffc3f>) nil idle 0])
>
> Any ideas?

Restarting Emacs resolved the problem.

-- 
This signature is currently under construction.



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-02-01 14:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-02-01 10:31 Eval R-block: wrong-type-argument stringp nil Loris Bennett
2021-02-01 14:32 ` Loris Bennett

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).