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

Re: [SID] Possible package problem with new sgml-base



Hi,

Apparently sgmltools doesn't know how to process /etc/sgml/catalog,
i.e.  it probably doesn't understand the CATALOG directive.  A bug
report needs to be filed for this probably.

The /var/tmp thing I've no clue about.  I don't use sgmltools.

Thanks,
Ardo

Gordon Sadler (gbsadler1@lcisp.com) wrote:
> 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
-- 
Ardo van Rangelrooij
home email: ardo@debian.org
home page:  http://people.debian.org/~ardo
PGP fp:     3B 1F 21 72 00 5C 3A 73  7F 72 DF D9 90 78 47 F9



Reply to: