[GeoNetwork-devel] Error building sphinx documentation on ubuntu

Hello list,

I’m facing an error building the new sphinx documentation on Ubuntu, either with python 2.5 and python 2.6, and with version 0.5.2-1ubuntu2 of the python-sphinx package for Ubuntu.

See the error below :

pickling environment… done
checking consistency… done
preparing documents… done
writing output… admin/administration/index admin/configuration/index Exception occurred:
File “/usr/lib/python2.5/site-packages/docutils/nodes.py”, line 626, in replace_self
‘Losing “%s” attribute: %s’ % (att, self[att])
AssertionError: Losing “ids” attribute: [‘configuration’]
The full traceback has been saved in /tmp/sphinx-err-uHYV82.log, if you want to report the issue to the author.
Please also report this if it was a user error, so that a better error message can be provided next time.
Send reports to sphinx-dev@anonymised.com. Thanks!
make: *** [html] Error 1

Anybody else is getting the same error?
Any advice or hints from people managing to build the documentation? which version are you using?

Thanks,

Mathieu

Hi Mathieu,
I used Python 2.6 with the required extensions installed for XML processing and latex / pdf generation. I build on OS X, not on Linux. Maybe you can send me the full traceback log to look at?
Ciao,
Jeroen

On 30 jun 2010, at 19:40, Mathieu Coudert wrote:

Hello list,

I’m facing an error building the new sphinx documentation on Ubuntu, either with python 2.5 and python 2.6, and with version 0.5.2-1ubuntu2 of the python-sphinx package for Ubuntu.

See the error below :

pickling environment… done
checking consistency… done
preparing documents… done
writing output… admin/administration/index admin/configuration/index Exception occurred:
File “/usr/lib/python2.5/site-packages/docutils/nodes.py”, line 626, in replace_self
‘Losing “%s” attribute: %s’ % (att, self[att])
AssertionError: Losing “ids” attribute: [‘configuration’]
The full traceback has been saved in /tmp/sphinx-err-uHYV82.log, if you want to report the issue to the author.
Please also report this if it was a user error, so that a better error message can be provided next time.
Send reports to sphinx-dev@anonymised.com. Thanks!
make: *** [html] Error 1

Anybody else is getting the same error?
Any advice or hints from people managing to build the documentation? which version are you using?

Thanks,

Mathieu

This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/firsthttp://p.sf.net/sfu/sprint-com-first_______________________________________________
GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork

Hi Jeroen,

FYI, the problem was the version 0.5.2-1ubuntu2 of the python-sphinx package for Ubuntu 9.04

Creating a virtual environment for python and installing the last Sphinx package (version 1.0b2) fix the problem.
Then, building the documentation is fine.

It seems that using Ubuntu 10.04 also solves the problem since the embedded python-sphinx package is up to date.

Ciao,

Mathieu

On Wed, Jun 30, 2010 at 11:16 PM, Jeroen Ticheler <jeroen.ticheler@anonymised.com> wrote:

Hi Mathieu,
I used Python 2.6 with the required extensions installed for XML processing and latex / pdf generation. I build on OS X, not on Linux. Maybe you can send me the full traceback log to look at?
Ciao,
Jeroen

On 30 jun 2010, at 19:40, Mathieu Coudert wrote:

Hello list,

I’m facing an error building the new sphinx documentation on Ubuntu, either with python 2.5 and python 2.6, and with version 0.5.2-1ubuntu2 of the python-sphinx package for Ubuntu.

See the error below :

pickling environment… done
checking consistency… done
preparing documents… done
writing output… admin/administration/index admin/configuration/index Exception occurred:
File “/usr/lib/python2.5/site-packages/docutils/nodes.py”, line 626, in replace_self
‘Losing “%s” attribute: %s’ % (att, self[att])
AssertionError: Losing “ids” attribute: [‘configuration’]
The full traceback has been saved in /tmp/sphinx-err-uHYV82.log, if you want to report the issue to the author.
Please also report this if it was a user error, so that a better error message can be provided next time.
Send reports to sphinx-dev@anonymised.com. Thanks!
make: *** [html] Error 1

Anybody else is getting the same error?
Any advice or hints from people managing to build the documentation? which version are you using?

Thanks,

Mathieu


This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/firsthttp://p.sf.net/sfu/sprint-com-first_______________________________________________
GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork