From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Hendy Subject: Re: Wrong type argument on latex/pdf export after git pull (9.0.2-136) Date: Thu, 22 Dec 2016 10:34:00 -0600 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:54070) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cK6Je-0003Ay-HY for emacs-orgmode@gnu.org; Thu, 22 Dec 2016 11:34:03 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cK6Jd-0008RF-AM for emacs-orgmode@gnu.org; Thu, 22 Dec 2016 11:34:02 -0500 Received: from mail-ua0-x22a.google.com ([2607:f8b0:400c:c08::22a]:33883) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cK6Jd-0008Qw-6p for emacs-orgmode@gnu.org; Thu, 22 Dec 2016 11:34:01 -0500 Received: by mail-ua0-x22a.google.com with SMTP id 34so50430696uac.1 for ; Thu, 22 Dec 2016 08:34:01 -0800 (PST) In-Reply-To: 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" To: emacs-orgmode I'd been looking into debugging in a separate tab, got distracted, and sent this after forgetting I was going to do that. My apologies for the second email... I followed the feedback instructions and got this output:[1] Debugger entered--Lisp error: (wrong-type-argument arrayp nil) replace-regexp-in-string("[^-0-9a-zA-Z_./\n]" "\\\\\\&" nil) shell-quote-argument(nil) org-compile-file("test.tex" ("%L -interaction nonstopmode -output-directory %o %f" "%L -interaction nonstopmode -output-directory %o %f" "%L -interaction nonstopmode -output-directory %o %f") "pdf" "See \"*Org PDF LaTeX Output*\" for details" # ((66 . "bibtex") (76 . "pdflatex"))) org-latex-compile("test.tex") #[257 "\300 !\207" [org-latex-compile] 3 "\n\n(fn FILE)"]("test.tex") org-export-to-file(latex "test.tex" nil nil nil nil nil #[257 "\300 !\207" [org-latex-compile] 3 "\n\n(fn FILE)"]) org-latex-export-to-pdf(nil nil nil nil) org-export-dispatch(nil) funcall-interactively(org-export-dispatch nil) call-interactively(org-export-dispatch nil nil) command-execute(org-export-dispatch) Thanks for any suggestions, John [1] "Activate debugging" chunk added to top of min-config file already shared. - http://orgmode.org/manual/Feedback.html On Thu, Dec 22, 2016 at 10:29 AM, John Hendy wrote: > Greetings, > > > I'm finishing up a 30 page end of year work report and perhaps > stupidly decided I'd git pull on my various emacs packages last night. > I went to work on it today and I'm getting the following error: > > C-c C-e l p > shell-quote-argument: Wrong type argument: arrayp, nil > > I fiddled with tagging various headlines in my real report with > :noexport: with no success in finding something in the file causing > this. I then made a simple test file and min config which also creates > the behavior (emacs -Q, M-x load min-config): > > #+begin_src min-config > (add-to-list 'load-path "~/.elisp/org/lisp/") > (add-to-list 'load-path "~/.elisp/org/contrib/lisp") > > (require 'ox-latex) > #+end_src > > #+begin_src org > * heading 1 > > blah blah blah > #+end_src > > M-x org-version > Org mode version 9.0.2 (release_9.0.2-136-g7fd61c @ > /home/jwhendy/.elisp/org/lisp/) > > Is there a way to debug further? > > > Thanks! > John > > P.S. When I pulled last night using =git pull= I got a message back > that I wasn't on a specified branch, and listed 5 if I recall. I have > never gotten this before and just did =git pull origin master= > afterward successfully. Could I be on the incorrect branch?