From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Kitchin Subject: Re: "File mode specification error: (user-error Empty table - created default table)" Date: Fri, 22 Mar 2019 09:23:17 -0400 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000d083040584aec212" Return-path: Received: from eggs.gnu.org ([209.51.188.92]:58212) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h7KL1-0004GS-7W for emacs-orgmode@gnu.org; Fri, 22 Mar 2019 09:36:00 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1h7K8z-000405-EP for emacs-orgmode@gnu.org; Fri, 22 Mar 2019 09:23:34 -0400 Received: from mail-wm1-x32a.google.com ([2a00:1450:4864:20::32a]:54758) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1h7K8y-0003w1-Ke for emacs-orgmode@gnu.org; Fri, 22 Mar 2019 09:23:33 -0400 Received: by mail-wm1-x32a.google.com with SMTP id f3so2158782wmj.4 for ; Fri, 22 Mar 2019 06:23:32 -0700 (PDT) In-Reply-To: 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: William Denton Cc: org-mode-email --000000000000d083040584aec212 Content-Type: text/plain; charset="UTF-8" I saw something like this recently in a little different context. In the output of a babel block I saw the empty table get inserted around the results. It only happened in one file, and I didn't notice if there was a user-error. I can't reproduce it at the moment, and didn't spend any time tracking it down. If I see it again I will see if I can track anything down. I am using Org mode version 9.2.1 (9.2.1-23-g126a37-elpaplus @ /Users/jkitchin/vc/jkitchin-github/scimax/elpa/org-plus-contrib-20190218/) John ----------------------------------- Professor John Kitchin Doherty Hall A207F Department of Chemical Engineering Carnegie Mellon University Pittsburgh, PA 15213 412-268-7803 @johnkitchin http://kitchingroup.cheme.cmu.edu On Thu, Mar 21, 2019 at 10:47 PM William Denton wrote: > I've updated Org from source a couple of times in the last couple of days > and > this started happening: when I restart Emacs, I get an error saying "File > mode > specification error: (user-error Empty table - created default table)" and > this > happens: an empty table is added! Here's an example: > > #----- begin > > #+NAME: count > #+BEGIN_SRC sql :engine mysql :dbuser user :database db_name :exports > results > SELECT count(*) AS foo FROM bar > #+END_SRC > > | | | | | | > |---+---+---+---+---| > | | | | | | > #+RESULTS: count > | foo | > |-------| > | 2782 | > > #----- end > > Anyone else seeing this? > > Bill > -- > William Denton :: Toronto, Canada --- Listening to Art: > https://listeningtoart.org/ > https://www.miskatonic.org/ --- GHG.EARTH: https://ghg.earth/ > Caveat lector. --- STAPLR: http://staplr.org/ > > --000000000000d083040584aec212 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I saw something like this recently in a l= ittle different context. In the output of a babel block I saw the empty tab= le get inserted around the results. It only happened in one file, and I did= n't notice if there was a user-error.=C2=A0 I can't reproduce it at= the moment, and didn't spend any time tracking it down. If I see it ag= ain I will see if I can track anything down.=C2=A0

I am = using=C2=A0Org mode version 9.2.1 (9.2.1-23-g126a37-elpaplus @ /Users/jkitc= hin/vc/jkitchin-github/scimax/elpa/org-plus-contrib-20190218/)

John

-----------------------------------Professor John Kitchin=C2=A0
Doherty Hall A207F
Department of Chemi= cal Engineering
Carnegie Mellon University
Pittsburgh, PA 15213
41= 2-268-7803


On Thu, Mar 21,= 2019 at 10:47 PM William Denton <wtd@p= obox.com> wrote:
I've updated Org from source a couple of times in the last coup= le of days and
this started happening:=C2=A0 when I restart Emacs, I get an error saying &= quot;File mode
specification error: (user-error Empty table - created default table)"= and this
happens:=C2=A0 an empty table is added!=C2=A0 Here's an example:

#----- begin

#+NAME: count
#+BEGIN_SRC sql :engine mysql :dbuser user :database db_name :exports resul= ts
SELECT count(*) AS foo FROM bar
#+END_SRC

|=C2=A0 =C2=A0|=C2=A0 =C2=A0|=C2=A0 =C2=A0|=C2=A0 =C2=A0|=C2=A0 =C2=A0|
|---+---+---+---+---|
|=C2=A0 =C2=A0|=C2=A0 =C2=A0|=C2=A0 =C2=A0|=C2=A0 =C2=A0|=C2=A0 =C2=A0|
#+RESULTS: count
| foo=C2=A0 =C2=A0|
|-------|
|=C2=A0 2782 |

#----- end

Anyone else seeing this?

Bill
--
William Denton :: Toronto, Canada=C2=A0 =C2=A0---=C2=A0 =C2=A0Listening to = Art: https://listeningtoart.org/
https://www.miskatonic.org/=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0---=C2= =A0 =C2=A0GHG.EARTH: https://ghg.earth/
Caveat lector.=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 ---=C2=A0 =C2=A0STAPLR: http://staplr.org/

--000000000000d083040584aec212--