From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Rick Moynihan" Subject: Re: Agenda error Date: Fri, 28 Sep 2007 19:12:28 +0100 Message-ID: References: <87hcp32n25.fsf@gmail.com> <4491f83ee44f16bef3ac15d74cb7504b@science.uva.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IbKKG-0005JU-9x for emacs-orgmode@gnu.org; Fri, 28 Sep 2007 14:12:32 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IbKKF-0005I8-Ix for emacs-orgmode@gnu.org; Fri, 28 Sep 2007 14:12:31 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IbKKF-0005Hu-G9 for emacs-orgmode@gnu.org; Fri, 28 Sep 2007 14:12:31 -0400 Received: from el-out-1112.google.com ([209.85.162.176]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IbKKF-0000fg-Et for emacs-orgmode@gnu.org; Fri, 28 Sep 2007 14:12:31 -0400 Received: by el-out-1112.google.com with SMTP id m34so714748ele for ; Fri, 28 Sep 2007 11:12:30 -0700 (PDT) In-Reply-To: Content-Disposition: inline List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Carsten Dominik Cc: emacs-orgmode@gnu.org Hi Carsten, As seems to be increasingly the case it took me a while to look into this, but when I did, with your insights it turned out to be only a few minutes work. It turns out that I had a ~/diary/ directory not a ~/diary file. It was hence fixed with a simple: ~ rmdir ~/diary/ ~ touch ~/diary Thanks again, R. On 02/07/2007, Carsten Dominik wrote: > Hi Rick, > > this remains a hard error to catch. > > From the backtrace, it seems that this happens in one of the > diary functions. I guess you do `org-agenda-include-diary'? > Do you have a "~/diary" file at the computer where this happens? > If you just start the calendar with M-x calendar, and then > press "d" to display the diary, does this work flawlessly? > How about when you do > > (add-hook 'diary-display-hook 'fancy-diary-display) > > Does this work without problems? > > Thanks. > > - Carsten > > On Jun 30, 2007, at 19:56, Rick Moynihan wrote: > > > Hi Carsten, > > > > Sorry for not getting this backtrace to you sooner. > > > > Thanks again, > > > > R. > > > > On 20/06/07, Carsten Dominik wrote: > >> Hi Rick, > >> > >> as you can see from the backtrace, this is not the same bug. > >> > >> You you try to make me a better (uncompiled) backtrace by explicitly > >> loading all > >> relevant .el files, like > >> > >> > >> emacs -l /path/to/calendar.el -l /path/to/diary-lib.el -l > >> /path/to/org.el > >> > >> > >> Thanks. > >> > >> - Carsten > >> > >> On Jun 20, 2007, at 7:48, Rick Moynihan wrote: > >> > >> > Carsten Dominik writes: > >> > > >> > Hi Carsten, > >> > > >> > Just to let you know I'm still getting the same error in 4.78 on the > >> > same version of GNU Emacs. I also get it when accessing the agenda > >> > from a buffer which is attached to a file. > >> > > >> > I've again attached a backtrace. > >> > > >> > > >> > > >> > > >> >> On Jun 16, 2007, at 18:33, Rick Moynihan wrote: > >> >> > >> >>> When at home I get the following error in org-mode when bringing > >> up > >> >>> the Agenda: > >> >>> > >> >>> Wrong type argument: stringp, nil > >> >>> > >> >>> I don't get this error on my setup at work. > >> >>> > >> >>> I am using org 4.77 (reports as 4.76) with GNU Emacs 22.1.50.1 > >> >>> (i686-pc-linux-gnu, GTK+ Version 2.10.11) of 2007-06-09. This > >> >>> version > >> >>> of Emacs came from the Gentoo masked ebuild so there may be some > >> >>> issues with it. > >> >>> > >> >>> For the M-x toggle-debug-on-error backtrace see the attached file. > >> >> > >> >> Thanks for the backtrace. This seems to be an odd error that can > >> >> happen > >> >> when a buffer without a filename is current when accessing the > >> agenda, > >> >> so this could be sensitively dependent on setup. > >> >> > >> >> This problem will be circumvented in the next version. Thanks. > >> >> > >> >> - Carsten > >> >> > >> > > >> > -- > >> > Rick Moynihan > >> > rick.moynihan@gmail.com > >> > > >> > >> -- > >> Carsten Dominik > >> Sterrenkundig Instituut "Anton Pannekoek" > >> Universiteit van Amsterdam > >> Kruislaan 403 > >> NL-1098SJ Amsterdam > >> phone: +31 20 525 7477 > >> > >> > > > > > > -- > > Rick > > rick.moynihan@gmail.com > > > > -- > Carsten Dominik > Sterrenkundig Instituut "Anton Pannekoek" > Universiteit van Amsterdam > Kruislaan 403 > NL-1098SJ Amsterdam > phone: +31 20 525 7477 > > -- Rick rick.moynihan@gmail.com