Bug#610714: to confirm the patch fixes the problem

2011-01-24 Thread Faheem Mitha



On Mon, 24 Jan 2011, Julian Gilbey wrote:


On Mon, Jan 24, 2011 at 10:41:29AM +0530, Faheem Mitha wrote:

On Sun, 23 Jan 2011, Julian Gilbey wrote:

I just tried applying it to 11.86 in sid, and installing it on my
squeeze machine, but it does not work for me.

This is the error I get:

gs -dOutputFile\=\(_region_.prv/tmp5769OxL/pr1-1.png\) -q -dDELAYSAFER 
-dNOPAUSE -DNOPLATFONTS -dPrinted -dTextAlphaBits\=4 -dGraphicsAlphaBits\=4 
-sDEVICE\=png16m -r108.606x108.587

[...]

Strange. If you want, you can try my packages at
http://bulldog.duhs.duke.edu/~faheem/auctex/


Can you provide the sources as well (only the dsc and debian.tar.gz
are necessary)?


I didn't generate proper sources. Off the top of my head, I don't remember 
how to do that. As of 11.86 the Debian package switched to the 3.0 (quilt) 
format. So, I just added the patch in question to the patch subdirectory, 
after making minor adjustments, and then did 'debuild binary'. If you 
really need it, I'll try to figure out how to generate sources.


However, the package is arch independent, so should work.


I'll try your packages out later.


Anyone else who wants to test, feel free to try them too, and copy
the report with your results.

Some obvious questions. Are you sure the patch got applied
correctly? What versions of relevant packages do you currently have
installed?


The patch does appear to have been applied correctly.


Did you look at the installed preview.el file?


Other apparently relevant package versions:



ghostscript* 8.71~dfsg2-6.1
emacs23 23.2+1-7


Yes, that's what I have.

Regards, Faheem



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#610714: to confirm the patch fixes the problem

2011-01-24 Thread Julian Gilbey
On Mon, Jan 24, 2011 at 01:44:42PM +0530, Faheem Mitha wrote:
 I'll try your packages out later.
 
 Anyone else who wants to test, feel free to try them too, and copy
 the report with your results.
 
 Some obvious questions. Are you sure the patch got applied
 correctly? What versions of relevant packages do you currently have
 installed?
 
 The patch does appear to have been applied correctly.
 
 Did you look at the installed preview.el file?

Yes; it is identical to the one in your package (modulo changes in
comments, as I used the raw patch, not the CVS patch).

 Other apparently relevant package versions:
 
 ghostscript* 8.71~dfsg2-6.1
 emacs23 23.2+1-7
 
 Yes, that's what I have.

Ho hum, so why the problem, I wonder?

   Julian



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#610714: to confirm the patch fixes the problem

2011-01-24 Thread Faheem Mitha



On Mon, 24 Jan 2011, Julian Gilbey wrote:


On Mon, Jan 24, 2011 at 01:44:42PM +0530, Faheem Mitha wrote:

I'll try your packages out later.


Anyone else who wants to test, feel free to try them too, and copy
the report with your results.

Some obvious questions. Are you sure the patch got applied
correctly? What versions of relevant packages do you currently have
installed?


The patch does appear to have been applied correctly.


Did you look at the installed preview.el file?


Yes; it is identical to the one in your package (modulo changes in
comments, as I used the raw patch, not the CVS patch).


Other apparently relevant package versions:



ghostscript* 8.71~dfsg2-6.1
emacs23 23.2+1-7


Yes, that's what I have.


Ho hum, so why the problem, I wonder?


I should really have done more testing. I still seem to be having problems 
here. I recently switched to PDF latex mode


'(TeX-PDF-mode t)

With this, preview is completely broken. If I turn this off, preview 
works, but still throws errors.


Maybe I've misconfigured stuff in .emacs. Sigh. Are you using PDF mode or 
not? This doesn't look like the same error. I get


Parser: Preview snippet 1 out of sequence

and then the whole buffer disappears from down up. Weird. The out of 
sequence error also shows up with regular latex, but the buffer displays 
regardless.


  Regards, Faheem.




--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#610714: to confirm the patch fixes the problem

2011-01-23 Thread Julian Gilbey
On Sat, Jan 22, 2011 at 03:40:06AM +0530, Faheem Mitha wrote:
 On Fri, 21 Jan 2011, Faheem Mitha wrote:
 That was easier than expected. See Revision 1.285 at the top, the
 last change to preview.el.
 
 http://cvs.savannah.gnu.org/viewvc/auctex/preview/preview.el?root=auctexview=log
 
 I'll try applying 
 http://cvs.savannah.gnu.org/viewvc/auctex/preview/preview.el?root=auctexr1=1.284r2=1.285view=patch
 and see if it fixes the problem.
 
 Just writing to confirm it does fix the problem. However, I applied
 it to 11.86, not 11.85, because it applies directly to 11.86 (11.85
 is surprisingly old). However, it should be possible to apply it to
 11.85.

I just tried applying it to 11.86 in sid, and installing it on my
squeeze machine, but it does not work for me.

This is the error I get:

gs -dOutputFile\=\(_region_.prv/tmp5769OxL/pr1-1.png\) -q -dDELAYSAFER 
-dNOPAUSE -DNOPLATFONTS -dPrinted -dTextAlphaBits\=4 -dGraphicsAlphaBits\=4 
-sDEVICE\=png16m -r108.606x108.587
GS{/PermitFileReading[(_region_.prv/tmp5769OxL/preview.ps)] setuserparams 
.locksafe} stopped pop {DELAYSAFER{.setsafe}if}stopped pop/.preview-BP 
currentpagedevice/BeginPage get dup null eq{pop{pop}bind}if 
def/BeginPage{currentpagedevice/PageSize get dup 0 get 1 ne exch 1 get 1 ne 
or{.preview-BP gsave 0.93 0.909804 0.67 setrgbcolor clippath fill 
grestore }{pop}ifelse}bind/PageSize[1 1]setpagedevice/preview-do{[count 3 
roll save]3 1 roll dup length 0 eq{pop}{setpagedevice}{ifelse 
.runandhide}stopped{handleerror quit}if aload pop restore}bind def 
[(_region_.prv/tmp5769OxL/preview.ps)(r)file]aload exch dup 0 setfileposition 
23369()/SubFileDecode filter cvx .runandhide aload pop dup dup 23369 
setfileposition 285()/SubFileDecode filter cvxpreview-do
Error: /undefined in H.S
Operand stack:

Execution stack:
   %interp_exit   .runexec2   --nostringval--   --nostringval--   
--nostringval--   2   %stopped_push   --nostringval--   --nostringval--   
%loop_continue   --nostringval--   --nostringval--   false   1   %stopped_push  
 .runexec2   --nostringval--   --nostringval--   --nostringval--   2   
%stopped_push   --nostringval--   --nostringval--   false   1   %stopped_push   
1148   --nostringval--   %end_runandhide   --nostringval--
Dictionary stack:
   --dict:1162/1684(ro)(G)--   --dict:0/20(G)--   --dict:74/200(L)--   
--dict:108/300(L)--   --dict:17/200(L)--
Current allocation mode is local
Last OS error: 2

Preview-Ghostscript finished

   Julian



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#610714: to confirm the patch fixes the problem

2011-01-23 Thread Faheem Mitha



On Sun, 23 Jan 2011, Julian Gilbey wrote:


On Sat, Jan 22, 2011 at 03:40:06AM +0530, Faheem Mitha wrote:



On Fri, 21 Jan 2011, Faheem Mitha wrote:



I'll try applying 
http://cvs.savannah.gnu.org/viewvc/auctex/preview/preview.el?root=auctexr1=1.284r2=1.285view=patch
and see if it fixes the problem.


Just writing to confirm it does fix the problem. However, I applied
it to 11.86, not 11.85, because it applies directly to 11.86 (11.85
is surprisingly old). However, it should be possible to apply it to
11.85.


I just tried applying it to 11.86 in sid, and installing it on my
squeeze machine, but it does not work for me.

This is the error I get:

gs -dOutputFile\=\(_region_.prv/tmp5769OxL/pr1-1.png\) -q -dDELAYSAFER 
-dNOPAUSE -DNOPLATFONTS -dPrinted -dTextAlphaBits\=4 -dGraphicsAlphaBits\=4 
-sDEVICE\=png16m -r108.606x108.587
GS{/PermitFileReading[(_region_.prv/tmp5769OxL/preview.ps)] setuserparams .locksafe} stopped pop 
{DELAYSAFER{.setsafe}if}stopped pop/.preview-BP currentpagedevice/BeginPage get dup null eq{pop{pop}bind}if 
def/BeginPage{currentpagedevice/PageSize get dup 0 get 1 ne exch 1 get 1 ne or{.preview-BP gsave 0.93 
0.909804 0.67 setrgbcolor clippath fill grestore }{pop}ifelse}bind/PageSize[1 
1]setpagedevice/preview-do{[count 3 roll save]3 1 roll dup length 0 eq{pop}{setpagedevice}{ifelse 
.runandhide}stopped{handleerror quit}if aload pop restore}bind def [(_region_.prv/tmp5769OxL/preview.ps)(r)file]aload 
exch dup 0 setfileposition 23369()/SubFileDecode filter cvx .runandhide aload pop dup dup 23369 setfileposition 
285()/SubFileDecode filter cvxpreview-do
Error: /undefined in H.S
Operand stack:

Execution stack:
  %interp_exit   .runexec2   --nostringval--   --nostringval--   
--nostringval--   2   %stopped_push   --nostringval--   --nostringval--   
%loop_continue   --nostringval--   --nostringval--   false   1   %stopped_push  
 .runexec2   --nostringval--   --nostringval--   --nostringval--   2   
%stopped_push   --nostringval--   --nostringval--   false   1   %stopped_push   
1148   --nostringval--   %end_runandhide   --nostringval--
Dictionary stack:
  --dict:1162/1684(ro)(G)--   --dict:0/20(G)--   --dict:74/200(L)--   
--dict:108/300(L)--   --dict:17/200(L)--
Current allocation mode is local
Last OS error: 2

Preview-Ghostscript finished


Strange. If you want, you can try my packages at 
http://bulldog.duhs.duke.edu/~faheem/auctex/


Anyone else who wants to test, feel free to try them too, and copy the 
report with your results.


Some obvious questions. Are you sure the patch got applied correctly? What 
versions of relevant packages do you currently have installed?


   Regards, Faheem



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#610714: to confirm the patch fixes the problem

2011-01-23 Thread Julian Gilbey
On Mon, Jan 24, 2011 at 10:41:29AM +0530, Faheem Mitha wrote:
 On Sun, 23 Jan 2011, Julian Gilbey wrote:
 I just tried applying it to 11.86 in sid, and installing it on my
 squeeze machine, but it does not work for me.
 
 This is the error I get:
 
 gs -dOutputFile\=\(_region_.prv/tmp5769OxL/pr1-1.png\) -q -dDELAYSAFER 
 -dNOPAUSE -DNOPLATFONTS -dPrinted -dTextAlphaBits\=4 -dGraphicsAlphaBits\=4 
 -sDEVICE\=png16m -r108.606x108.587
 [...]
 
 Strange. If you want, you can try my packages at
 http://bulldog.duhs.duke.edu/~faheem/auctex/

Can you provide the sources as well (only the dsc and debian.tar.gz
are necessary)?

I'll try your packages out later.

 Anyone else who wants to test, feel free to try them too, and copy
 the report with your results.
 
 Some obvious questions. Are you sure the patch got applied
 correctly? What versions of relevant packages do you currently have
 installed?

The patch does appear to have been applied correctly.

Other apparently relevant package versions:

ghostscript* 8.71~dfsg2-6.1
emacs23 23.2+1-7

   Julian



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#610714: to confirm the patch fixes the problem

2011-01-21 Thread Faheem Mitha



On Fri, 21 Jan 2011, Faheem Mitha wrote:

The patch in question is here. Later in the thread Ralf Angeli says he 
applied it to CVS. If I figure out how to access auctex CVS I'll send a 
link to the patch in CVS



http://thread.gmane.org/gmane.emacs.auctex.bugs/1784/focus=1792


That was easier than expected. See Revision 1.285 at the top, the last change 
to preview.el.


http://cvs.savannah.gnu.org/viewvc/auctex/preview/preview.el?root=auctexview=log


I'll try applying 
http://cvs.savannah.gnu.org/viewvc/auctex/preview/preview.el?root=auctexr1=1.284r2=1.285view=patch 
and see if it fixes the problem.


Just writing to confirm it does fix the problem. However, I applied it to 
11.86, not 11.85, because it applies directly to 11.86 (11.85 is 
surprisingly old). However, it should be possible to apply it to 11.85.


  Regards, Faheem



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org