emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nick Dokos <nicholas.dokos@hp.com>
To: Charles Philip Chan <cpchan@bell.net>
Cc: Org-mode <emacs-orgmode@gnu.org>
Subject: Re: Icalendar Export Broken in Git Version
Date: Tue, 14 Aug 2012 23:40:14 -0400	[thread overview]
Message-ID: <6150.1345002014@alphaville> (raw)
In-Reply-To: Message from Charles Philip Chan <cpchan@bell.net> of "Tue\, 14 Aug 2012 20\:10\:03 EDT." <BLU0-SMTP84EED6D518ECE651351E32BBB60@phx.gbl>

Charles Philip Chan <cpchan@bell.net> wrote:

> Hello:
> 
> I tried to export an icalendar file with the current git version of
> org-mode and it failed. I debugged it by loading org-install on a clean
> Emacs with no init files and this is what I got:
> 
> ,----
> | Debugger entered--Lisp error: (wrong-type-argument number-or-marker-p nil)
> |   ...
> |   org-print-icalendar-entries(nil)
> |   ...
> |   org-export-icalendar(nil "/home/hoor/Desktop/Projects/plans/test.org")
> |   org-export-icalendar-this-file()
> |   call-interactively(org-export-icalendar-this-file record nil)
> |   command-execute(org-export-icalendar-this-file record)
> |   execute-extended-command(nil "org-export-icalendar-this-file")
> |   call-interactively(execute-extended-command nil nil)
> `----
> 
> If I replace org-icalendar with the version that comes with my Emacs
> 24.1.50.1 everything works.
> 

There are only two recent commits against org-icalendar. The second one
mentions org-print-icalendar-entries, so I bet that's the culprit :-)

,----
| commit 2cd4333398e16ddb8d321c2ab6e4fac18733b500
| Author: Bastien Guerry <bzg@altern.org>
| Date:   Sun Aug 5 18:59:51 2012 +0200
| 
|     Fix two compiler warnings.
| 
| commit 216768531f2661c4b1890eef6454f58e6cb8a241
| Author: Bastien Guerry <bzg@altern.org>
| Date:   Sun Aug 5 11:30:23 2012 +0200
| 
|     org-icalendar.el: Let APPT_WARNTIME take precedence over ̀org-icalendar-alarm-time'.
|     
|     * org-icalendar.el (org-print-icalendar-entries): Let
|     APPT_WARNTIME take precedence over ̀org-icalendar-alarm-time'.
`----

For future reference, if you can reproduce the problem with *uncompiled* org-mode,
the backtrace is going to be much more readable (no byte code hieroglyphics). Just
something to keep in mind.

Nick

  parent reply	other threads:[~2012-08-15  3:44 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-15  0:10 Icalendar Export Broken in Git Version Charles Philip Chan
2012-08-15  1:43 ` Bastien
2012-08-15  3:40 ` Nick Dokos [this message]
2012-08-15  3:57   ` Charles Philip Chan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=6150.1345002014@alphaville \
    --to=nicholas.dokos@hp.com \
    --cc=cpchan@bell.net \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).