From mboxrd@z Thu Jan 1 00:00:00 1970 From: Charles Millar via Emacs-orgmode Subject: Re: bug: org-table-convert-region-max-lines causes a "Code block produced nop output" Date: Tue, 20 Aug 2019 10:50:21 -0400 Message-ID: References: Reply-To: Charles Millar Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:57423) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i05St-0003g9-EF for emacs-orgmode@gnu.org; Tue, 20 Aug 2019 10:50:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1i05Sr-0004n9-IY for emacs-orgmode@gnu.org; Tue, 20 Aug 2019 10:50:26 -0400 Received: from sonic309-13.consmr.mail.bf2.yahoo.com ([74.6.129.123]:37372) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1i05Sr-0004mD-BN for emacs-orgmode@gnu.org; Tue, 20 Aug 2019 10:50:25 -0400 In-Reply-To: Content-Language: en-US List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: emacs-orgmode@gnu.org A follow up On 8/20/19 9:32 AM, Charles Millar via Emacs-orgmode wrote: > In an org file I have a source code block to convert entries into and > generate a recutils file > > #+begin_src sh?? :file SomeFile.rec > cat << EOF > # -*- mode: rec -*- > > #### Begin recutils file > > Approximately 770 records in recutils format each with about 20 > entries; over 17,000 lines including line feeds or carriage returns > > #+end_src > > The following error is produced: > > Starting new Ispell process /usr/bin/aspell with en_US dictionary... > executing Sh code block... > Wrote /tmp/babel-k8j93s/ob-input-LL2cYo > Error reading results: (user-error Region is longer than > ???org-table-convert-region-max-lines??? (999) lines; not converting) > Code block produced no output. > > I admit that I have not evaluated this code block since last > October.At that time the SomeFile.rec file was produced, as expected. > However, the size of the entries has not changed and now the above > error results. > > I modified my init.el file to include > > (setq org-table-convert-region-max-lines 20000) > > closed emacs, etc. (load-file init.el did not change the default 999 > to 20000) > > When I C-c C-c'ed the code block again the process hung. I confirmed > that org-table-convert-region-max-lines was set to 20000. > > Is org-table-convert-region-max-lines?? supposed to be invoked and if > so what should I modify? > > Version information > > Org mode version 9.2.5 (release_9.2.5-488-g9ddba9 @ > /usr/local/share/org-mode/lisp/) > GNU Emacs 27.0.50 (build 57, x86_64-pc-linux-gnu, GTK+ Version > 3.24.10) of 2019-08-20 > > Charlie Millar > It appears that the above now creates a table, not a recutils file. Spaces are the delimiter, #+begin_src sh?? :file test.rec cat << EOF # -*- mode: rec -*- %rec: somerecord Account: something Amount: 0.00 #### end of file EOF #+end_src #+RESULTS: | #?????????????? | -*-?????????????? | mode: | rec?? | -*- | | %rec:?????? | somerecord |???????????? |?????????? |???????? | | Account: | sometyhing |???????????? |?????????? |???????? | | Amount:?? | 0.0?????????????? |???????????? |?????????? |???????? | | ####???????? | end?????????????? | of?????? | file |???????? |