emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Mike Gauland <mikelygee@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Passing table to Ruby session
Date: Wed, 9 Aug 2023 20:17:40 +1200	[thread overview]
Message-ID: <980379b9-3b1c-7671-839a-60fa488eed7c@gmail.com> (raw)

I'm trying to pass a table to a ruby code block. The table is 211 lines, 
of four columns.

I want to pass it to a session, so I can use the data in subsequent 
blocks.  I've done this successfully on my work laptop, running Windows 
emacs (28.2), with ruby 3.2.

On my linux box (NixOS), however, the code block never completes.  If I 
cut the table down to 65 lines or so, it works just fine.

If I sent the full table to a stand-alone block (no :session), the block 
executes successfully.

Both machines are using ob-ruby.el version 2.4.4 and inf-ruby.el 2.7.0.

If anyone has any thoughts on what might be going on, I'd love to hear 
them. I'm not familiar enough with the code (not yet, anyway) to know 
where to start.

I'll work on putting together a minimal example, if anyone is interested 
in testing it on their system.

Kind regards,

Mike



             reply	other threads:[~2023-08-09  8:18 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-08-09  8:17 Mike Gauland [this message]
2023-08-09 10:14 ` Passing table to Ruby session Ihor Radchenko
2023-08-09 19:06   ` Mike Gauland
2023-08-09 21:24     ` Mike Gauland
2023-08-10  4:40       ` Mike Gauland
2023-08-10  9:11       ` Ihor Radchenko
2023-08-11  1:24         ` Mike Gauland
2023-08-11  7:47           ` Ihor Radchenko
2023-08-13 20:26             ` Mike Gauland
2023-08-14 10:18               ` Ihor Radchenko
2023-08-25 13:19                 ` Ihor Radchenko
2023-08-31  9:58             ` Ihor Radchenko

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=980379b9-3b1c-7671-839a-60fa488eed7c@gmail.com \
    --to=mikelygee@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /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).