Willkommen im kivitendo Forum! Hier erweitern und teilen AnwenderInnen und EntwicklerInnen ihr Wissen.

Teste kivitendo!

kivitendo Demo

kivitendo Demo mit Schweizer Kontenplan und neuem Layout

Unterstützt kivitendo mit der Basis-Subskription!

0 Punkte

Hallo,

ich habe so einen Fehler aktuell beim Drucken eines Angebots:

sales_quotation.tex : Latexmk: applying rule 'pdflatex'...
This is pdfTeX, Version 3.14159265-2.6-1.40.21 (TeX Live 2020/Debian) (preloaded format=pdflatex)
restricted \write18 enabled.
entering extended mode
(./kivitendo-print-20240320164013-VD9tie.tex
LaTeX2e <2020-10-01> patch level 4
L3 programming layer <2021-01-09> xparse <2020-03-03>
(/var/www/kivitendo-test/templates/test/inheaders.tex
(/usr/share/texlive/texmf-dist/tex/latex/koma-script/scrartcl.cls
Document Class: scrartcl 2020/09/21 v3.32 KOMA-Script document class (article)
(/usr/share/texlive/texmf-dist/tex/latex/koma-script/scrkbase.sty
(/usr/share/texlive/texmf-dist/tex/latex/koma-script/scrbase.sty
(/usr/share/texlive/texmf-dist/tex/latex/koma-script/scrlfile.sty
(/usr/share/texlive/texmf-dist/tex/latex/koma-script/scrlfile-hook.sty
(/usr/share/texlive/texmf-dist/tex/latex/koma-script/scrlogo.sty)))
(/usr/share/texlive/texmf-dist/tex/latex/graphics/keyval.sty)))
(/usr/share/texlive/texmf-dist/tex/latex/koma-script/tocbasic.sty)
(/usr/share/texlive/texmf-dist/tex/latex/koma-script/scrsize11pt.clo)
(/usr/share/texlive/texmf-dist/tex/latex/koma-script/typearea.sty))
(/usr/share/texlive/texmf-dist/tex/latex/base/inputenc.sty)
(/usr/share/texlive/texmf-dist/tex/latex/graphics/graphicx.sty
(/usr/share/texlive/texmf-dist/tex/latex/graphics/graphics.sty
(/usr/share/texlive/texmf-dist/tex/latex/graphics/trig.sty)
(/usr/share/texlive/texmf-dist/tex/latex/graphics-cfg/graphics.cfg)
(/usr/share/texlive/texmf-dist/tex/latex/graphics-def/pdftex.def)))
(/usr/share/texlive/texmf-dist/tex/generic/german/german.sty v2.5e 1998-07-08)
(/usr/share/texlive/texmf-dist/tex/latex/base/ifthen.sty)
(/usr/share/texlive/texmf-dist/tex/latex/tools/longtable.sty)
(/usr/share/texlive/texmf-dist/tex/latex/tools/tabularx.sty
(/usr/share/texlive/texmf-dist/tex/latex/tools/array.sty))
(/usr/share/texlive/texmf-dist/tex/latex/eurosym/eurosym.sty)
(/usr/share/texlive/texmf-dist/tex/latex/substr/substr.sty)
(/usr/share/texlive/texmf-dist/tex/latex/koma-script/scrlayer-scrpage.sty
(/usr/share/texlive/texmf-dist/tex/latex/koma-script/scrlayer.sty))
(/usr/share/texlive/texmf-dist/tex/latex/wallpaper/wallpaper.sty
(/usr/share/texlive/texmf-dist/tex/latex/tools/calc.sty)
(/usr/share/texlive/texmf-dist/tex/latex/eso-pic/eso-pic.sty
(/usr/share/texlive/texmf-dist/tex/latex/xcolor/xcolor.sty
(/usr/share/texlive/texmf-dist/tex/latex/graphics-cfg/color.cfg))))
(/usr/share/texlive/texmf-dist/tex/latex/colortbl/colortbl.sty)
(/usr/share/texlive/texmf-dist/tex/latex/lastpage/lastpage.sty))
(/usr/share/texlive/texmf-dist/tex/latex/geometry/geometry.sty
(/usr/share/texlive/texmf-dist/tex/generic/iftex/ifvtex.sty
(/usr/share/texlive/texmf-dist/tex/generic/iftex/iftex.sty)))
(/var/www/kivitendo-test/templates/test/insettings.tex
(/var/www/kivitendo-test/templates/test/deutsch.tex)
(/var/www/kivitendo-test/templates/test/firma/ident.tex)
(/var/www/kivitendo-test/templates/test/firma/euro_account.tex)

Package scrlayer-scrpage Warning: replacing deprecated \clearscrheadfoot by
(scrlayer-scrpage) \clearpairofpagestyles on input line 61.

) (/usr/share/texlive/texmf-dist/tex/latex/base/textcomp.sty)
(/usr/share/texlive/texmf-dist/tex/generic/ulem/ulem.sty)
(/usr/share/texlive/texmf-dist/tex/latex/l3backend/l3backend-pdftex.def)
(./kivitendo-print-20240320164013-VD9tie.aux)
(/usr/share/texlive/texmf-dist/tex/context/base/mkii/supp-pdf.mkii
[Loading MPS to PDF converter (version 2006.09.02).]
) (/usr/share/texlive/texmf-dist/tex/latex/epstopdf-pkg/epstopdf-base.sty
(/usr/share/texlive/texmf-dist/tex/latex/latexconfig/epstopdf-sys.cfg))
*geometry* driver: auto-detecting
*geometry* detected driver: pdftex

Underfull \hbox (badness 10000) in paragraph at lines 79--80


Underfull \hbox (badness 10000) in paragraph at lines 81--82


Underfull \hbox (badness 10000) in paragraph at lines 147--148


Underfull \hbox (badness 10000) in paragraph at lines 153--154


Underfull \hbox (badness 10000) in paragraph at lines 155--156


Underfull \hbox (badness 10000) in paragraph at lines 155--156


Underfull \hbox (badness 10000) in paragraph at lines 157--158


Underfull \hbox (badness 10000) in paragraph at lines 157--158


Underfull \hbox (badness 10000) in paragraph at lines 157--158


! LaTeX Error: There's no line here to end.

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

l.160 \\\\


! LaTeX Error: There's no line here to end.

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

l.161

! Extra }, or forgotten \endgroup.
\UL@stop ...alty \ifnum \lastkern =\thr@@ \egroup
\egroup \ifdim \wd \UL@box...
l.168 }

! Extra }, or forgotten \endgroup.
\UL@stop ...num \lastkern =\thr@@ \egroup \egroup
\ifdim \wd \UL@box =\z@ \e...
l.168 }

! Missing } inserted.

}
l.168 }

! Missing } inserted.

}
l.168 }

! Extra }, or forgotten \endgroup.
\UL@stop ...alty \ifnum \lastkern =\thr@@ \egroup
\egroup \ifdim \wd \UL@box...
l.168 }

! Extra }, or forgotten \endgroup.
\UL@stop ...num \lastkern =\thr@@ \egroup \egroup
\ifdim \wd \UL@box =\z@ \e...
l.168 }

! Missing } inserted.

}
l.168 }

! Missing } inserted.

}
l.168 }


Underfull \hbox (badness 10000) in paragraph at lines 168--168


Underfull \hbox (badness 10000) in paragraph at lines 168--168


Underfull \hbox (badness 10000) in paragraph at lines 168--168


Underfull \hbox (badness 10000) in paragraph at lines 168--168


Underfull \hbox (badness 10000) in paragraph at lines 168--168


Underfull \hbox (badness 10000) in paragraph at lines 168--168

! Extra }, or forgotten \endgroup.
\UL@stop ...alty \ifnum \lastkern =\thr@@ \egroup
\egroup \ifdim \wd \UL@box...
l.168 }

! Extra }, or forgotten \endgroup.
\UL@stop ...num \lastkern =\thr@@ \egroup \egroup
\ifdim \wd \UL@box =\z@ \e...
l.168 }

! Missing } inserted.

}
l.168 }

! Missing } inserted.

}
l.168 }


Package lastpage Warning: Rerun to get the references right on input line 169.


AED: lastpage setting LastPage

Package scrlayer-scrpage Warning: \footheight to low.
(scrlayer-scrpage) At least 35.0pt needed,
(scrlayer-scrpage) but only 17.0pt found.
(scrlayer-scrpage) I'll enlarge \footheight, for further
(scrlayer-scrpage) processing, but you should do this yourself,
(scrlayer-scrpage) e.g., using
(scrlayer-scrpage) \setlength{\footheight}{35.0pt}
(scrlayer-scrpage) in your preamble.
(scrlayer-scrpage) I'll also increase \footskip on input line 16
9.

[1{/var/lib/texmf/fonts/map/pdftex/updmap/pdftex.map} templates/test/firma/briefkopf.png>]
(./kivitendo-print-20240320164013-VD9tie.aux)

LaTeX Warning: Label(s) may have changed. Rerun to get cross-references right.

)
(see the transcript file for additional information) ist/fonts/type1/public/amsfonts/cm/cmss10.pfb> nts/type1/public/amsfonts/cm/cmss8.pfb> e1/public/amsfonts/cm/cmssbx10.pfb> ublic/amsfonts/cm/cmsy8.pfb> urosym/feymr10.pfb>
Output written on kivitendo-print-20240320164013-VD9tie.pdf (1 page, 64211 byte
s).
Transcript written on kivitendo-print-20240320164013-VD9tie.log.
Latexmk: Examining 'kivitendo-print-20240320164013-VD9tie.log'
=== TeX engine is 'pdfTeX'
Latexmk: Errors, so I did not complete making targets

Dabei habe ich bereits Forum diesbezüglich gelesen und 2 Sachen unternommen:
- /usepackage{scrpage2} mit /usepackage{scrlayer-scrpage} ersetzt und zwar in den folgenden Dateien: (templates/print/RB/inheaders.tex, templates/test/inheaders.tex)
- beim Mandanten ZUGFeRD-Rechnungen ausgeschaltet (hat wahrscheinlich aber kein Effekt auf die Angebote).

Ich habe auch bei der Installationsüberprüfung ein Problem:

root@server:/var/www/kivitendo-test# ./scripts/installation_check.pl -l
Looking for LaTeX kpsewhich ................................................. ok
Looking for LaTeX package pdfx .............................................. ok
Rc files read:
  /etc/LatexMk
Latexmk: This is Latexmk, John Collins, 29 September 2020, version: 4.70b.
Latexmk: Filename '\documentclass{minimal} \RequirePackage{pdfx} \csname @ifpackagelater\endcsname{pdfx}{2018/12/22}{}{\show\relax} \begin{document} \end{document}' contains character not allowed for TeX file.
Latexmk: Stopping because of bad filename(s).
Looking for pdfx version 2018 or higher ................................. NOT ok

Soweit ich verstehe, das letzte kann man durchs Update auf 3.9 Beta lösen, aber das möchte ich noch nicht machen.

Lässt sich das Fehler oben lösen? Ich vermute, es entsteht irgendwie ein Problem durch den Ersatz von scrpage2.

von (560 Punkte)

1 Antwort

0 Punkte

Hallo rreimche,
wenn du kivi nicht updaten magst, kannst du LaTeX downgraden.

Mit ZUGFeRD hat die Fehlermeldung nichts zu tun und wahrscheinlich auch nicht mit der LaTeX-Version.

Ich denke, es handelt sich eher um ein newline was sich in einer deiner Positionen eingeschmuggelt hat:

l.160 \\

! LaTeX Error: There's no line here to end.

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

l.161

Du kannst in kivi einstellen, ob er die generierten TeX-Dateien nicht aufräumen soll und die dann anschließend separat analysieren.
Im Zweifel hiflt Dir Dein kivi-Partner dabei.

von (18.6k Punkte)

Ähnliche Fragen

0 Punkte
2 Antworten
0 Punkte
3 Antworten
0 Punkte
1 Antwort
0 Punkte
1 Antwort
0 Punkte
1 Antwort
...