When I include diary entries in the agenda, I get the following error while calling columns view in the agenda: org-entry-properties: Wrong type argument: stringp, nil When I turn off diary inclusion by typing "D", the problem goes away. Certainly, it is trivial to turn off diary inclusion before calling columns view or to create a custom agenda command that does the same, but I thought I'd report this behavior. Thanks, Matt
On Mon, Jan 5, 2009 at 7:16 AM, Matthew Lundin wrote: > > When I include diary entries in the agenda, I get the following error > while calling columns view in the agenda: > > org-entry-properties: Wrong type argument: stringp, nil > > When I turn off diary inclusion by typing "D", the problem goes away. > > Certainly, it is trivial to turn off diary inclusion before calling > columns view or to create a custom agenda command that does the same, > but I thought I'd report this behavior. I can not duplicate this. It works okay for me. -- Manish
Hi Matt, how about a backtrace, and maybe you can try
to figure out which line in your diary file causes the problem?
- Carsten
On Jan 5, 2009, at 2:46 AM, Matthew Lundin wrote:
>
> When I include diary entries in the agenda, I get the following error
> while calling columns view in the agenda:
>
> org-entry-properties: Wrong type argument: stringp, nil
>
> When I turn off diary inclusion by typing "D", the problem goes away.
>
> Certainly, it is trivial to turn off diary inclusion before calling
> columns view or to create a custom agenda command that does the same,
> but I thought I'd report this behavior.
>
> Thanks,
> Matt
>
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Remember: use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[-- Attachment #1: Type: text/plain, Size: 3265 bytes --] Hi Carsten, Carsten Dominik <dominik@science.uva.nl> writes: > Hi Matt, how about a backtrace, and maybe you can try > to figure out which line in your diary file causes the problem? > > - Carsten Absolutely. I've put the results below, along with a sample diary file I ran the test on and my configuration. I'm copying a backtrace for the first time, so feel free to tell me if I've failed to include something. First, before I include the results, I believe I've identified the culprit: it's the syntax for generic monthly events in the diary, e.g., */3 Monthly meeting When I remove this line from the sample diary file, agenda column view works fine. (By the way, this was the impetus I needed to switch all my appointments to org-mode, since it's so nice to be able to add notes to events in org-mode files.) Best, Matt ---begin Backtrace--- Debugger entered--Lisp error: (wrong-type-argument stringp nil) looking-at(nil) org-entry-properties(#<marker at 1 in diary>) byte-code("ÆÇ!È \b`ÉÉ\x19\x1a^[\x1c\x1d\x1e1\x1e2ÊË!>\0\x0e\v>\0\x0e\v\x162Ë\x0e2\x1e3\x1e4Ì\x0e4!\x0e3L*\0ÍÎ Ï\"\x14^\0Ð\fÑÒ#Y\0rÓ\f!q\x0e5)\x162\0ÊÔ!v\0ÕÔ!v\0\x0e\x14v\0\x0e\x14\x162\0ÖeÏ\"\x14\0Í\fÏ\"\x14Ð\fÑÒ#\0rÓ\f!q\x0e5)\x162\x0e2\0\x0e5\x162Ô\x0e2\x1e3\x1e4Ì\x0e4!\x0e3L*×\x0e2!\x0e6¿\0Ø\x0e7!ebm=\x01Í`Ï\"Ò\0Í`Ù\"\x146\x01Ú\f!\x13Û\x0e8\v\"\x12ñ\0ÜÝ\nAí\0Þ\"\x13\x01\x0e9\x13\x01Í`ß\"\x11\x13\x01à !\x11áâ Gãä %\x0e8 B\vB\x13É\x1e:\x0e: \x01\x0e:bn(\x01å)\x01âæå`\"\\*\vB\x0e1B\x161çè!Ã\0\x0e1 \x01é\x0e2\x0e1\"\x15ê\r\x1e3\x1e4Ì\x0e4!\x0e3L*ë ìÊí! d\x01\x0e-\x1e3\x1e4Ì\x0e4!\x0e3L*w\x01íâ!îï\x0e1\"\x0e; \x01ð\x0e1!.\b" [org-columns-begin-marker d a p m maxwidths org-verify-version columns org-columns-remove-overlays nil boundp org-agenda-overriding-columns-format make-variable-buffer-local get-text-property point-at-bol org-hd-marker org-entry-get "COLUMNS" t marker-buffer org-columns-current-fmt local-variable-p next-single-property-change org-columns-compile-format org-agenda-colview-compute org-marker org-entry-properties assoc string-match "\\S-" "" duration org-minutes-to-hh:mm-string put-text-property 0 face org-warning 1 count-lines beginning-of-line 2 org-columns-get-autowidth-alist org-columns-current-maxwidths org-columns-display-here-title org-columns-flyspell-was-active flyspell-mode mapc #[(x) "Á\b@!Â\bA!" [x goto-line org-columns-display-here] 2] org-agenda-colview-summarize cache ...] 7) * org-agenda-columns() call-interactively(org-agenda-columns) ---end Backtrace--- ---begin diary file--- */6 Monthly meeting Thursday Weekly discussion %%(and (= 1 (calendar-day-of-week date)) (diary-block 1 12 2009 2 28 2009)) 3:30pm-5:00pm Weekly meeting %%(diary-anniversary 3 5 1975) James turns %d %%(diary-block 1 19 2009 1 22 2009) Chicago trip Jan 7, 2009 2:00pm meeting ---end diary file---- ---begin diary configuration--- (setq diary-file "~/diary") (setq cal-tex-diary t) (setq cal-tex-holidays nil) (setq view-diary-entries-initially t) (setq mark-diary-entries-in-calendar t) (setq number-of-diary-entries 1) (add-hook 'diary-display-hook 'fancy-diary-display) (add-hook 'list-diary-entries-hook 'sort-diary-entries t) (add-hook 'today-visible-calendar-hook 'calendar-mark-today) ---end diary configuration--- [-- Attachment #2: Type: text/plain, Size: 204 bytes --] _______________________________________________ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
fixed, thanks.
- Carsten
On Jan 6, 2009, at 4:01 PM, Matthew Lundin wrote:
>
> Hi Carsten,
>
> Carsten Dominik <dominik@science.uva.nl> writes:
>
>> Hi Matt, how about a backtrace, and maybe you can try
>> to figure out which line in your diary file causes the problem?
>>
>> - Carsten
>
> Absolutely. I've put the results below, along with a sample diary file
> I ran the test on and my configuration. I'm copying a backtrace for
> the first time, so feel free to tell me if I've failed to include
> something.
>
> First, before I include the results, I believe I've identified the
> culprit: it's the syntax for generic monthly events in the diary,
> e.g.,
>
> */3 Monthly meeting
>
> When I remove this line from the sample diary file, agenda column view
> works fine.
>
> (By the way, this was the impetus I needed to switch all my
> appointments to org-mode, since it's so nice to be able to add notes
> to events in org-mode files.)
>
> Best,
> Matt
>
> ---begin Backtrace---
>
> Debugger entered--Lisp error: (wrong-type-argument stringp nil)
> looking-at(nil)
> org-entry-properties(#<marker at 1 in diary>)
> byte-code("ÆÇ!È \b`ÉÉ\x19\x1a^[\x1c\x1d\x1e1\x1e2ÊË!>\x0e\v>\x0e\v\x162Ë\x0e2\x1e3\x1e4Ì\x0e4!\x0e
> 3L*ÍÎ Ï\"\x14^Ð\fÑÒ#YrÓ\f!q\x0e5)\x162ÊÔ!vÕÔ!v\x0e\x14v\x0e\x14\x162ÖeÏ\"\x14Í
> \fÏ\"\x14Ð\fÑÒ#rÓ\f!q\x0e5)\x162\x0e2\x0e5\x162Ô\x0e2\x1e3\x1e4Ì\x0e4!\x0e3L*×\x0e2!\x0e6¿Ø\x0e7!
> ebm=\x01Í`Ï\"ÒÍ`Ù\"\x146\x01Ú\f!\x13Û\x0e8\v\"\x12ñÜÝ\nAíÞ\"\x13\x01\x0e9\x13\x01Í`ß
> \"\x11\x13\x01à !\x11áâ Gãä %\x0e8 B\vB\x13É\x1e:\x0e: \x01\x0e:bn(\x01å)\x01âæå`\"\\*\vB\x0e1B\x161çè!
> Ã\x0e1
> \x01é\x0e2\x0e1\"\x15ê
> \x1e3\x1e4Ì\x0e4!\x0e3L*ë ìÊí!
> d\x01\x0e-\x1e3\x1e4Ì\x0e4!\x0e3L*w\x01íâ!îï\x0e1\"\x0e;
> \x01ð\x0e1!.\b" [org-columns-begin-marker d a p m maxwidths org-verify-
> version columns org-columns-remove-overlays nil boundp org-agenda-
> overriding-columns-format make-variable-buffer-local get-text-
> property point-at-bol org-hd-marker org-entry-get "COLUMNS" t marker-
> buffer org-columns-current-fmt local-variable-p next-single-property-
> change org-columns-compile-format org-agenda-colview-compute org-
> marker org-entry-properties assoc string-match "\\S-" "" duration
> org-minutes-to-hh:mm-string put-text-property 0 face org-warning 1
> count-lines beginning-of-line 2 org-columns-get-autowidth-alist org-
> columns-current-maxwidths org-columns-display-here-title org-columns-
> flyspell-was-active flyspell-mode mapc #[(x) "Á\b@!Â\bA!" [x goto-
> line org-columns-display-here] 2] org-agenda-colview-summarize
> cache ...] 7)
> * org-agenda-columns()
> call-interactively(org-agenda-columns)
>
> ---end Backtrace---
>
> ---begin diary file---
>
> */6 Monthly meeting
> Thursday Weekly discussion
> %%(and (= 1 (calendar-day-of-week date)) (diary-block 1 12 2009 2 28
> 2009)) 3:30pm-5:00pm Weekly meeting
> %%(diary-anniversary 3 5 1975) James turns %d
> %%(diary-block 1 19 2009 1 22 2009) Chicago trip
> Jan 7, 2009 2:00pm meeting
>
> ---end diary file----
>
> ---begin diary configuration---
>
> (setq diary-file "~/diary")
> (setq cal-tex-diary t)
> (setq cal-tex-holidays nil)
>
> (setq view-diary-entries-initially t)
> (setq mark-diary-entries-in-calendar t)
> (setq number-of-diary-entries 1)
> (add-hook 'diary-display-hook 'fancy-diary-display)
> (add-hook 'list-diary-entries-hook 'sort-diary-entries t)
> (add-hook 'today-visible-calendar-hook 'calendar-mark-today)
>
> ---end diary configuration---