[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-AUCTeX] Re: preview-1.248; preview completely broken?

From: David Kastrup
Subject: [Bug-AUCTeX] Re: preview-1.248; preview completely broken?
Date: Tue, 26 Apr 2005 14:20:39 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

Richard Lewis <address@hidden> writes:

>> Remember to cover the basics.  Including a minimal LaTeX example
>> file exhibiting the problem might help.
> preview used to work fine, but now i get the following error/backtrace
> (on any LaTeX document, eg
> \documentclass{article}
> \begin{document}
> $\alpha$
> \end{document}
> of course AUCTeX can compile this fine.).
> Did I break something? [the only thing I can remember changing getting
> the latest cvs auctex(+preview)]
> [The stuff below is with
> emacs -Q
> `M-: (require 'tex-site) RET'
> `M-: (load "preview-latex") RET'
> `C-C C-P C-d'

It helps if you are not reporting falsehoods.  The backtrace is for
C-c C-p C-p, not for C-c C-p C-d.

Does C-c C-p C-d fail for you too?

> Debugger entered--Lisp error: (wrong-type-argument arrayp nil)
>   signal(wrong-type-argument (arrayp nil))
>   preview-reraise-error(#<process Preview-LaTeX>)
>   TeX-inline-preview-internal("latex  
> \"\\nonstopmode\\nofiles\\PassOptionsToPackage{active,tightpage,auctex}{preview}\\AtBeginDocument{\\ifx\\ifPreview\\undefined\\RequirePackage[displaymath,floats,graphics,textmath,sections,footnotes]{preview}[2004/11/05]\\fi}\\input{_region_.tex}\""
>  "_region_" (TeX-region-file . "_region_") #<buffer blah.tex> 
> ("/homedir/richard/Mine/tmp/trunk/blah") "blah" ((lambda nil (/ 9.0 ...)) 
> (90.06094182825485 . 95.97638376383763) [(65280 65280 65280) nil nil nil]))
>   preview-generate-preview(t "_region_" nil)
>   preview-region(1 67)
>   byte-code("..e`S]d`T^\".... .;.     @.      
> A.....\"...7.\n..=.-...!..2.....\"�....\".)...*......!....!\"." [ovr 
> --dolist-temp-- preview-state overlays-in nil overlay-get disabled 
> preview-regenerate preview-toggle toggle throw exit t preview-region 
> preview-next-border] 5)
>   preview-at-point()
>   call-interactively(preview-at-point)

This backtrace is pretty unsuitable for diagnosis.  Could you do
M-x set-variable RET debug-on-signal RET t RET

and then try again?  There might be some completely unrelated
backtraces which you can skip by saying "c", but the backtrace with
"preview-reraise-error" is too late for debugging.  The one
immediately before it should be interesting.

Also, please include the output of the run buffer (what you get with
C-c C-l).  If you had been using an up-to-date CVS checkout of
preview-latex, this information would actually be included
automatically: it is one of the most frequent things we ask for.

> Emacs  : GNU Emacs (i386-unknown-freebsd5.4, X toolkit, Xaw3d 
> scroll bars)
>  of 2005-04-06 on ma8.sees.bangor.ac.uk
> Package: preview-1.248
> (setq
>  AUC-TeX-version "CVS-5.503"


pretty standard settings in the rest, I think.

I am ignoring your Mail-Copies-To: never header since you apparently
haven't sent this via a News-to-mail gateway and I don't remember you
being subscribed to the list.  I apologize if this is causing you

David Kastrup, Kriemhildstr. 15, 44793 Bochum

reply via email to

[Prev in Thread] Current Thread [Next in Thread]