From: Justin D. <jde...@op...> - 2009-07-26 18:10:17
|
As i mentioned to you before this is an issue with the version of sphinx installed on that box. I am not sure exactly what the problem is but the docs don't build without it. To get around it I used a neat tool called virtualenv (http://pypi.python.org/pypi/virtualenv) which basically allows you to create your own specialized python environment, isolated from teh system one. So I used it to install the correct version of sphinx. Sorry, I should have communicated this better. What we should do for the long term is get whoever admins that box to update sphinx so any user can build and publish the docs. Do you want to create a ticket for that? Until that happens our options are: 1) have be build them and put them into place 2) build them on your local machine, and upload them prebuilt to the box Regardless of which method is used the docs need to be copied into /osgeo/geotools/geotools-web/sphinx/build/html Also, it seems you have been trying to work around the problem. Can you let me know what you did, seems you changed some permissions and what not, I would like to reverse that so that there are not surprises. -Justin Jody Garnett wrote: > Okay I am figuring it out ... > > I have removed all the warning in the sphinx build (if you build it > locally). The error is probably a reference to justin's magic script > that pulls in a source code example? I am not sure the server has been > set up with that one yet.... > > Jody > > On Sat, Jul 25, 2009 at 12:30 PM, Jody Garnett<jod...@gm...> wrote: >> I spent some time with chmod today and have everything sorted out ... >> >> However "make html" fails on the website with the following error ... >> >> File >> "/usr/lib/python2.4/site-packages/Jinja-1.2-py2.4-linux-i686.egg/jinja/parser.py", >> line 1148, in _sanitize_tree >> self.filename) >> TemplateSyntaxError: misplaced block 'rootrellink', blocks in child >> templates must be either top level or located in a block tag. (page.html, >> line 24) >> The full traceback has been saved in /tmp/sphinx-err-h8Elch.log, if you want >> to report the issue to the author. >> >> >> The version of sphinx used is 0.6. >> >> At home everything works and I am using 0.6.2. >> >> Jody >> >> On 24/07/2009, at 2:31 PM, Jody Garnett wrote: >> >>> Hi Justin: >>> >>> I wanted to update the test.geotools.org website so I could ask the >>> user list to try the code examples (and start removing content from >>> the wiki). The /osgeo/geotools/geotools-web folder is all checked out >>> as you - so I do not have permission to do an "svn up", or "make >>> html". In particular "make html" fails due to a missing Jinja_ >>> template - did you install this software yourself? >>> >>> Jody >> -- Justin Deoliveira OpenGeo - http://opengeo.org Enterprise support for open source geospatial. |