[Grok-dev] Re: Help installing grok2html
Philipp von Weitershausen
philipp at weitershausen.de
Wed Jul 18 18:33:22 EDT 2007
On 19 Jul 2007, at 00:30 , Luciano Ramalho wrote:
> With Philipp's help I managed to run grok2html, however it seems to be
> broken at this time:
>
> luciano at arabier:~/gsoc2007/grok/bin$ ./grok2html ../../www-grok/
> Processing index
> Processing about
> Processing tutorial
> Processing mini-index
> Traceback (most recent call last):
> File "/home/luciano/gsoc2007/grok/bin/grok2html", line 77, in ?
> grok2html.main()
> File "/home/luciano/gsoc2007/grok/doc/grok2html.py", line 148, in
> main
> create_html(rest_files, template)
> File "/home/luciano/gsoc2007/grok/doc/grok2html.py", line 106, in
> create_html
> restfile.create_html(page, settings)
> File "/home/luciano/gsoc2007/grok/doc/grok2html.py", line 72, in
> create_html
> fp = codecs.open(self.target,"w",'utf8')
> File "/usr/lib/python2.4/codecs.py", line 666, in open
> file = __builtin__.open(filename, mode, buffering)
> IOError: [Errno 2] No such file or directory:
> '../../www-grok/minitutorials/index.html'
>
> Line 148 just says:
>
> create_html(rest_files, template)
>
> So the problem is likely in the lines that build the rest_files
> argument.
It seems like the script is forgetting to create the 'minitutorials'
directory in which it wants to place 'index.html'.
More information about the Grok-dev
mailing list