[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[SID] Possible package problem with new sgml-base



I'm completely new WRT sgml and it's organization. However, after
today's changes to sgml-base... it looks like you need symlinks in
/etc/sgml to point to /usr/lib/{dtd,entities,stylesheet}.

I am trying something simple with some of the kde sgml stuff. In order,
to get this to work I used:
update-catalog --add --super /usr/share/apps/ksgmltools/catalog

Now tyring to use:
sgmltools --backend=html -s
/usr/share/apps/ksgmltools/stylesheets/kde.dsl#html index.docbook

Trying to generate some html from sgml docbook source. I had to create
those symlinks in order for it to find the dtd's, entities, and
stylesheets correctly. Upon completion I received the following errors:

Traceback (innermost last):
  File "/usr/bin/sgmltools", line 81, in ?
    tool.processFile(curfile)
File "/usr/lib/sgml/misc/sgmltools/python/SGMLtools.py", line
258, in processFile
be.postJade(jadeoutfile, jadestdoutfile)
File
"/usr/lib/sgml/misc/sgmltools/python/backends/Html.py",
line 62, in postJade
self._tracer.rmdir(self._tempdir)
File "/usr/lib/sgml/misc/sgmltools/python/utils.py",
line 348, in rmdir
os.rmdir(dir)
OSError: [Errno 39] Directory not empty:
'/var/tmp/@25652'

This I'm unsure of, it appears it uses /var/tmp for temp storage but
didn't use it all during generation so the rmdir fails? Perhaps it needs
an '-f' option? Or it is not processing something correctly?

Thanks
Gordon Sadler



Reply to: