emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Bill Burdick <bill.burdick@gmail.com>
To: Org Mode List <emacs-orgmode@gnu.org>
Cc: Ihor Radchenko <yantar92@gmail.com>
Subject: Re: :session for Julia in org babel?
Date: Tue, 9 Aug 2022 08:54:52 -0400	[thread overview]
Message-ID: <CAP6X8Dhvu11nFB_FHrRVoKnomsRTjwfT59mVP_TdsCqDKM_A5Q@mail.gmail.com> (raw)
In-Reply-To: <87bkstzigt.fsf@ucl.ac.uk>

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

OK, I was just about to hit "Send". My backtrace is the same.


-- Bill


On Tue, Aug 9, 2022 at 8:53 AM Fraga, Eric <e.fraga@ucl.ac.uk> wrote:

> Hi Ihor,
>
> On Tuesday,  9 Aug 2022 at 20:39, Ihor Radchenko wrote:
> > Can you please run M-x toggle-debug-on-error and share the full
> > backtrace?
>
> See below.  I've not started investigating at all.  The Julia REPL
> buffer does get started so it's not an issue with Julia itself.
>
> The backtrace below is the result of typing C-c C-c on this src block:
>
> #+name: exampleusingfresa
> #+begin_src julia
>   using Fresa
> #+end_src
>
> with these header settings:
>
> :PROPERTIES:
> :header-args:julia: :tangle no :exports code :noweb yes :session
> :END:
>
> Thank you,
> eric
>
> --8<---------------cut here---------------start------------->8---
> Debugger entered--Lisp error: (wrong-type-argument symbolp
> ((inferior-ess-primary-prompt . "\\w*> ") (inferior-ess-secondary-prompt)
> (inferior-ess-prompt . "\\w*> ") (ess-local-customize-alist .
> ess-julia-customize-alist) (inferior-ess-program . inferior-julia-program)
> (ess-load-command . "include(expanduser(\"%s\"))\n") (ess-funargs-command .
> "ESS.fun_args(\"%s\")\n") (ess-dump-error-re . "in \\w* at
> \\(.*\\):[0-9]+") (ess-error-regexp .
> "\\(^\\s-*at\\s-*\\(?3:.*\\):\\(?2:[0-9]+\\)\\)") (ess-error-regexp-alist .
> ess-julia-error-regexp-alist) (ess-mode-completion-syntax-table .
> ess-julia-completion-syntax-table) (inferior-ess-help-command .
> "ESS.help(\"%s\")\n") (ess-language . "julia") (ess-dialect . "julia")
> (ess-suffix . "jl") (ess-dump-filename-template replace-regexp-in-string
> "S$" ess-suffix ess-dump-filename-template-proto) (ess-mode-editing-alist)
> (ess-change-sp-regexp) (ess-help-sec-regex . ess-help-r-sec-regex)
> (ess-help-sec-keys-alist . ess-help-r-sec-keys-alist) (ess-function-pattern
> . ess-r-function-pattern) (ess-object-name-db-file . "ess-jl-namedb.el")
> (ess-smart-operators . ess-r-smart-operators) (inferior-ess-exit-command .
> "exit()\n") (inferior-ess-language-start) (ess-STERM . "iESS") (ess-editor
> . ess-r-editor) (ess-pager . ess-r-pager) (ess-getwd-command . "pwd()\n")
> (ess-setwd-command . "cd(expanduser(\"%s\"))\n")))
>   ess-eval-region(1 12 nil "Eval buffer" buffer)
>   ess-eval-buffer(nil)
>   org-babel-julia-evaluate-session(#<buffer *Julia*> "using Fresa" value
> ("replace") nil)
>   org-babel-julia-evaluate(#<buffer *Julia*> "using Fresa" value
> ("replace") nil)
>   org-babel-execute:julia("using Fresa" ((:colname-names) (:rowname-names)
> (:result-params "replace") (:result-type . value) (:results . "replace")
> (:exports . "code") (:cache . "no") (:hlines . "no") (:comments . "yes")
> (:tangle . "no") (:noweb . "yes") (:session)))
>   org-babel-execute-src-block(nil ("julia" "using Fresa" ((:colname-names)
> (:rowname-names) (:result-params "replace") (:result-type . value)
> (:results . "replace") (:exports . "code") (:session) (:noweb . "yes")
> (:tangle . "no") (:comments . "yes") (:hlines . "no") (:cache . "no")) ""
> "exampleusingfresa" 10118 "(ref:%s)"))
>   org-ctrl-c-ctrl-c(nil)
>   funcall-interactively(org-ctrl-c-ctrl-c nil)
>   command-execute(org-ctrl-c-ctrl-c)
> --8<---------------cut here---------------end--------------->8---
>
> --
> : Eric S Fraga, with org release_9.5.4-720-g4db67d in Emacs 29.0.50

[-- Attachment #2: Type: text/html, Size: 4366 bytes --]

  reply	other threads:[~2022-08-09 12:55 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-08 15:19 :session for Julia in org babel? Fraga, Eric
2022-08-08 15:49 ` Bill Burdick
2022-08-08 16:28   ` Fraga, Eric
2022-08-08 16:51     ` Bill Burdick
2022-08-08 17:36       ` Fraga, Eric
2022-08-09 12:39       ` Ihor Radchenko
2022-08-09 12:53         ` Fraga, Eric
2022-08-09 12:54           ` Bill Burdick [this message]
2022-08-10  7:10           ` Ihor Radchenko
2022-08-10  7:56             ` Fraga, Eric
2022-08-16 12:52             ` Fraga, Eric
2022-08-16 13:21               ` Ihor Radchenko
2022-08-16 16:06                 ` Fraga, Eric
2022-08-16 21:16                   ` Christopher M. Miles
     [not found]                   ` <62fc0be2.050a0220.306c1.e3baSMTPIN_ADDED_BROKEN@mx.google.com>
2022-08-17  9:51                     ` Show a warning/message when loading Org modules requiring external packages (was: :session for Julia in org babel?) Ihor Radchenko
2022-08-17 11:45                       ` Show a warning/message when loading Org modules requiring external packages Fraga, Eric
2022-08-17 21:25                       ` Show a warning/message when loading Org modules requiring external packages (was: :session for Julia in org babel?) Christopher M. Miles
     [not found]                       ` <62fd5dc7.050a0220.96139.b7e7SMTPIN_ADDED_BROKEN@mx.google.com>
2022-08-19  6:02                         ` Ihor Radchenko
2022-08-19 12:58                           ` Christopher M. Miles
2022-08-20  5:56                   ` :session for Julia in org babel? Ihor Radchenko
2022-08-22  9:30                     ` Fraga, Eric
2022-08-22 12:12                       ` Ihor Radchenko
2022-08-17 10:16 ` Timothy
2022-08-17 11:50   ` Fraga, Eric

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=CAP6X8Dhvu11nFB_FHrRVoKnomsRTjwfT59mVP_TdsCqDKM_A5Q@mail.gmail.com \
    --to=bill.burdick@gmail.com \
    --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).