Menu

#1 Errors running sgmltools

open
nobody
None
5
2000-10-11
2000-10-11
Anonymous
No

Discussion

  • Nobody/Anonymous

    Logged In: NO
    Browser: Mozilla/4.73 [en] (X11; U; HP-UX B.10.20 9000/778)

    I get the following errors running sgmltools:

    $ sgmltools -d -b ps DocType.sgml
    Traceback (most recent call last):
    File "/usr/local/bin/sgmltools", line 82, in ?
    tool.processFile(curfile)
    File
    "/usr/local/share/sgml/misc/sgmltools/python/SGMLtools.py",
    line 218, in processFile
    dssslfile = utils.findStylesheet(stylesheet,
    self._aliases)
    File
    "/usr/local/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-ps]

    Any idea what is going on here? I am running Python
    1.6.

    Thanks.

    Jeffrey Johnson
    johjeff@nortelnetworks.com

     
  • David Nedrow

    David Nedrow - 2001-05-10

    Logged In: YES
    user_id=24577

    This meens that the system can't access the catalog files
    provided with sgmltools-lite. Make sure the following files
    exist:

    /usr/lib/sgml/dtd/sgmltools/catalog
    /usr/lib/sgml/stylesheets/sgmltools/sgmltools.cat

    The file location may very depending on your configure
    parameters.

     

Log in to post a comment.

MongoDB Logo MongoDB