emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* debugging export error
@ 2014-10-08 19:11 Charles Berry
  2014-10-08 19:22 ` Nicolas Goaziou
  0 siblings, 1 reply; 2+ messages in thread
From: Charles Berry @ 2014-10-08 19:11 UTC (permalink / raw)
  To: emacs-orgmode


I am trying to debug a subtree export. 

I get 

member-ignore-case: Wrong type argument: stringp, nil

and it seems to come from `org-export-get-environment' but if I instrument
that function, the error goes away whether I step thru it or `c' on entry.

Likewise, if I M-x debug-on-entry and just `c' on entry, I get no error.

Bisecting the file with the subtree I am trying to export, I can find things
- like removing an unused src block - that when changed get rid of the 
error.

But I'd really like to know what is going on here and not being able to
see the problem thru a debugger is a frustration.

Advice appreciated.

Chuck

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: debugging export error
  2014-10-08 19:11 debugging export error Charles Berry
@ 2014-10-08 19:22 ` Nicolas Goaziou
  0 siblings, 0 replies; 2+ messages in thread
From: Nicolas Goaziou @ 2014-10-08 19:22 UTC (permalink / raw)
  To: Charles Berry; +Cc: emacs-orgmode

Hello,

Charles Berry <ccberry@ucsd.edu> writes:

> I am trying to debug a subtree export. 
>
> I get 
>
> member-ignore-case: Wrong type argument: stringp, nil
>
> and it seems to come from `org-export-get-environment' but if I instrument
> that function, the error goes away whether I step thru it or `c' on entry.
>
> Likewise, if I M-x debug-on-entry and just `c' on entry, I get no error.
>
> Bisecting the file with the subtree I am trying to export, I can find things
> - like removing an unused src block - that when changed get rid of the 
> error.
>
> But I'd really like to know what is going on here and not being able to
> see the problem thru a debugger is a frustration.
>
> Advice appreciated.

M-x toggle-debug-on-error and running an uncompiled Org should give you
a better starting point.


Regards,

-- 
Nicolas Goaziou

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-10-08 19:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-10-08 19:11 debugging export error Charles Berry
2014-10-08 19:22 ` Nicolas Goaziou

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).