| Summary: | Python 2.3.3 seems to break sgmltools | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Phil Thompson <phil> |
| Component: | [OLD] Development | Assignee: | Text-Markup Team (OBSOLETE) <text-markup+disabled> |
| Status: | RESOLVED INVALID | ||
| Severity: | normal | ||
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | x86 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
firstly try remerging the dsssl-stylesheets, your catalogs might not be correct. If that doesnt fix it, yep, it could be python 2.3 Remerging the dsssl stylesheets made no difference. See bug #32243 and remove xhtml1 (emerge -C xhtml1) if you have it installed. No problems here with python-2.3.3 I didn't have xhtml1 installed. I added double-quotes to /etc/sgml/sgml-lite.cat as suggested in bug #32243 and it solved the problem. Any reason why sgml-tools hasn't been fixed already? Because we couldn't actually track down how they got lost in the first place, they're there for me. Also it didn't reliably fix for everyone. |
The new Python 2.3.3 seems to break the current version of sgmltools when creating HTML from DocBook. I've only just installed Gentoo, but I think the previous Python 2.2.x was Ok on the few times I tried it. Reproducible: Always Steps to Reproduce: 1.sgmltools -j '-V %generate-article-toc%' file.sgml 2. 3. Actual Results: The Python trace is... Traceback (most recent call last): File "/usr/bin/sgmltools", line 93, in ? tool.processFile(curfile) File "/usr/share/sgml/misc/sgmltools/python/SGMLtools.py", line 230, in processFile dssslfile = utils.findStylesheet(stylesheet, self._aliases) File "/usr/share/sgml/misc/sgmltools/python/utils.py", line 307, in findStylesheet return findStylesheet(name, aliases) 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 HTML//EN"]