sgmltools crashed with OSError in rmdir()

Bug #178669 reported by Rich
10
Affects Status Importance Assigned to Milestone
sgmltools-lite (Debian)
Fix Released
Unknown
sgmltools-lite (Ubuntu)
Fix Committed
Medium
Unassigned

Bug Description

Binary package hint: sgmltools-lite

I was building newt and sgmltools crashed.

ProblemType: Crash
Architecture: i386
Date: Tue Dec 25 21:11:10 2007
DistroRelease: Ubuntu 8.04
ExecutablePath: /usr/bin/sgmltools
InterpreterPath: /usr/bin/python2.5
NonfreeKernelModules: nvidia
Package: sgmltools-lite 3.0.3.0.cvs.20010909-13
PackageArchitecture: all
ProcCmdline: /usr/bin/python /usr/bin/sgmltools --backend html tutorial.sgml
ProcCwd: /home/rich/packages/ubuntu/debug/newt-0.52.2/build-tree/newt-0.52.2
ProcEnviron:
 SHELL=/bin/bash
 PATH=/usr/local/bin/zfs/:/home/rich/bin:/usr/local/bin/zfs/:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11:/usr/games
 LANG=en_US.UTF-8
PythonArgs: ['/usr/bin/sgmltools', '--backend', 'html', 'tutorial.sgml']
SourcePackage: sgmltools-lite
Title: sgmltools crashed with OSError in rmdir()
Uname: Linux eris 2.6.24-2-generic #1 SMP Thu Dec 20 17:36:12 GMT 2007 i686 GNU/Linux
UserGroups: adm admin audio cdrom dialout dip floppy fuse lpadmin plugdev pulse pulse-access pulse-rt scanner src video

Tags: apport-crash
Revision history for this message
Rich (rincebrain) wrote :
Revision history for this message
Luca Falavigna (dktrkranz) wrote :

I encountered a similar issue while test building freesci:

# build the docs
cd /tmp/buildd/freesci-0.3.5/build//freesci-0.3.5//doc && sgmltools -b html /tmp/buildd/freesci-0.3.5/build//freesci-0.3.5//doc/sci.sgml
mv: cannot stat `/tmp/tmp8bY8VY/*': No such file or directory
Traceback (most recent call last):
  File "/usr/bin/sgmltools", line 93, in <module>
    tool.processFile(curfile)
  File "/usr/share/sgml/misc/sgmltools/python/SGMLtools.py", line 303, in processFile
    be.postJade(jadeoutfile, jadestdoutfile)
  File "/usr/share/sgml/misc/sgmltools/python/backends/Html.py", line 72, in postJade
    self._tracer.rmdir(self._tempdir)
  File "/usr/share/sgml/misc/sgmltools/python/utils.py", line 359, in rmdir
    os.rmdir(dir)
OSError: [Errno 39] Directory not empty: '/tmp/tmp8bY8VY'

Changed in sgmltools-lite:
importance: Undecided → Medium
status: New → Confirmed
Revision history for this message
Luca Falavigna (dktrkranz) wrote :

Attached debdiff should fix this issue.

Changed in sgmltools-lite:
status: Unknown → New
Revision history for this message
Daniel Holbach (dholbach) wrote :

Kees: can you take a look at this one?

Revision history for this message
Luca Falavigna (dktrkranz) wrote :

Fixed in Debian with version 3.0.3.0.cvs.20010909-14, sync requested in bug #181230.

Changed in sgmltools-lite:
status: Confirmed → Fix Committed
Changed in sgmltools-lite:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.