emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Daniel Ortmann <daniel.ortmann@oracle.com>
To: Ihor Radchenko <yantar92@posteo.net>
Cc: emacs-orgmode@gnu.org
Subject: Re: [External] : Re: [BUG] executing sh source block with ':results none' encounters error region is longer than org-table-convert-region-max-lines [9.6-pre (release_9.5.5-1118-g70cee1 @ /home/dortmann/src/git-org-mode/lisp/)]
Date: Sat, 19 Nov 2022 12:39:49 -0600	[thread overview]
Message-ID: <b7021ff3-60d7-863a-5579-dff60f7e1337@oracle.com> (raw)
In-Reply-To: <87mt8ok5vg.fsf@localhost>


[-- Attachment #1.1: Type: text/plain, Size: 1141 bytes --]

Please see attached which has the following code which reproduces the issue:

#+begin_src sh :shebang #!/bin/bash :results none
for (( i=1500 ; i>0 ; i-=1 ))
do
     head -c 6 /dev/urandom | uuencode -m -
done |
tee /dev/null
#+end_src


On 11/18/22 02:45, Ihor Radchenko wrote:
> Daniel Ortmann<daniel.ortmann@oracle.com>  writes:
>
>> I have several small sh source blocks with ':results none'. The source
>> is executed for effect and the last line of the source is:
>> ... | tee /target/path/to/file.csv
>>
>> ⛔ Error (org-babel): Error reading results: (user-error "Region is
>> longer than ‘org-table-convert-region-max-lines’ (999) lines; not
>> converting")
>>
>> I expected that :results none would simply drop the output rather than
>> complaining about it.
>>
>> Even though it says "error", the results seem to be correct.
> This is because blocks with :results none may still be used as input for
> other source blocks as reference or noweb reference. So, the results are
> computed, but not inserted or otherwise indicated.
>
> Could you please provide a reproducer so that we fix the issue with
> table conversion?
>

[-- Attachment #1.2: Type: text/html, Size: 1841 bytes --]

[-- Attachment #2: reproduce.org --]
[-- Type: application/vnd.lotus-organizer, Size: 376 bytes --]

  reply	other threads:[~2022-11-19 18:40 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-17 18:04 [BUG] executing sh source block with ':results none' encounters error region is longer than org-table-convert-region-max-lines [9.6-pre (release_9.5.5-1118-g70cee1 @ /home/dortmann/src/git-org-mode/lisp/)] Daniel Ortmann
2022-11-18  8:45 ` Ihor Radchenko
2022-11-19 18:39   ` Daniel Ortmann [this message]
2022-11-21  2:34     ` [External] : " Ihor Radchenko
2022-11-21 20:47       ` Daniel Ortmann
2022-11-22  2:12         ` [PATCH] Add new :results ignore header argument (was: [External] : Re: [BUG] executing sh source block with ':results none' encounters error region is longer than org-table-convert-region-max-lines [9.6-pre (release_9.5.5-1118-g70cee1 @ /home/dortmann/src/git-org-mode/lisp/)]) Ihor Radchenko
2022-11-22  6:02           ` Daniel Ortmann
2022-11-23  7:29             ` Daniel Ortmann
2022-11-25 23:23           ` Rudolf Adamkovič
2022-11-26  2:12             ` Ihor Radchenko
2022-11-27  0:35               ` 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=b7021ff3-60d7-863a-5579-dff60f7e1337@oracle.com \
    --to=daniel.ortmann@oracle.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=yantar92@posteo.net \
    /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).