|
The quotes are almost certainly causing this.
pdfreport builds up a command line for calling htmldoc which is then passed to the shell. If I remember correctly, the parameters are not quoted (whoops, my fault) and so any embedded quotes are likely to be removed.
In addition, I seem to remember some complex rules for how MRTG treats punctuation embedded in a target name when it is calculating the name of the corresponding rrd file.
The 'No HTML files' error is coming from htmldoc, and it is apparently unable to locate any of the temporary HTML data that has been generated, probably because of the quotes issue changing the apparent names of the files. I'll need to change the code to escape the quotes, and then put more quotes around the escaped parameter strings.
At the moment, I'm on paternity leave (first baby imminent) so no development time available at the moment. Ill be back in the office in 6 weeks.
_________________ Steve Shipway UNIX Systems, ITSS, University of Auckland, NZ Woe unto them that rise up early in the morning... -- Isaiah 5:11
|