emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Fraga, Eric" <e.fraga@ucl.ac.uk>
To: Ihor Radchenko <yantar92@gmail.com>
Cc: Emacs Org mode mailing list <emacs-orgmode@gnu.org>
Subject: Re: when does :cache not cache?
Date: Fri, 8 Jul 2022 14:59:33 +0000	[thread overview]
Message-ID: <87a69j7iqy.fsf@ucl.ac.uk> (raw)
In-Reply-To: <87let9m3hr.fsf@localhost> (Ihor Radchenko's message of "Mon, 04 Jul 2022 21:06:24 +0800")

[-- Attachment #1: Type: text/plain, Size: 743 bytes --]

Hi Ihor,

On Monday,  4 Jul 2022 at 21:06, Ihor Radchenko wrote:
> Ihor Radchenko <yantar92@gmail.com> writes:
>
>> The patch introduces a new functionality to ob-core.el allowing more
>> stable temporary file names. I am not sure if my implementation is the
>> best way to solve the problem, so comments are welcome.
>
> Applied onto main via 080462198.

I updated org recently (and again just now) and am getting the error
shown in the attached file.  This is related to your patch, I think
given that it fails in accessing the "stable-file", but haven't verified
it.  Before I investigate further, I thought I would raise the issue.

Thank you,
eric

-- 
Eric S Fraga, @ericsfraga:matrix.org, GnuPG: 0xc89193d8fffcf67d

[-- Attachment #2: trace.txt --]
[-- Type: text/plain, Size: 2517 bytes --]

Debugger entered--Lisp error: (wrong-type-argument stringp nil)
  file-exists-p(nil)
  org-babel-temp-stable-file(((:cache . "yes") (:colname-names (plotdata "PSO" "" "PPA" "" "GA" "")) (:eval . "no-export") (:exports . "results") (:file . "images/permdbetaevolutionplot.png") (:hlines . "no") (:noweb . "yes") (:result-params "replace" "file") (:result-type . value) (:results . "replace file") (:rowname-names) (:session) (:tangle . "no") (:var plotdata [...] )) "gnuplot-")
  #f(compiled-function (pair) #<bytecode -0x18e177498e7fdfb1> [...])
  org-babel-gnuplot-process-vars([...])
  org-babel-expand-body:gnuplot([...])
  org-babel-sha1-hash([...])
  org-babel-exp-src-block((src-block (:language "gnuplot" :switches nil :parameters nil :begin 68881 :end 69528 :number-lines nil :preserve-indent nil :retain-labels t :use-labels t :label-fmt nil :value "  reset\n  set logscale xy\n  set xlabel \"n_f\"\n  set..." :post-blank 1 :post-affiliated 69077 :name "permdbetaplotevolution" :header (":var plotdata=permdbetaresultstable :file \"images/..." ":results file" ":exports results" ":eval no-export") :mode planning :granularity element :org-element--cache-sync-key (55 . 70525) :cached t :parent (section (:begin 68881 :end 79730 :contents-begin 68881 :contents-end 79679 :robust-begin 68881 :robust-end 79677 :post-blank 51 :post-affiliated 68881 :mode section :granularity element :org-element--cache-sync-key (55 . 70524) :cached t :parent (headline (:raw-value "results" :begin 68810 :end 79730 :pre-blank 0 :contents-begin 68881 :contents-end 79679 :robust-begin 68883 :robust-end 79677 :level 3 :priority nil :tags (...) :todo-keyword nil :todo-type nil :post-blank 51 :footnote-section-p nil :archivedp nil :commentedp nil :post-affiliated 68810 :title "results" :mode nil :granularity element :org-element--cache-sync-key (55 . 68551) :cached t :parent (headline ...))))))))
  org-babel-exp-process-buffer()
  org-export-as(latex nil nil nil (:output-file "book.tex"))
  org-export-to-file(latex "book.tex" nil nil nil nil nil org-latex-compile)
  org-latex-export-to-pdf(nil nil nil nil)
  (org-open-file (org-latex-export-to-pdf nil s v b))
  (if a (org-latex-export-to-pdf t s v b) (org-open-file (org-latex-export-to-pdf nil s v b)))
  (lambda (a s v b) (if a (org-latex-export-to-pdf t s v b) (org-open-file (org-latex-export-to-pdf nil s v b))))(nil nil nil nil)
  org-export-dispatch(nil)
  funcall-interactively(org-export-dispatch nil)
  command-execute(org-export-dispatch)

  reply	other threads:[~2022-07-08 15:05 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-22  7:55 when does :cache not cache? Eric S Fraga
2021-12-12  7:45 ` Ihor Radchenko
2021-12-13  8:13   ` Eric S Fraga
2022-06-09 13:35     ` Ihor Radchenko
2022-06-09 13:41       ` Fraga, Eric
2022-07-04 13:06   ` Ihor Radchenko
2022-07-08 14:59     ` Fraga, Eric [this message]
2022-07-08 15:08       ` Ihor Radchenko
2022-07-08 15:19       ` Fraga, Eric
  -- strict thread matches above, loose matches on Subject: below --
2021-10-23  9:13 Emmanuel Charpentier
2021-10-23 10:09 ` Eric S Fraga
2021-10-23 15:15   ` Eric S Fraga
2021-10-24 11:49 Emmanuel Charpentier
2021-10-25 10:58 ` Eric S Fraga

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87a69j7iqy.fsf@ucl.ac.uk \
    --to=e.fraga@ucl.ac.uk \
    --cc=emacs-orgmode@gnu.org \
    --cc=yantar92@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).