← Back to team overview

fenics team mailing list archive

Re: [Branch ~fenics-core/fenics-doc/main] Rev 222: Added Hans-Petter's FEniCS tutorial (in Python).

 

On Thu, Feb 3, 2011 at 11:11 AM, Kristian Ølgaard
<k.b.oelgaard@xxxxxxxxx> wrote:
> On 3 February 2011 09:33, Johannes Ring <johannr@xxxxxxxxx> wrote:
>> On Thu, Feb 3, 2011 at 12:37 AM, Marie E. Rognes <meg@xxxxxxxxx> wrote:
>>> On 02/02/2011 11:51 PM, Marie E. Rognes wrote:
>>>
>>> On 02/02/2011 11:46 PM, Kristian Ølgaard wrote:
>>>
>>> On 2 February 2011 22:33, Marie E. Rognes <meg@xxxxxxxxx> wrote:
>>>
>>> On 02/02/2011 03:45 PM, noreply@xxxxxxxxxxxxx wrote:
>>>
>>> ------------------------------------------------------------
>>> revno: 222
>>> committer: Kristian B. Ølgaard <k.b.oelgaard@xxxxxxxxx>
>>> branch nick: fenics-doc
>>> timestamp: Wed 2011-02-02 15:43:19 +0100
>>> message:
>>>   Added Hans-Petter's FEniCS tutorial (in Python).
>>> added:
>>>   source/doc/tutorial/python/eps/
>>>   source/doc/tutorial/python/eps/Poisson2D_Dvc_contour1.png
>>>   source/doc/tutorial/python/eps/Poisson2D_Dvc_flux_x.png
>>>   source/doc/tutorial/python/eps/Poisson2D_Dvc_mesh1.png
>>>   source/doc/tutorial/python/eps/Poisson2D_Dvc_surf1.png
>>>   source/doc/tutorial/python/eps/daynight.png
>>>   source/doc/tutorial/python/eps/hollow_cylinder.png
>>>   source/doc/tutorial/python/eps/membrane_waxis.png
>>>   source/doc/tutorial/python/tu2.rst
>>>
>>>
>>> Pressing any of the links in the html version of the tutorial gives
>>>
>>>     "The requested URL /doc/tutorial/python/tu2.html was not found on this
>>> server."
>>>
>>> Intended?
>>>
>>> No, don't know what's going on. It works fine here when I tested it
>>> locally and I think I added all files. Does it work for you if you
>>> build it yourself?
>>>
>>> Will try.
>>>
>>>
>>> So far 'make all' is producing a barely countable number of errors. Will try
>>> again tomorrow.
>>
>> I tried to build it manually on fenicsporject.org and I got this error:
>>
>> writing output... [ 99%] doc/tutorial/python/tu2
>> Exception occurred:
>>  File "/home/fenics-doc/local/lib/python2.6/site-packages/Pygments-1.0-py2.6.egg/pygments/lexers/__init__.py",
>> line 83, in get_lexer_by_name
>>    raise ClassNotFound('no lexer for alias %r found' % _alias)
>> ClassNotFound: no lexer for alias u'console' found
>> The full traceback has been saved in /tmp/sphinx-err-ga9VUR.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/>,
>> or report them in the tracker at
>> <http://bitbucket.org/birkenfeld/sphinx/issues/>. Thanks!
>> make: *** [html] Error 1
>>
>> Any idea what lexer is needed?
>>
>> Johannes
>>
>> Contents of /tmp/sphinx-err-ga9VUR.log:
>>
>> # Sphinx version: 1.0.3
>> # Docutils version: 0.5 release
>> # Jinja2 version: 2.5.2
>
> I have:
>
> # Sphinx version: 1.0.5
> # Docutils version: 0.6 release
> # Jinja2 version: 2.5.2
>
> and it seems to work fine.

I installed the latest Sphinx (1.0.7) and then it worked fine.

Johannes



Follow ups

References