[Geoserver-devel] Geoserver doc

There is an error in geoserver doc when using sphinx to build the html. This
error only occurs in windows

C:\VPrograms\GeoServer\trunk\doc\en\user>ls
Makefile build make.bat source

C:\VPrograms\GeoServer\trunk\doc\en\user>make html
Running Sphinx v1.0.1
loading pickled environment... not yet created

Exception occurred:
  File
"c:\vprograms\python\lib\site-packages\Sphinx-1.0.1-py2.5.egg\sphinx\util\jsonimpl.py",
line 42, in <module>
    load = json.load
AttributeError: 'NoneType' object has no attribute 'load'
The full traceback has been saved in
c:\docume~1\tey006\locals~1\temp\sphinx-err-6pilpz.log, if you want to
report the issue to the developers.
Please also report this if it was a user error, so that a better error
message can be provided next time.
Either send bugs to the mailing list at
<http://groups.google.com/group/sphinx-dev/&gt;,
or report them in the tracker at
<http://bitbucket.org/birkenfeld/sphinx/issues/&gt;\. Thanks!

Build finished. The HTML pages are in build/html.

--
View this message in context: http://old.nabble.com/Geoserver-doc-tp29425895p29425895.html
Sent from the GeoServer - Dev mailing list archive at Nabble.com.

I managed to get sphinx on windows working this week:
- Python 2.7 was required
- down grade sphinx on windows to v 6.6.
- Binary install of Python Image Library (or add c++)
- latest rst2pdf (requires adding c++)

For adding c++:
- Installation of Visual C++ Express 2008 to compile rst2pdf or PIL

Did you want to try downgrading to sphinx 0.6.6?

Jody

I also
On 13/08/2010, at 4:09 PM, VT@anonymised.com wrote:

There is an error in geoserver doc when using sphinx to build the html. This
error only occurs in windows

C:\VPrograms\GeoServer\trunk\doc\en\user>ls
Makefile build make.bat source

C:\VPrograms\GeoServer\trunk\doc\en\user>make html
Running Sphinx v1.0.1
loading pickled environment... not yet created

Exception occurred:
File
"c:\vprograms\python\lib\site-packages\Sphinx-1.0.1-py2.5.egg\sphinx\util\jsonimpl.py",
line 42, in <module>
   load = json.load
AttributeError: 'NoneType' object has no attribute 'load'
The full traceback has been saved in
c:\docume~1\tey006\locals~1\temp\sphinx-err-6pilpz.log, if you want to
report the issue to the developers.
Please also report this if it was a user error, so that a better error
message can be provided next time.
Either send bugs to the mailing list at
<http://groups.google.com/group/sphinx-dev/&gt;,
or report them in the tracker at
<http://bitbucket.org/birkenfeld/sphinx/issues/&gt;\. Thanks!

Build finished. The HTML pages are in build/html.

--
View this message in context: http://old.nabble.com/Geoserver-doc-tp29425895p29425895.html
Sent from the GeoServer - Dev mailing list archive at Nabble.com.

------------------------------------------------------------------------------
This SF.net email is sponsored by

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev
_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Another option is to use cygwin - I gave up on my windows (XP) install
and went with cygwin and all was well with sphinx 1.0.1

Ian
--
Ian Turton