← Back to team overview

yade-dev team mailing list archive

Re: Maverick and documentation generation

 

> Although python-sphinx in Maverick newer, than in our external ppa, it
> gives an error:
> 
> ===================================
> Sphinx error:
> 'ascii' codec can't decode byte 0xe2 in position 21: ordinal not in
> range(128)
> Traceback (most recent call last):
>   File "./../../../build/bin/yade-0.50", line 112, in <module>
>     execfile(args[0])
>   File "yadeSphinx.py", line 197, in <module>
>     makeBaseClassesClickable((outDir+'/html/yade.wrapper.html' if
> writer=='html' else outDir+'/latex/Yade.tex'),writer)
>   File "yadeSphinx.py", line 138, in makeBaseClassesClickable
>     for l in open(f):
> IOError: [Errno 2] No such file or directory: '-x/latex/Yade.tex'
> Yade: error exit.
> ===================================
> 
> Maybe the problem is related to python configuration?
> How is it possible to solve it?

1. outDir is '-x' ?
2. PYTHONPATH=. is obviously not set (./sitecustomize.py is loaded then
automatically and it sets the right encoding).

There is no use uploading to launchpad if you cannot build in pbuilder.

I might setup pbuilder maverick root, depending on my schedule.

v





References