Unable to update test.geotools.org

10 messages Options
Embed this post
Permalink
Jody Garnett-2

Unable to update test.geotools.org

Reply Threaded More More options
Print post
Permalink
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

------------------------------------------------------------------------------
_______________________________________________
Geotools-administration mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/geotools-administration
Jody Garnett-2

Re: Unable to update test.geotools.org

Reply Threaded More More options
Print post
Permalink
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


------------------------------------------------------------------------------
_______________________________________________
Geotools-administration mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/geotools-administration
Jody Garnett-2

Re: Unable to update test.geotools.org

Reply Threaded More More options
Print post
Permalink
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<[hidden email]> 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
>
>

------------------------------------------------------------------------------
_______________________________________________
Geotools-administration mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/geotools-administration
Justin Deoliveira

Re: Unable to update test.geotools.org

Reply Threaded More More options
Print post
Permalink
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<[hidden email]> 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.

------------------------------------------------------------------------------
_______________________________________________
Geotools-administration mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/geotools-administration
Jody Garnett-2

Re: Unable to update test.geotools.org

Reply Threaded More More options
Print post
Permalink
There were two problems - the version of sphinx used; and that the  
permissions were only assigned to you. I used chmod to assign them to  
myself.
Jody

On 27/07/2009, at 4:10 AM, Justin Deoliveira wrote:

> 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<[hidden email]> 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.


------------------------------------------------------------------------------
_______________________________________________
Geotools-administration mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/geotools-administration
Jody Garnett-2

Re: Unable to update test.geotools.org

Reply Threaded More More options
Print post
Permalink
In reply to this post by Justin Deoliveira
It also looked like you had local modifications to the page template  
that were not committed.
Jody

On 27/07/2009, at 4:10 AM, Justin Deoliveira wrote:

> 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<[hidden email]> 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.


------------------------------------------------------------------------------
_______________________________________________
Geotools-administration mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/geotools-administration
Jody Garnett-2

Re: Unable to update test.geotools.org

Reply Threaded More More options
Print post
Permalink
In reply to this post by Justin Deoliveira
> 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?

http://trac.osgeo.org/osgeo/ticket/397

------------------------------------------------------------------------------
_______________________________________________
Geotools-administration mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/geotools-administration
Jody Garnett-2

Re: Unable to update test.geotools.org

Reply Threaded More More options
Print post
Permalink
This ticket is now closed; we should test that we can build out of the box now.
Jody

On Mon, Jul 27, 2009 at 8:44 AM, Jody Garnett<[hidden email]> wrote:
>> 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?
>
> http://trac.osgeo.org/osgeo/ticket/397
>

------------------------------------------------------------------------------
_______________________________________________
Geotools-administration mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/geotools-administration
Justin Deoliveira

Re: Unable to update test.geotools.org

Reply Threaded More More options
Print post
Permalink
Cool, thanks for doing that. The virtualenv i created is no longer needed.

We should figure out a strategy for updating, since switching
permissions back and forth between whomever is logged it to update the
code won't quite work. I gave anyone in the users group write permission
on the sphinx directory, so you should be able to update without
chowning the directory. Let me know if it works.

Jody Garnett wrote:

> This ticket is now closed; we should test that we can build out of the box now.
> Jody
>
> On Mon, Jul 27, 2009 at 8:44 AM, Jody Garnett<[hidden email]> wrote:
>>> 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?
>> http://trac.osgeo.org/osgeo/ticket/397
>>
>
> ------------------------------------------------------------------------------
> _______________________________________________
> Geotools-administration mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/geotools-administration


--
Justin Deoliveira
OpenGeo - http://opengeo.org
Enterprise support for open source geospatial.

------------------------------------------------------------------------------
_______________________________________________
Geotools-administration mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/geotools-administration
Jody Garnett-2

Re: Unable to update test.geotools.org

Reply Threaded More More options
Print post
Permalink
Thanks Justin - I tested and everything is fine.
Jody

On Tue, Jul 28, 2009 at 1:27 AM, Justin Deoliveira<[hidden email]> wrote:

> Cool, thanks for doing that. The virtualenv i created is no longer needed.
>
> We should figure out a strategy for updating, since switching permissions
> back and forth between whomever is logged it to update the code won't quite
> work. I gave anyone in the users group write permission on the sphinx
> directory, so you should be able to update without chowning the directory.
> Let me know if it works.
>
> Jody Garnett wrote:
>>
>> This ticket is now closed; we should test that we can build out of the box
>> now.
>> Jody
>>
>> On Mon, Jul 27, 2009 at 8:44 AM, Jody Garnett<[hidden email]>
>> wrote:
>>>>
>>>> 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?
>>>
>>> http://trac.osgeo.org/osgeo/ticket/397
>>>
>>
>>
>> ------------------------------------------------------------------------------
>> _______________________________________________
>> Geotools-administration mailing list
>> [hidden email]
>> https://lists.sourceforge.net/lists/listinfo/geotools-administration
>
>
> --
> Justin Deoliveira
> OpenGeo - http://opengeo.org
> Enterprise support for open source geospatial.
>

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Geotools-administration mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/geotools-administration