From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: capture problem Date: Fri, 30 Dec 2011 04:07:27 -0500 Message-ID: <3582.1325236047@alphaville.dokosmarshall.org> References: Reply-To: nicholas.dokos@hp.com Return-path: Received: from eggs.gnu.org ([140.186.70.92]:48520) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RgYR2-0002gP-2o for emacs-orgmode@gnu.org; Fri, 30 Dec 2011 04:07:32 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RgYR0-0002cZ-V1 for emacs-orgmode@gnu.org; Fri, 30 Dec 2011 04:07:32 -0500 Received: from g5t0006.atlanta.hp.com ([15.192.0.43]:11804) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RgYR0-0002cV-RZ for emacs-orgmode@gnu.org; Fri, 30 Dec 2011 04:07:30 -0500 In-Reply-To: Message from tsd@tsdye.com (Thomas S. Dye) of "Thu, 29 Dec 2011 21:14:08 -1000." List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: "Thomas S. Dye" Cc: nicholas.dokos@hp.com, Org-mode Thomas S. Dye wrote: > Aloha all, > > I'm sometimes running into this error message when I capture: > > condition-case: Capture abort: (quit pasteboard doesn't contain valid data) > > Unfortunately, this doesn't mean anything to me. The problem arises > after I've been working for a while, but I haven't an idea why it > starts, or any clue to what might trigger it. > > I realize this isn't much to go on, and a long way from an ECM, but I > don't know what to do. Any ideas on how to track this down will be > appreciated. > > I'm using Org-mode version 7.8.02 (release_7.8.02.13.g0c09a.dirty). > It's fairly certain that the message comes from org-capture: ,---- | ... | (condition-case error | (org-capture-put :template (org-capture-fill-template)) | ((error quit) | (if (get-buffer "*Capture*") (kill-buffer "*Capture*")) | (error "Capture abort: %s" error))) | ... `---- and presumably from the call to org-capture-fill-template. The latter part of the error message comes from the emacs selection processing in the file src/nsselect.m which says: /* NeXT/Open/GNUstep / MacOSX Cocoa selection processing for emacs. in the function ,---- | ns_string_from_pasteboard (id pb) | { | ... | Fsignal (Qquit, | Fcons (build_string ("pasteboard doesn't contain valid data"), | Qnil)); | return Qnil; | ... | } `---- So it's MacOSX specific and in emacs C code. But I have no idea what causes it. I'm afraid that's about as far as I can go. If you can edebug the org-capture-fill-template function, maybe you can single-step it and figure out where it croaks and what values it passes to the function that causes the error and then proceed further down the call chain. Nick