[Qgis-community-team] website/docs build apart on qgis2, scp or rsync?

Richard Duivenvoorde richard at duif.net
Fri Jun 13 07:31:16 PDT 2014


On 10-06-14 12:59, Eduardo Gonzalez wrote:

> I tested yesterday the paver for the GIS Documentation in Windows. It
> almost worked but ended with:
> 
> "Build failed running pavement.html: Subprocess return code: 1"
> 
> I run the bootstrap without problems, then activated the virtualenv, and
> finally run "paver.exe html".
> 
> The process copied the files but stoped immediately when running
> "sphinx-intl.exe build -l en -c source/conf.py"... the file and path for
> conf.py are correct...
> 
> Any pointers?
> 
> It would be great to be able to build the autonomally and this seems to
> be a great way to do it!

Hi Eduardo,

this 'subprocess'-error is indeed not very helpfull.

But today I added a bootstrap.py and a pavement.py file inot
QGIS-Documentation master branch AND I tested this on a Windows7 machine
I have here.

I had I think the same problems and fixed them:

1) although it is supposed to work in a virtual environment, the
python/module packages are a little mixed: when I try to run the last
line in the error: sphinx.exe .... again on the command line it showed
that it missed the jinja2 module. But trying to install it via 'pip
install jinja2' it said it was already (globally installed). I removed
the globally installed jinja2 and ran 'python bootstrap.py' again, and
then jinja2 was available for the python in my virtual environment.

2) then there was an error in a jinja2-template which I fixed.

So please try again, and report back (in a new thread I would say) if
you still have errors.

Regards,

Richard Duivenvoorde



More information about the Qgis-community-team mailing list