Repository navigation
Handle whitespace in paths #385
Copy link
Copy link
Open
Description
I don't know if this is an AutoDoc issue or a GAPDoc issue, but I'm doing the following:
$ cd ~
$ mkdir "my pkg"
$ cd "my pkg"
$ git clone git@github.com:mtorpey/uuid.git
$ cd uuid/
$ gap makedoc.g and I get the following failure:
● G GAP 4.17dev-220-gb51db6f built on 2026-10-15 16:36:42+0100
● ● A https://www.gap-system.org
● P Architecture: x86_64-pc-linux-gnu-default64-kv11
Configuration: gmp 6.3.0, GASMAN, readline
Loading the library and packages ...
#I digraphs package is not available. Check that the name is correct
#I and it is present in one of the GAP root directories (see '??RootPaths')
#I profiling package is not available. Check that the name is correct
#I and it is present in one of the GAP root directories (see '??RootPaths')
Packages: AutoDoc 2026.09.09, curlInterface 2.5.0, GAPDoc 1.6.11,
IO 4.11.0, PackageManager 2.0.0-beta.4, PerfGrp 1.0.0,
PrimGrp 4.0.3, SmallGrp 1.7.0, TransGrp 3.6.5
Try '??help' for help. See also '?copyright', '?cite' and '?authors'
#I Composing XML document . . .
#I Parsing XML document . . .
#I Checking XML structure . . .
#I Text version (also produces labels for hyperlinks):
#I First run, collecting cross references, index, toc, bib and so on . . .
#I Table of contents complete.
#I Producing the index . . .
#I Second run through document . . .
#I Producing simplified search strings and labels for hyperlinks . . .
#I Constructing LaTeX version and calling pdflatex:
#I Writing LaTeX file, 4 x pdflatex with bibtex and makeindex, sh: 1: cd: can't cd to /home/mtorpey/my
#W WARNING: Something wrong, cannot find log file /home/mtorpey/my pkg/uuid/do\
c/_main.log
#I ERROR: no .pdf file produced (writing incomplete .six file)
#I Finally the HTML version . . .
#I First run, collecting cross references, index, toc, bib and so on . . .
#I Table of contents complete.
#I Producing the index . . .
#I Second run through document . . .
#I - also HTML version for MathJax . . .
#I First run, collecting cross references, index, toc, bib and so on . . .
#I Table of contents complete.
#I Producing the index . . .
#I Second run through document . . .
#I File: /home/mtorpey/my pkg/uuid/doc/manual.lab written.
The critical part above is sh: 1: cd: can't cd to /home/mtorpey/my which doesn't recognise my pkg as all one string.
I don't know where this sh call is happening or whether it's an easy fix, but I figure it's something to handle if we can, while gap-packages/PackageManager#158 is fixing something similar for PackageManager.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
Activity