Modify

Opened 7 years ago

Closed 7 years ago

#1910 closed defect (invalid)

Internal Server Error using latex-pdf

Reported by: k9ert@… Owned by: chenca
Priority: normal Component: Trac2LatexPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.10

Description

When I use the PDF-Latex-Link on a really-simple-testpage, I get an "500 internal Server Error".

In /var/log/apache2/error.log you can read

[Thu Aug 09 13:41:34 2007] [error] [client 10.1.1.70] malformed header from script. Bad header=entering extended mode: trac_webshop.cgi, referer: http://XXXXXXXX/cgi-bin/trac.cgi/wiki/TestPage

In /tmp/trac2latexCnL8Z3/log you can read:

This is pdfeTeX, Version 3.141592-1.21a-2.2 (Web2C 7.5.4)
entering extended mode
(/tmp/trac2latexCnL8Z3/trac2latexmpQE4n.tex
LaTeX2e <2003/12/01>
Babel <v3.8d> and hyphenation patterns for american, french, german, ngerman, b
ahasa, basque, bulgarian, catalan, croatian, czech, danish, dutch, esperanto, e
stonian, finnish, greek, icelandic, irish, italian, latin, magyar, norsk, polis
h, portuges, romanian, russian, serbian, slovak, slovene, spanish, swedish, tur
kish, ukrainian, nohyphenation, loaded.

! LaTeX Error: Missing \begin{document}.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.
 ...

l.2 t
     his is a really simple test-page
)
! Emergency stop.
<*> /tmp/trac2latexCnL8Z3/trac2latexmpQE4n.tex

No pages of output.
Transcript written on trac2latexmpQE4n.log.

And in trac2latexmpQE4n.log you can read:

This is pdfeTeX, Version 3.141592-1.21a-2.2 (Web2C 7.5.4) (format=pdflatex 2007.8.9)  9 AUG 2007 13:41
entering extended mode
**/tmp/trac2latexCnL8Z3/trac2latexmpQE4n.tex
(/tmp/trac2latexCnL8Z3/trac2latexmpQE4n.tex
LaTeX2e <2003/12/01>
Babel <v3.8d> and hyphenation patterns for american, french, german, ngerman, b
ahasa, basque, bulgarian, catalan, croatian, czech, danish, dutch, esperanto, e
stonian, finnish, greek, icelandic, irish, italian, latin, magyar, norsk, polis
h, portuges, romanian, russian, serbian, slovak, slovene, spanish, swedish, tur
kish, ukrainian, nohyphenation, loaded.

! LaTeX Error: Missing \begin{document}.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.
 ...

l.2 t
     his is a really simple test-page
You're in trouble here.  Try typing  <return>  to proceed.
If that doesn't work, type  X <return>  to quit.

Missing character: There is no t in font nullfont!
Missing character: There is no h in font nullfont!
Missing character: There is no i in font nullfont!
Missing character: There is no s in font nullfont!
Missing character: There is no i in font nullfont!
Missing character: There is no s in font nullfont!
Missing character: There is no a in font nullfont!
Missing character: There is no r in font nullfont!
Missing character: There is no e in font nullfont!
Missing character: There is no a in font nullfont!
Missing character: There is no l in font nullfont!
Missing character: There is no l in font nullfont!
Missing character: There is no y in font nullfont!
Missing character: There is no s in font nullfont!
Missing character: There is no i in font nullfont!
Missing character: There is no m in font nullfont!
Missing character: There is no p in font nullfont!
Missing character: There is no l in font nullfont!
Missing character: There is no e in font nullfont!
Missing character: There is no t in font nullfont!
Missing character: There is no e in font nullfont!
Missing character: There is no s in font nullfont!
Missing character: There is no t in font nullfont!
Missing character: There is no - in font nullfont!
Missing character: There is no p in font nullfont!
Missing character: There is no a in font nullfont!
Missing character: There is no g in font nullfont!
Missing character: There is no e in font nullfont!
)
! Emergency stop.
<*> /tmp/trac2latexCnL8Z3/trac2latexmpQE4n.tex

*** (job aborted, no legal \end found)


Here is how much of TeX's memory you used:
 6 strings out of 94500
 239 string characters out of 1175772
 48348 words of memory out of 1000000
 3273 multiletter control sequences out of 10000+50000
 3640 words of font info for 14 fonts, out of 500000 for 2000
 580 hyphenation exceptions out of 8191
 5i,0n,4p,78b,14s stack positions out of 1500i,500n,5000p,200000b,5000s
PDF statistics:
 0 PDF objects out of 300000
 0 named destinations out of 131072
 1 words of extra memory for PDF output out of 65536
No pages of output.

Here are all the files in the directory:

# ll
total 12
-rw-r--r-- 1 www-data www-data  968 2007-08-09 13:41 log
-rw------- 1 www-data www-data    0 2007-08-09 13:41 trac2latexmpQE4n
-rw-r--r-- 1 www-data www-data 3099 2007-08-09 13:41 trac2latexmpQE4n.log
-rw-r--r-- 1 www-data www-data   35 2007-08-09 13:41 trac2latexmpQE4n.tex

I´m using Debian Etch and installed these packages:

# dpkg -l | grep tex-
ii  tetex-base               3.0.dfsg.3-5                    Basic TeX input files of teTeX
ii  tetex-bin                3.0-30                          The teTeX programs
ii  tetex-extra              3.0.dfsg.3-5                    Additional TeX input files of teT
eX
ii  tex-common               1.0.1                           Common infrastructure for using a
nd building

Can anyone help me?

Attachments (0)

Change History (1)

comment:1 Changed 7 years ago by k9ert@…

  • Resolution set to invalid
  • Status changed from new to closed

Sorry, I should reread the Example-section.

Add Comment

Modify Ticket

Action
as closed The owner will remain chenca.
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.