-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The Tuesday 2008-02-05 at 01:54 +0100, David Haller wrote:
Hello,
On Mon, 04 Feb 2008, Carlos E. R. wrote:
File "/usr/share/sgml/misc/sgmltools/python/utils.py", line 317, in findStylesheet raise IOError, "Couldn't resolve pubid [%s]" % id IOError: Couldn't resolve pubid ["-//SGMLtools//DOCUMENT Docbook Style Sheet for Print//EN"] Error: Cannot convert file
There's something amiss with your sgmltools installation, you're either missing the stylesheet, the sgml-catalog entry or possibly the permission to read the stylesheet / the catalog.
I only installed what Yast installs. I have no idea what/how to configure nor what to install to make it work. I haven't seen a pattern or a list of packages or something to install whatever is needed to make LyX work out of the box.
I find in SuSE 10.2 the above pubid in the file /usr/share/sgml/stylesheets/sgmltools/sgmltools.cat out of the package sgmltools-lite, which points to a file 'print.dsl' out of the same package.
sgmltools-lite was not installed. I installed sgmltools, and I still got the same error. I then removed it and installed sgmltools-lite. Now there is no error, but the "dvi" output is totally incorrect (using the "docbook-article.lyx" template): TitleDateJoeDocAbstractFirst SectionFirst Paragraph That's the output I get, a single line, totally wrong. It should be a formatted text, with tittle, author, date, etc, in the correct places, fonts, sizes, etc. Looking at the output on the xterm (LyX is silent about errors) I see this jiberish: cer@nimrodel:~/Projects/babel/LyX> /usr/bin/openjade:/usr/share/sgml/openjade/style-sheet.dtd:11:2:E: unknown declaration type "element" /usr/bin/openjade:/usr/share/sgml/openjade/style-sheet.dtd:13:2:E: unknown declaration type "element" /usr/bin/openjade:/usr/share/sgml/openjade/style-sheet.dtd:14:2:E: unknown declaration type "attlist" /usr/bin/openjade:/usr/share/sgml/openjade/style-sheet.dtd:18:2:E: unknown declaration type "element" /usr/bin/openjade:/usr/share/sgml/openjade/style-sheet.dtd:19:2:E: unknown declaration type "attlist" /usr/bin/openjade:/usr/share/sgml/openjade/style-sheet.dtd:22:2:E: unknown declaration type "element" /usr/bin/openjade:/usr/share/sgml/openjade/style-sheet.dtd:23:2:E: unknown declaration type "attlist" /usr/bin/openjade:/usr/share/sgml/openjade/style-sheet.dtd:29:2:E: unknown declaration type "element" /usr/bin/openjade:/usr/share/sgml/openjade/style-sheet.dtd:34:2:E: unknown declaration type "element" /usr/bin/openjade:/usr/share/sgml/openjade/style-sheet.dtd:39:2:E: unknown declaration type "element" /usr/bin/openjade:/usr/share/sgml/openjade/style-sheet.dtd:44:2:E: unknown declaration type "element" /usr/bin/openjade:/usr/share/sgml/openjade/style-sheet.dtd:46:2:E: unknown declaration type "attlist" /usr/bin/openjade:/usr/share/sgml/openjade/style-sheet.dtd:52:2:E: unknown declaration type "element" /usr/bin/openjade:/usr/share/sgml/openjade/style-sheet.dtd:53:2:E: unknown declaration type "attlist" /usr/bin/openjade:/usr/share/sgml/openjade/style-sheet.dtd:76:2:E: entity end not allowed in processing instruction /usr/bin/openjade:/usr/share/sgml/stylesheets/sgmltools/print.dsl:26:0:E: DTD did not contain element declaration for document type name /usr/bin/openjade:/usr/share/sgml/stylesheets/sgmltools/print.dsl:25:0:E: notation "dsssl" for entity "docbook.dsl" undefined /usr/bin/openjade:/usr/share/sgml/stylesheets/sgmltools/print.dsl:27:12:E: element "style-sheet" undefined /usr/bin/openjade:/usr/share/sgml/stylesheets/sgmltools/print.dsl:29:24:E: there is no attribute "id" /usr/bin/openjade:/usr/share/sgml/stylesheets/sgmltools/print.dsl:29:36:E: there is no attribute "use" /usr/bin/openjade:/usr/share/sgml/stylesheets/sgmltools/print.dsl:29:45:E: element "style-specification" undefined /usr/bin/openjade:/usr/share/sgml/stylesheets/sgmltools/print.dsl:30:25:E: element "style-specification-body" undefined /usr/bin/openjade:/usr/share/sgml/stylesheets/sgmltools/print.dsl:69:46:E: element "style-specification" undefined /usr/bin/openjade:/usr/share/sgml/stylesheets/sgmltools/print.dsl:70:25:E: element "style-specification-body" undefined /usr/bin/openjade:/usr/share/sgml/stylesheets/sgmltools/print.dsl:75:47:E: element "style-specification" undefined /usr/bin/openjade:/usr/share/sgml/stylesheets/sgmltools/print.dsl:76:25:E: element "style-specification-body" undefined /usr/bin/openjade:/usr/share/sgml/stylesheets/sgmltools/print.dsl:81:43:E: element "style-specification" undefined /usr/bin/openjade:/usr/share/sgml/stylesheets/sgmltools/print.dsl:82:25:E: element "style-specification-body" undefined /usr/bin/openjade:/usr/share/sgml/stylesheets/sgmltools/print.dsl:105:27:E: there is no attribute "id" /usr/bin/openjade:/usr/share/sgml/stylesheets/sgmltools/print.dsl:105:46:E: there is no attribute "document" /usr/bin/openjade:/usr/share/sgml/stylesheets/sgmltools/print.dsl:105:59:E: element "external-specification" undefined /usr/bin/openjade:/usr/share/sgml/stylesheets/sgmltools/print.dsl:106:13:E: end tag for "external-specification" omitted, but OMITTAG NO was specified /usr/bin/openjade:/usr/share/sgml/stylesheets/sgmltools/print.dsl:105:0: start tag was here /usr/bin/openjade:E: specification document does not have the DSSSL architecture as a base architecture /usr/bin/openjade:E: no style-specification or external-specification with ID "print" This is pdfTeX, Version 3.141592-1.40.3 (Web2C 7.5.6) entering extended mode (/tmp/tmpEKqNcu JadeTeX 2003/04/27: 3.13 (/usr/share/texmf/tex/latex/psnfss/t1ptm.fd) Elements will be labelled ! LaTeX Error: Missing \begin{document}. See the LaTeX manual or LaTeX Companion for explanation. Type H <return> for immediate help. ... l.8 {2}}T itle\endNode{}\Node% \HyPL@Entry{0 << /S /D >> } [1.0.52] ! I can't find file `tmpEKqNcu.aux'. \enddocument ...makeatletter \input \jobname .aux \fi \@dofilelist \ifdim \f... l.26 ...ode{}\endNode{}\endNode{}\endNode{}\endFOT {} Please type another input file name ! Emergency stop. \enddocument ...makeatletter \input \jobname .aux \fi \@dofilelist \ifdim \f... l.26 ...ode{}\endNode{}\endNode{}\endNode{}\endFOT {} Output written on tmpEKqNcu.dvi (1 page, 1856 bytes). Transcript written on tmpEKqNcu.log. This is pdfTeX, Version 3.141592-1.40.3 (Web2C 7.5.6) entering extended mode (/tmp/tmpEKqNcu JadeTeX 2003/04/27: 3.13 (/usr/share/texmf/tex/latex/psnfss/t1ptm.fd) Elements will be labelled ! LaTeX Error: Missing \begin{document}. See the LaTeX manual or LaTeX Companion for explanation. Type H <return> for immediate help. ... l.8 {2}}T itle\endNode{}\Node% \HyPL@Entry{0 << /S /D >> } [1.0.52] ! I can't find file `tmpEKqNcu.aux'. \enddocument ...makeatletter \input \jobname .aux \fi \@dofilelist \ifdim \f... l.26 ...ode{}\endNode{}\endNode{}\endNode{}\endFOT {} Please type another input file name ! Emergency stop. \enddocument ...makeatletter \input \jobname .aux \fi \@dofilelist \ifdim \f... l.26 ...ode{}\endNode{}\endNode{}\endNode{}\endFOT {} Output written on tmpEKqNcu.dvi (1 page, 1856 bytes). Transcript written on tmpEKqNcu.log. This is pdfTeX, Version 3.141592-1.40.3 (Web2C 7.5.6) entering extended mode (/tmp/tmpEKqNcu JadeTeX 2003/04/27: 3.13 (/usr/share/texmf/tex/latex/psnfss/t1ptm.fd) Elements will be labelled ! LaTeX Error: Missing \begin{document}. See the LaTeX manual or LaTeX Companion for explanation. Type H <return> for immediate help. ... l.8 {2}}T itle\endNode{}\Node% \HyPL@Entry{0 << /S /D >> } [1.0.52] ! I can't find file `tmpEKqNcu.aux'. \enddocument ...makeatletter \input \jobname .aux \fi \@dofilelist \ifdim \f... l.26 ...ode{}\endNode{}\endNode{}\endNode{}\endFOT {} Please type another input file name ! Emergency stop. \enddocument ...makeatletter \input \jobname .aux \fi \@dofilelist \ifdim \f... l.26 ...ode{}\endNode{}\endNode{}\endNode{}\endFOT {} Output written on tmpEKqNcu.dvi (1 page, 1856 bytes). Transcript written on tmpEKqNcu.log. cer@nimrodel:~/Projects/babel/LyX>
If that's the reason, it's not a fault of any LyX or TeX package.
I don't know who is at fault, only that the "docbook-article.lyx" fails completely to produce any usable output. :-/ What do I do to repair it? What do I install/remove? What Yast installed does not work, and I have absolutely no idea how to repair it. - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4-svn0 (GNU/Linux) iD8DBQFHp8c4tTMYHG2NR9URAlMwAJwPWZoUY5wG9NbUb90xk+ooldAfAACfXmgD JxkVoDQcZsJLn2Mh6RCNNaw= =wBvP -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org