* Bug: Bug in Orgmode Clocktable? [9.0.5 (9.0.5-elpa @ c:/Users/sane/AppData/Roaming/.emacs.d/elpa/org-20170210/)] @ 2017-02-17 12:00 michael.ziems 2017-02-17 12:27 ` Nicolas Goaziou 0 siblings, 1 reply; 7+ messages in thread From: michael.ziems @ 2017-02-17 12:00 UTC (permalink / raw) To: emacs-orgmode [-- Attachment #1: Type: text/plain, Size: 2091 bytes --] 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/) [-- Attachment #2: Type: text/html, Size: 3445 bytes --] ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Bug: Bug in Orgmode Clocktable? [9.0.5 (9.0.5-elpa @ c:/Users/sane/AppData/Roaming/.emacs.d/elpa/org-20170210/)] 2017-02-17 12:00 Bug: Bug in Orgmode Clocktable? [9.0.5 (9.0.5-elpa @ c:/Users/sane/AppData/Roaming/.emacs.d/elpa/org-20170210/)] michael.ziems @ 2017-02-17 12:27 ` Nicolas Goaziou [not found] ` <d71585505a8b63ccb54ddda996369281@xiron.de> 0 siblings, 1 reply; 7+ messages in thread From: Nicolas Goaziou @ 2017-02-17 12:27 UTC (permalink / raw) To: michael.ziems; +Cc: emacs-orgmode Hello, michael.ziems@xiron.de writes: > > 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: Could you provide more backtrace? Also an ECM would help, if you can produce one. Regards, -- Nicolas Goaziou ^ permalink raw reply [flat|nested] 7+ messages in thread
[parent not found: <d71585505a8b63ccb54ddda996369281@xiron.de>]
* Re: Bug: Bug in Orgmode Clocktable? [9.0.5 (9.0.5-elpa @ c:/Users/sane/AppData/Roaming/.emacs.d/elpa/org-20170210/)] [not found] ` <d71585505a8b63ccb54ddda996369281@xiron.de> @ 2017-02-17 14:14 ` Nicolas Goaziou 2017-02-18 6:13 ` Axel Kielhorn 0 siblings, 1 reply; 7+ messages in thread From: Nicolas Goaziou @ 2017-02-17 14:14 UTC (permalink / raw) To: michael.ziems; +Cc: Org Mode List Hello, I'm Cc'ing the mailing list for archiving purpose. michael.ziems@xiron.de writes: > here is the backtrace: > > Debugger entered--Lisp error: (wrong-type-argument char-or-string-p nil) > insert-before-markers("|" "" "" "" "" nil "|" nil "|" "|" "\n") > org-clocktable-write-default(262 ((nil 0 nil)) (:maxlevel 2 :lang "de" > :scope subtree :block nil :wstart 1 :mstart 1 :tstart nil :tend nil > :step nil :stepskip0 nil :fileskip0 nil :tags nil :emphasize nil :link > nil :narrow 40! :indent t :formula nil :timestamp nil :level nil > :tcolumns nil :formatter nil :name "clocktable" :indentation-column 0 > :content #("#+CAPTION: [2017-02-17 Fr 14:12]\n|\n" 0 10 (fontified t > font-lock-fontified t face org-meta-line) 10 12 (fontified t) 12 32 > (fontified t mouse-face highlight keymap (keymap (follow-link . > mouse-face) (mouse-3 . org-find-file-at-mouse) (mouse-2 . > org-open-at-mouse)) face org-block font-lock-fontified t) 32 33 > (fontified t mouse-face highlight keymap (keymap (follow-link . > mouse-face) (mouse-3 . org-find-file-at-mouse) (mouse-2 . > org-open-at-mouse)) rear-nonsticky (mouse-face highlight keymap > invisible intangible help-echo org-linked-text htmlize-link) face > org-block font-lock-fontified t) 33 36 (fontified t)) :multifile nil)) > #[0 "\303\300@\304\"\211\305=\203 > > Concerning ECM: It happens to me in every orgmode file on version > 9.0.2. It happens because no translation is available for "de" in `org-clock-clocktable-language-setup'. This is fixed. Thank you. Regards, -- Nicolas Goaziou 0x80A93738 ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Bug: Bug in Orgmode Clocktable? [9.0.5 (9.0.5-elpa @ c:/Users/sane/AppData/Roaming/.emacs.d/elpa/org-20170210/)] 2017-02-17 14:14 ` Nicolas Goaziou @ 2017-02-18 6:13 ` Axel Kielhorn 2017-02-18 8:37 ` Nicolas Goaziou 0 siblings, 1 reply; 7+ messages in thread From: Axel Kielhorn @ 2017-02-18 6:13 UTC (permalink / raw) To: Org-Mode Mailing List > Am 17.02.2017 um 15:14 schrieb Nicolas Goaziou <mail@nicolasgoaziou.fr>: > > Hello, > > I'm Cc'ing the mailing list for archiving purpose. > > michael.ziems@xiron.de writes: > > It happens because no translation is available for "de" in > `org-clock-clocktable-language-setup’. Maybe we should add a german translation? Here is what I use: '(org-clock-clocktable-language-setup (quote (("en" "File" "L" "Timestamp" "Headline" "Time" "ALL" "Total time" "File time" "Clock summary at") ("es" "Archivo" "N" "Fecha y hora" "Tarea" "Tiempo" "TODO" "Tiempo total" "Tiempo archivo" "Clock summary at") ("fr" "Fichier" "N" "Horodatage" "En-tête" "Durée" "TOUT" "Durée totale" "Durée fichier" "Horodatage sommaire à") ("nl" "Bestand" "N" "Tijdstip" "Hoofding" "Duur" "ALLES" "Totale duur" "Bestandstijd" "Clock summary at") ("de" "Datei" "L" "Timestamp" "Tätigkeit" "Dauer" "ALLES" "Gesamtzeit" "Datei Zeit" "Erstellt am")))) Does this require a patch and a TINYCHANGE? Axel ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Bug: Bug in Orgmode Clocktable? [9.0.5 (9.0.5-elpa @ c:/Users/sane/AppData/Roaming/.emacs.d/elpa/org-20170210/)] 2017-02-18 6:13 ` Axel Kielhorn @ 2017-02-18 8:37 ` Nicolas Goaziou 2017-02-19 6:25 ` Axel Kielhorn 0 siblings, 1 reply; 7+ messages in thread From: Nicolas Goaziou @ 2017-02-18 8:37 UTC (permalink / raw) To: Axel Kielhorn; +Cc: Org-Mode Mailing List Hello, Axel Kielhorn <org-mode@axelkielhorn.de> writes: > Maybe we should add a german translation? > Here is what I use: > > '(org-clock-clocktable-language-setup > (quote > (("en" "File" "L" "Timestamp" "Headline" "Time" "ALL" "Total time" "File time" "Clock summary at") > ("es" "Archivo" "N" "Fecha y hora" "Tarea" "Tiempo" "TODO" "Tiempo total" "Tiempo archivo" "Clock summary at") > ("fr" "Fichier" "N" "Horodatage" "En-tête" "Durée" "TOUT" "Durée totale" "Durée fichier" "Horodatage sommaire à") > ("nl" "Bestand" "N" "Tijdstip" "Hoofding" "Duur" "ALLES" "Totale duur" "Bestandstijd" "Clock summary at") > ("de" "Datei" "L" "Timestamp" "Tätigkeit" "Dauer" "ALLES" "Gesamtzeit" "Datei Zeit" "Erstellt am")))) > > Does this require a patch and a TINYCHANGE? It would be great. Thank you ! Regards, -- Nicolas Goaziou ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Bug: Bug in Orgmode Clocktable? [9.0.5 (9.0.5-elpa @ c:/Users/sane/AppData/Roaming/.emacs.d/elpa/org-20170210/)] 2017-02-18 8:37 ` Nicolas Goaziou @ 2017-02-19 6:25 ` Axel Kielhorn 2017-02-19 8:41 ` Nicolas Goaziou 0 siblings, 1 reply; 7+ messages in thread From: Axel Kielhorn @ 2017-02-19 6:25 UTC (permalink / raw) To: Org-Mode Mailing List > Am 18.02.2017 um 09:37 schrieb Nicolas Goaziou <mail@nicolasgoaziou.fr>: > > Hello, > > Axel Kielhorn <org-mode@axelkielhorn.de> writes: > >> Maybe we should add a german translation? > > It would be great. Thank you ! > org-clock: Add german translation. * lisp/org-clocl.el (org-clock-clocktable-language-setup): German translations added. Axel Kielhorn <org-mode@axelkielhorn.de> TINYCHANGE diff --git a/lisp/org-clock.el b/lisp/org-clock.el index a807e2c..51655d9 100644 --- a/lisp/org-clock.el +++ b/lisp/org-clock.el @@ -320,7 +320,8 @@ For more information, see `org-clocktable-write-default'." '(("en" "File" "L" "Timestamp" "Headline" "Time" "ALL" "Total time" "File time" "Clock summary at") ("es" "Archivo" "N" "Fecha y hora" "Tarea" "Tiempo" "TODO" "Tiempo total" "Tiempo archivo" "Clock summary at") ("fr" "Fichier" "N" "Horodatage" "En-tête" "Durée" "TOUT" "Durée totale" "Durée fichier" "Horodatage sommaire à") - ("nl" "Bestand" "N" "Tijdstip" "Hoofding" "Duur" "ALLES" "Totale duur" "Bestandstijd" "Clock summary at")) + ("nl" "Bestand" "N" "Tijdstip" "Hoofding" "Duur" "ALLES" "Totale duur" "Bestandstijd" "Clock summary at") + ("de" "Datei" "N" "Timestamp" "Tätigkeit" "Dauer" "ALLES" "Gesamtdauer" "Datei Zeit" "Erstellt am")) "Terms used in clocktable, translated to different languages." :group 'org-clocktable :version "24.1" ^ permalink raw reply related [flat|nested] 7+ messages in thread
* Re: Bug: Bug in Orgmode Clocktable? [9.0.5 (9.0.5-elpa @ c:/Users/sane/AppData/Roaming/.emacs.d/elpa/org-20170210/)] 2017-02-19 6:25 ` Axel Kielhorn @ 2017-02-19 8:41 ` Nicolas Goaziou 0 siblings, 0 replies; 7+ messages in thread From: Nicolas Goaziou @ 2017-02-19 8:41 UTC (permalink / raw) To: Axel Kielhorn; +Cc: Org-Mode Mailing List Hello, Axel Kielhorn <org-mode@axelkielhorn.de> writes: > org-clock: Add german translation. > > * lisp/org-clocl.el (org-clock-clocktable-language-setup): German > translations added. > > Axel Kielhorn <org-mode@axelkielhorn.de> > TINYCHANGE Applied. Thank you. Regards, -- Nicolas Goaziou ^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2017-02-19 8:41 UTC | newest] Thread overview: 7+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2017-02-17 12:00 Bug: Bug in Orgmode Clocktable? [9.0.5 (9.0.5-elpa @ c:/Users/sane/AppData/Roaming/.emacs.d/elpa/org-20170210/)] michael.ziems 2017-02-17 12:27 ` Nicolas Goaziou [not found] ` <d71585505a8b63ccb54ddda996369281@xiron.de> 2017-02-17 14:14 ` Nicolas Goaziou 2017-02-18 6:13 ` Axel Kielhorn 2017-02-18 8:37 ` Nicolas Goaziou 2017-02-19 6:25 ` Axel Kielhorn 2017-02-19 8:41 ` Nicolas Goaziou
Code repositories for project(s) associated with this external index https://git.savannah.gnu.org/cgit/emacs.git https://git.savannah.gnu.org/cgit/emacs/org-mode.git This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.