emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* member-ignore-case: Wrong type argument: stringp, nil
@ 2016-10-12  3:40 Vikas Rawal
  2016-10-12  4:10 ` Vikas Rawal
  2016-10-12  9:34 ` Rasmus
  0 siblings, 2 replies; 5+ messages in thread
From: Vikas Rawal @ 2016-10-12  3:40 UTC (permalink / raw)
  To: org-mode mailing list

I get this message when trying to export an org file (with embedded source code blocks) to latex:

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

How do I go about figuring out what exactly is going wrong?

I have tried to isolate the problem by removing stuff from the file, to see when does the problem go away. Some source code blocks seem to cause it. If I remove them, the problem goes. But there is nothing in those code blocks.. For example, the one below is giving me trouble. 

#+NAME: australiafabainst
#+BEGIN_SRC R :results output graphics :exports results :file australia-faba-instability.png :width 1200 :height 700  :type cairo :family serif :session pulses

## Some R code here to make a graph

#+END_SRC

But there are many others like this, which are not giving any error.

Vikas

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

* Re: member-ignore-case: Wrong type argument: stringp, nil
  2016-10-12  3:40 member-ignore-case: Wrong type argument: stringp, nil Vikas Rawal
@ 2016-10-12  4:10 ` Vikas Rawal
  2016-10-12 10:33   ` Nicolas Goaziou
  2016-10-12  9:34 ` Rasmus
  1 sibling, 1 reply; 5+ messages in thread
From: Vikas Rawal @ 2016-10-12  4:10 UTC (permalink / raw)
  To: org-mode mailing list

[-- Attachment #1: Type: text/plain, Size: 9853 bytes --]


> On 12-Oct-2016, at 9:10 am, Vikas Rawal <vikaslists@agrarianresearch.org> wrote:
> 
> Wrong type argument: stringp, nil


Debug gives me this:

Debugger entered--Lisp error: (wrong-type-argument stringp nil)
  compare-strings(nil 0 nil "CAPTION" 0 nil t)
  member-ignore-case(nil ("CAPTION"))
  #[0 "\212\214~\210`\300\206\v\0\306 \211\211:\204\x1c\0\211;\205$\0\307\262\x01\202&\0\211@9\205$\0\211@\262\x01\310\x02\211;\2037\0\311\312\x03\x03#\266\202\202?\0\313\x01A@\x03\"\266\202\211\203\233\0\x03\x01W\203\233\0\314 \210\315\x19\316\n!\210)\317\320\321!\v\"\204d\0\322\323\x04\"\210\202\225\0\312\225\x04W\203t\0\312\225\324 }\210\202\225\0\325\224\203\220\0\x03\325\224Y\203\220\0\x03\325\225W\203\220\0\325\224\325\225}\210\202\225\0\322\323\x04\"\210\326\262\x02\202=\x02\x01\327=\203\370\0\330\x03\211;\203\262\0\311\312\x03\x03#\266\202\202\272\0\313\x01A@\x03\"\266\202\211\203\305\0\331 \x02U\204\315\0\322\323\x05\"\210\202\364\0\314 \210\332\x01\324 \"\210\312\224b\210\x04`Y\203\357\0\x04\312\225W\203\357\0`\312\225}\210\202\364\0\322\323\x05\"\210\210\202=\x02\x01\333>\203R\x01\334\x03\211;\203\x0f\x01\311\312\x03\x03#\266\202\202\x17\x01\313\x01A@\x03\"\266\202b\210\316\f!\210\335\225\211\204+\x01\322\323\x05\"\210\202N\x01\335\224b\210\336\x19\316
!)\203<\x01\312\225b\210`\x01Y\203J\x01\322\323\x05\"\210\202N\x01`\x01}\210\210\202=\x02\x01\337>\203\272\x01\340\x03\211;\203i\x01\311\312\x03\x03#\266\202\202q\x01\313\x01A@\x03\"\266\202\341\x04\211;\203\202\x01\311\312\x03\x03#\266\202\202\212\x01\313\x01A@\x03\"\266\202\x01\203\257\x01\211\203\257\x01\x05\x02Y\203\257\x01\x05\x01W\204\250\x01\x05\x01U\203\257\x01m\203\257\x01\x01\x01}\210\202\265\x01\322\323\x06\x06\"\210\266\x02\202=\x02\x01\342=\2038\x02\343\211\203/\x02\211@\211\x05\211;\203\330\x01\311\312\x03\x03#\266\202\202\340\x01\313\x01A@\x03\"\266\202\211\203'\x02\334\x01\211;\203\365\x01\311\312\x03\x03#\266\202\202\375\x01\313\x01A@\x03\"\266\202\x06\aX\203'\x02\344\x01\211;\203\x14\x02\311\312\x03\x03#\266\202\202\x1c\x02\313\x01A@\x03\"\266\202\x06\aV\203'\x02\322\323\x02\"\210\210\x01A\266\202\202\301\x01\210\322\323\x04\"\210\202=\x02\322\323\x04\"\210eb\210\x01\2119\203J\x02\211\202e\x02\211\211:\204[\x02\211;\205c\x02\307\262\x01\202e\x02\211@9\205c\x02\211@\262\x01\x0e3\236A\262\x01C\x03C\x0e4\203~\x02\x0e5\203~\x02\345\346!\204\202\x02\336\202\223\x02\x0e6\203\217\x02\347\x05\x0e6\"\202\223\x02\350 \210\336C\336C\336C\336C\351\352\353\312\354\355\356\x06\x10\x06
\x06
\x06
\x06
\x06
\x06
&\a\357\"\360\361%D\215\362\x06\n\x06\x06\242\"\210\266\206\266\204*\207" [nil case-fold-search org-element--affiliated-re org-element-parsed-keywords org-complex-heading-regexp org-comment-string org-element-at-point plain-text :post-affiliated get-text-property 0 plist-get beginning-of-line t looking-at member-ignore-case match-string 1 throw objects-forbidden line-end-position 2 keyword item :tag line-beginning-position search-forward (headline inlinetask) :begin 4 nil (paragraph table-row verse-block) :contents-begin :contents-end planning (:closed :deadline :scheduled) :end derived-mode-p org-mode gethash org-element-cache-reset exit funcall make-byte-code "\304\242\204\"\0\302\242\303\242\236\211\203\x15\0\305\x01\240\210\202!\0\303\305\302\242\307D\240\303\242B\240\210\210\310\311\312\313\314\315\316\300\301\302\304\305%\317\"\320\321%D\215\210\304\242\203[\0\322\304\242\211;\203N\0\323\313\x03\x03#\266\202\202V\0\324\x01A@\x03\"\266\202\300V\203i\0\325\326\306\242\206d\0\302\242\"\210\202\0\0\327\304\242\211;\203{\0\323\313\x03\x03#\266\202\202\203\0\324\x01A@\x03\"\266\202\330\304\242\211;\203\225\0\323\313\x03\x03#\266\202\202\235\0\324\x01A@\x03\"\266\202\331\304\242\211;\203\257\0\323\313\x03\x03#\266\202\202\267\0\324\x01A@\x03\"\266\202\x02\300X\203\334\0d\x03U\204\334\0\x02b\210\x02\300U\203T\x01`Sf\332>\204T\x01\306\304\242\240\210\202T\x01\x01\203N\x01\211\203N\x01\300\x02Y\203N\x01\300\x01W\204\b\x01\300\x01U\203N\x01d\300U\204\b\x01\300\206\x01\x01`Sf\333>\204N\x01\x01b\210`\x01}\210\302\304\242\240\210\301\304\242\2119\203 \x01\211\202;\x01\211\211:\2041\x01\211;\2059\x01\334\262\x01\202;\x01\211@9\2059\x01\211@\262\x01\x0e\x1d\236A\262\x01\240\210\304\307\240\210\305\307\240\210\202T\x01\325\326\304\242\"\210\266\x03\202\0\0" vconcat vector [nil found funcall make-byte-code 0 "\303\242\203\x0f\0\303\305\301\242!\240\210\202\312\0\304\242\211AA\262\x01\304\242A@\x01\204+\0\211\203+\0\306\307\302\242\"\210\202\310\0\x01\2049\0\303\305\301\242!\240\210\202\310\0\310\x02@\211;\203K\0\311\312\x03\x03#\266\202\202S\0\313\x01A@\x03\"\266\202\211\300Y\203\275\0\x02\211\203\263\0\211@\314\x01\211;\203q\0\311\312\x03\x03#\266\202\202y\0\313\x01A@\x03\"\266\202\300X\203\254\0\310\x01\211;\203\217\0\311\312\x03\x03#\266\202\202\227\0\313\x01A@\x03\"\266\202\300Y\203\246\0\306\315\303\x03\240\"\210\202\254\0\306\307\302\242\"\210\x01A\266\202\202Z\0\306\307\302\242\"\266\x02\202\307\0\211b\210\303\305\301\242!\240\210\210\266\x02\303\242\203\x02\x01\303\242\316\302\242\x02;\203\344\0\317\x03\320\x04\x04$\266\203\202\362\0\x02A\321\x04A@\x04\x04#\240\210\x02\266\203\210\304\242\211A\303\242\x02\211AA\262\x01B\241\207\304\242A\322\240\207" vconcat vector [org-element--object-lex throw exit :end get-text-property 0 plist-get :begin found :parent org-add-props nil plist-put t] 11 "\n\n(fn)" :begin get-text-property plist-get throw exit :end :contents-begin :contents-end (32 9) (32 9) plain-text org-element-object-restrictions] 12 "\n\n(fn)" ...] 24 "\n\n(fn)"]()
  funcall(#[0 "\212\214~\210`\300\206\v\0\306 \211\211:\204\x1c\0\211;\205$\0\307\262\x01\202&\0\211@9\205$\0\211@\262\x01\310\x02\211;\2037\0\311\312\x03\x03#\266\202\202?\0\313\x01A@\x03\"\266\202\211\203\233\0\x03\x01W\203\233\0\314 \210\315\x19\316\n!\210)\317\320\321!\v\"\204d\0\322\323\x04\"\210\202\225\0\312\225\x04W\203t\0\312\225\324 }\210\202\225\0\325\224\203\220\0\x03\325\224Y\203\220\0\x03\325\225W\203\220\0\325\224\325\225}\210\202\225\0\322\323\x04\"\210\326\262\x02\202=\x02\x01\327=\203\370\0\330\x03\211;\203\262\0\311\312\x03\x03#\266\202\202\272\0\313\x01A@\x03\"\266\202\211\203\305\0\331 \x02U\204\315\0\322\323\x05\"\210\202\364\0\314 \210\332\x01\324 \"\210\312\224b\210\x04`Y\203\357\0\x04\312\225W\203\357\0`\312\225}\210\202\364\0\322\323\x05\"\210\210\202=\x02\x01\333>\203R\x01\334\x03\211;\203\x0f\x01\311\312\x03\x03#\266\202\202\x17\x01\313\x01A@\x03\"\266\202b\210\316\f!\210\335\225\211\204+\x01\322\323\x05\"\210\202N\x01\335\224b\210\336\x19\316
!)\203<\x01\312\225b\210`\x01Y\203J\x01\322\323\x05\"\210\202N\x01`\x01}\210\210\202=\x02\x01\337>\203\272\x01\340\x03\211;\203i\x01\311\312\x03\x03#\266\202\202q\x01\313\x01A@\x03\"\266\202\341\x04\211;\203\202\x01\311\312\x03\x03#\266\202\202\212\x01\313\x01A@\x03\"\266\202\x01\203\257\x01\211\203\257\x01\x05\x02Y\203\257\x01\x05\x01W\204\250\x01\x05\x01U\203\257\x01m\203\257\x01\x01\x01}\210\202\265\x01\322\323\x06\x06\"\210\266\x02\202=\x02\x01\342=\2038\x02\343\211\203/\x02\211@\211\x05\211;\203\330\x01\311\312\x03\x03#\266\202\202\340\x01\313\x01A@\x03\"\266\202\211\203'\x02\334\x01\211;\203\365\x01\311\312\x03\x03#\266\202\202\375\x01\313\x01A@\x03\"\266\202\x06\aX\203'\x02\344\x01\211;\203\x14\x02\311\312\x03\x03#\266\202\202\x1c\x02\313\x01A@\x03\"\266\202\x06\aV\203'\x02\322\323\x02\"\210\210\x01A\266\202\202\301\x01\210\322\323\x04\"\210\202=\x02\322\323\x04\"\210eb\210\x01\2119\203J\x02\211\202e\x02\211\211:\204[\x02\211;\205c\x02\307\262\x01\202e\x02\211@9\205c\x02\211@\262\x01\x0e3\236A\262\x01C\x03C\x0e4\203~\x02\x0e5\203~\x02\345\346!\204\202\x02\336\202\223\x02\x0e6\203\217\x02\347\x05\x0e6\"\202\223\x02\350 \210\336C\336C\336C\336C\351\352\353\312\354\355\356\x06\x10\x06
\x06
\x06
\x06
\x06
\x06
&\a\357\"\360\361%D\215\362\x06\n\x06\x06\242\"\210\266\206\266\204*\207" [nil case-fold-search org-element--affiliated-re org-element-parsed-keywords org-complex-heading-regexp org-comment-string org-element-at-point plain-text :post-affiliated get-text-property 0 plist-get beginning-of-line t looking-at member-ignore-case match-string 1 throw objects-forbidden line-end-position 2 keyword item :tag line-beginning-position search-forward (headline inlinetask) :begin 4 nil (paragraph table-row verse-block) :contents-begin :contents-end planning (:closed :deadline :scheduled) :end derived-mode-p org-mode gethash org-element-cache-reset exit funcall make-byte-code "\304\242\204\"\0\302\242\303\242\236\211\203\x15\0\305\x01\240\210\202!\0\303\305\302\242\307D\240\303\242B\240\210\210\310\311\312\313\314\315\316\300\301\302\304\305%\317\"\320\321%D\215\210\304\242\203[\0\322\304\242\211;\203N\0\323\313\x03\x03#\266\202\202V\0\324\x01A@\x03\"\266\202\300V\203i\0\325\326\306\242\206d\0\302\242\"\210\202\0\0\327\304\242\211;\203{\0\323\313\x03\x03#\266\202\202\203\0\324\x01A@\x03\"\266\202\330\304\242\211;\203\225\0\323\313\x03\x03#\266\202\202\235\0\324\x01A@\x03\"\266\202\331\304\242\211;\203\257\0\323\313\x03\x03#\266\202\202\267\0\324\x01A@\x03\"\266\202\x02\300X\203\334\0d\x03U\204\334\0\x02b\210\x02\300U\203T\x01`Sf\332>\204T\x01\306\304\242\240\210\202T\x01\x01\203N\x01\211\203N\x01\300\x02Y\203N\x01\300\x01W\204\b\x01\300\x01U\203N\x01d\300U\204\b\x01\300\206\x01\x01`Sf\333>\204N\x01\x01b\210`\x01}\210\302\304\242\240\210\301\304\242\2119\203 \x01\211\202;\x01\211\211:\2041\x01\211;\2059\x01\334\262\x01\202;\x01\211@9\2059\x01\211@\262\x01\x0e\x1d\236A\262\x01\240\210\304\307\240\210\305\307\240\210\202T\x01\325\326\304\242\"\210\266\x03\202\0\0" vconcat vector [nil found funcall make-byte-code 0 "\303\242\203\x0f\0\303\305\301\242!\240\210\202\312\0\304\242\211AA\262\x01\304\242A@\x01\204+\0\211\203+\0\306\307\302\242\"\210\202\310\0\x01\2049\0\303\305\301\242!\240\210\202\310\0\310\x02@\211;\203K\0\311\312\x03\x03#\266\202\202S\0\313\x01A@\x03\"\266\202\211\300Y\203\275\0\x02\211\203\263\0\211@\314\x01\211;\203q\0\311\312\x03\x03#\266\202\202y\0\313\x01A@\x03\"\266\202\300X\203\254\0\310\x01\211;\203\217\0\311\312\x03\x03#\266\202\202\227\0\313\x01A@\x03\"\266\202\300Y\203\246\0\306\315\303\x03\240\"\210\202\254\0\306\307\302\242\"\210\x01A\266\202\202Z\0\306\307\302\242\"\266\x02\202\307\0\211b\210\303\305\301\242!\240\210\210\266\x02\303\242\203\x02\x01\303\242\316\302\242\x02;\203\344\0\317\x03\320\x04\x04$\266\203\202\362\0\x02A\321\x04A@\x04\x04#\240\210\x02\266\203\210\304\242\211A\303\242\x02\211AA\262\x01B\241\207\304\242A\322\240\207" vconcat vector [org-element--object-lex throw exit :end get-text-property 0 plist-get :begin found :parent org-add-props nil plist-put t] 11 "\n\n(fn)" :begin get-text-property plist-get throw exit :end :contents-begin :contents-end (32 9) (32 9) plain-text org-element-object-restrictions] 12 "\n\n(fn)" ...] 24 "\n\n(fn)"])
  org-element-context()
  org-babel-exp-process-buffer()
  org-export-as(latex nil nil nil (:output-file "./drybeans_note.tex"))
  org-export-to-file(latex "./drybeans_note.tex" nil nil nil nil nil #[257 "\300\x01!\207" [org-latex-compile] 3 "\n\n(fn FILE)"])
  org-latex-export-to-pdf(nil nil nil nil)
  (org-open-file (org-latex-export-to-pdf nil s v b))
  (if a (org-latex-export-to-pdf t s v b) (org-open-file (org-latex-export-to-pdf nil s v b)))
  (lambda (a s v b) (if a (org-latex-export-to-pdf t s v b) (org-open-file (org-latex-export-to-pdf nil s v b))))(nil nil nil nil)
  org-export-dispatch(nil)
  call-interactively(org-export-dispatch nil nil)
  command-execute(org-export-dispatch)


[-- Attachment #2: Type: text/html, Size: 11450 bytes --]

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

* Re: member-ignore-case: Wrong type argument: stringp, nil
  2016-10-12  3:40 member-ignore-case: Wrong type argument: stringp, nil Vikas Rawal
  2016-10-12  4:10 ` Vikas Rawal
@ 2016-10-12  9:34 ` Rasmus
  1 sibling, 0 replies; 5+ messages in thread
From: Rasmus @ 2016-10-12  9:34 UTC (permalink / raw)
  To: emacs-orgmode

Hi Vikas,

Thanks for your report.

Vikas Rawal <vikaslists@agrarianresearch.org> writes:

> I get this message when trying to export an org file (with embedded source code blocks) to latex:
>
> member-ignore-case: Wrong type argument: stringp, nil

Somewhere, a member-ignore-case is given a result that is not a string...

> How do I go about figuring out what exactly is going wrong?

Is the error present from "emacs -q"?
Try to use an uncompiled version of Org to get a cleaner traceback.  

> I have tried to isolate the problem by removing stuff from the file,
> to see when does the problem go away. Some source code blocks seem to
> cause it. If I remove them, the problem goes. But there is nothing in
> those code blocks.. For example, the one below is giving me trouble.
>
> #+NAME: australiafabainst
> #+BEGIN_SRC R :results output graphics :exports results :file australia-faba-instability.png :width 1200 :height 700  :type cairo :family serif :session pulses
>
> ## Some R code here to make a graph
>
> #+END_SRC
>
> But there are many others like this, which are not giving any error.

I can't reproduce the error with this example.

Thanks,
Rasmus

-- 
And I faced endless streams of vendor-approved Ikea furniture. . .

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

* Re: member-ignore-case: Wrong type argument: stringp, nil
  2016-10-12  4:10 ` Vikas Rawal
@ 2016-10-12 10:33   ` Nicolas Goaziou
  2016-10-19  0:31     ` Vikas Rawal
  0 siblings, 1 reply; 5+ messages in thread
From: Nicolas Goaziou @ 2016-10-12 10:33 UTC (permalink / raw)
  To: Vikas Rawal; +Cc: org-mode mailing list

Hello,

Vikas Rawal <vikaslists@agrarianresearch.org> writes:

>> On 12-Oct-2016, at 9:10 am, Vikas Rawal <vikaslists@agrarianresearch.org> wrote:
>> 
>> Wrong type argument: stringp, nil
>
>
> Debug gives me this:
>
> Debugger entered--Lisp error: (wrong-type-argument stringp nil)

I guess this is a cache bug. Try M-x org-element-cache-reset in a buffer
where the error happens. Does it disappear?

Regards,

-- 
Nicolas Goaziou

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

* Re: member-ignore-case: Wrong type argument: stringp, nil
  2016-10-12 10:33   ` Nicolas Goaziou
@ 2016-10-19  0:31     ` Vikas Rawal
  0 siblings, 0 replies; 5+ messages in thread
From: Vikas Rawal @ 2016-10-19  0:31 UTC (permalink / raw)
  To: Nicolas Goaziou; +Cc: org-mode mailing list

> 
>>> On 12-Oct-2016, at 9:10 am, Vikas Rawal <vikaslists@agrarianresearch.org> wrote:
>>> 
>>> Wrong type argument: stringp, nil
>> 
>> 
>> Debug gives me this:
>> 
>> Debugger entered--Lisp error: (wrong-type-argument stringp nil)
> 
> I guess this is a cache bug. Try M-x org-element-cache-reset in a buffer
> where the error happens. Does it disappear?
> 

You are perhaps right. M-x org-element-cache-reset did not solve the problem but restarting emacs did.

Thanks.

Vikas

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

end of thread, other threads:[~2016-10-19  0:31 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-10-12  3:40 member-ignore-case: Wrong type argument: stringp, nil Vikas Rawal
2016-10-12  4:10 ` Vikas Rawal
2016-10-12 10:33   ` Nicolas Goaziou
2016-10-19  0:31     ` Vikas Rawal
2016-10-12  9:34 ` Rasmus

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