From mboxrd@z Thu Jan 1 00:00:00 1970 From: michael.ziems@xiron.de Subject: Bug: Bug in Orgmode Clocktable? [9.0.5 (9.0.5-elpa @ c:/Users/sane/AppData/Roaming/.emacs.d/elpa/org-20170210/)] Date: Fri, 17 Feb 2017 13:00:20 +0100 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="=_3ddfda6efaeb6f2d00ee9c8db2870c12" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:41053) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cehDj-00048x-KR for emacs-orgmode@gnu.org; Fri, 17 Feb 2017 07:01:09 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cehDg-0000Cg-Ic for emacs-orgmode@gnu.org; Fri, 17 Feb 2017 07:01:03 -0500 Received: from smtp1.goneo.de ([85.220.129.30]:60976) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cehDg-0000C6-8S for emacs-orgmode@gnu.org; Fri, 17 Feb 2017 07:01:00 -0500 Received: from localhost (localhost [127.0.0.1]) by smtp1.goneo.de (Postfix) with ESMTP id 51C35241CE0 for ; Fri, 17 Feb 2017 13:00:57 +0100 (CET) Received: from smtp1.goneo.de ([127.0.0.1]) by localhost (smtp1.goneo.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id HVCzgdew90em for ; Fri, 17 Feb 2017 13:00:20 +0100 (CET) Received: from webmail.goneo.de (webmail.goneo.de [82.100.220.15]) by smtp1.goneo.de (Postfix) with ESMTPSA id 49BD82424B1 for ; Fri, 17 Feb 2017 13:00:20 +0100 (CET) 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 --=_3ddfda6efaeb6f2d00ee9c8db2870c12 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII Hello, i am running orgmode version 9.0.5 on GNU Emacs 24.3.1 on Windows. On a second PC im running orgmode version 9.0.2 also on Windows. When i now try to update the org clock table report on the version 9.0.5 then i get a "org-clocktable-write-default: Wrong type argument: char-or-string-p, nil" I compared the two versions of org-clocktable-write-default in org-clock.el between 9.0.5 and 9.0.2 and the crash happens here: Version 9.0.5: ;; Insert the table header line (insert-before-markers "|" ; table line starter (if multifile (concat (nth 1 lwords) "|") "") ; file column, maybe (if level-p (concat (nth 2 lwords) "|") "") ; level column, maybe (if timestamp (concat (nth 3 lwords) "|") "") ; timestamp column, maybe (if properties (concat (mapconcat 'identity properties "|") "|") "") ;properties columns, maybe (nth 4 lwords) "|" ;headline (nth 5 lwords) "|" ;time column (make-string (1- (min maxlevel (or ntcol 100))) ?|) (if (eq formula '%) "%|\n" "\n")) On the line 2551 for the "(if (eq formula '%) "%|\n" "\n"))" When i compare version 9.0.2 the code changed: ;; Insert the table header line (insert-before-markers "|" ; table line starter (if multifile (concat (nth 1 lwords) "|") "") ; file column, maybe (if level-p (concat (nth 2 lwords) "|") "") ; level column, maybe (if timestamp (concat (nth 3 lwords) "|") "") ; timestamp column, maybe (if properties (concat (mapconcat 'identity properties "|") "|") "") ;properties columns, maybe (concat (nth 4 lwords) "|" (nth 5 lwords) "|\n")) ; headline and time columns My Elisp skills are still quite limited, maybe somebody else could tell me what is wrong and how to proceed. Any help is highly appreciated. Thanks, Michael Emacs : GNU Emacs 24.3.1 (i386-mingw-nt6.2.9200) of 2013-03-17 on MARVIN Package: Org mode version 9.0.5 (9.0.5-elpa @ c:/Users/sane/AppData/Roaming/.emacs.d/elpa/org-20170210/) --=_3ddfda6efaeb6f2d00ee9c8db2870c12 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=UTF-8

Hello,

i am running orgmode version 9.0.5 on GNU Emacs 24.3= =2E1 on Windows.
On a second PC im running orgmode version 9.0.2 also = on Windows.
When i now try to update the org clock table report on the= version 9.0.5
then i get a "org-clocktable-write-default: Wrong type = argument:
char-or-string-p, nil"

I compared the two version= s of org-clocktable-write-default in
org-clock.el between 9.0.5 and 9= =2E0.2 and the crash happens here:

Version 9.0.5:

&nb= sp;   ;; Insert the table header line
    (in= sert-before-markers
     "|"   &nbs= p;            &= nbsp;           &nbs= p; ; table line starter
     (if multifile (concat= (nth 1 lwords) "|") "")  ; file column, maybe
   =   (if level-p   (concat (nth 2 lwords) "|") "")  ; leve= l column, maybe
     (if timestamp (concat (nth 3 = lwords) "|") "")  ; timestamp column, maybe
   &nb= sp; (if properties (concat (mapconcat 'identity properties "|") "|") "") ;p= roperties columns, maybe
     (nth 4 lwords) "|"&n= bsp;           ;headline
 = ;    (nth 5 lwords) "|"        = ;    ;time column
     (make-string= (1- (min maxlevel (or ntcol 100))) ?|)
     (if (= eq formula '%) "%|\n" "\n"))

On the line 2551 for the "(if (eq f= ormula '%) "%|\n" "\n"))"

When i compare version 9.0.2 the code = changed:


    ;; Insert the table header lin= e
    (insert-before-markers
   &nb= sp; "|"           &n= bsp;            = ;      ; table line starter
   = ;  (if multifile (concat (nth 1 lwords) "|") "")  ; file column, = maybe
     (if level-p   (concat (nth 2 = lwords) "|") "")  ; level column, maybe
     = (if timestamp (concat (nth 3 lwords) "|") "")  ; timestamp column, may= be
     (if properties (concat (mapconcat 'identit= y properties "|") "|") "") ;properties columns, maybe
  &nbs= p;  (concat (nth 4 lwords) "|"
      &nb= sp;  (nth 5 lwords) "|\n"))       &= nbsp;         ; headline and time c= olumns

My Elisp skills are still quite limited, maybe somebody e= lse could tell
me what is wrong and how to proceed.
Any help is h= ighly appreciated.

Thanks,

Michael

Emacs&n= bsp; : GNU Emacs 24.3.1 (i386-mingw-nt6.2.9200)
 of 2013-03-17 on= MARVIN
Package: Org mode version 9.0.5 (9.0.5-elpa @ c:/Users/sane/Ap= pData/Roaming/.emacs.d/elpa/org-20170210/)

--=_3ddfda6efaeb6f2d00ee9c8db2870c12--