emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[O] Bug: Bug in Orgmode Clocktable? [9.0.5 (9.0.5-elpa @ c:/Users/sane/A


From: michael . ziems
Subject: [O] 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
User-agent: goneo Webmail

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/)


reply via email to

[Prev in Thread] Current Thread [Next in Thread]