Fails when filenames contain spaces

Bug #879264 reported by Robert Sander
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
docbook-utils (Ubuntu)
New
Undecided
Unassigned

Bug Description

The docbook2anything commands fail when there are spaces in filenames or directory names.

gurubert@sperry:/usr/local/anarchy/gurubert/I-Systems/docs/IT Infrastructure Documentation$ docbook2html -o html -u Index.docbook
/usr/bin/jw: line 273: [: too many arguments
basename: extra operand `Documentation/Index.docbook'
Try `basename --help' for more information.
/usr/bin/jw: line 408: [: too many arguments
Using catalogs: /etc/sgml/catalog
Using stylesheet: /usr/share/docbook-utils/docbook-utils.dsl#html
Working on: /usr/local/anarchy/gurubert/I-Systems/docs/IT Infrastructure Documentation/Index.docbook
/usr/bin/jw: line 425: cd: /usr/local/anarchy/gurubert/I-Systems/docs/IT: No such file or directory
openjade:E: cannot open "/usr/local/anarchy/gurubert/I-Systems/docs/IT" (No such file or directory)
openjade:E: cannot find "Infrastructure"; tried "Infrastructure", "/usr/local/share/sgml/Infrastructure", "/usr/share/sgml/Infrastructure"
openjade:E: cannot find "Documentation/Index.docbook"; tried "Documentation/Index.docbook", "/usr/local/share/sgml/Documentation/Index.docbook", "/usr/share/sgml/Documentation/Index.docbook"
openjade:/usr/share/sgml/declaration/xml.dcl:190:1:E: end of document in prolog
/usr/bin/jw: line 436: cd: /usr/local/anarchy/gurubert/I-Systems/docs/IT: No such file or directory

ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: docbook-utils 0.6.14-1.1
ProcVersionSignature: Ubuntu 2.6.38-11.50-generic 2.6.38.8
Uname: Linux 2.6.38-11-generic x86_64
NonfreeKernelModules: fglrx
Architecture: amd64
Date: Fri Oct 21 09:14:51 2011
PackageArchitecture: all
ProcEnviron:
 SHELL=/bin/bash
 PATH=(custom, user)
 LANG=en_US.UTF-8
 LANGUAGE=en_US:en
SourcePackage: docbook-utils
UpgradeStatus: Upgraded to natty on 2011-09-07 (43 days ago)

Revision history for this message
Robert Sander (gurubert) wrote :
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.