On Tue, Aug 31, 2010 at 12:21:12PM +0200, Marie Rognes wrote:
> On 31. aug. 2010 12:17, Anders Logg wrote:
> > On Tue, Aug 31, 2010 at 12:11:17PM +0200, Marie Rognes wrote:
> >
> >> On 31. aug. 2010 10:46, [email protected] wrote:
> >>
> >>     ------------------------------------------------------------
> >>     revno: 122
> >>     committer: Anders Logg <[email protected]>
> >>     branch nick: fenics-doc
> >>     timestamp: Tue 2010-08-31 10:43:34 +0200
> >>     message:
> >>       Try to fix error in mixed Poisson demo reported by testing script
> >>       but the script still reports that something is wrong. Any ideas?
> >>     modified:
> >>       source/demos/python/pde/mixed-poisson/mixed-poisson.rst
> >>       source/styleguides/documentationstyleguides.rst
> >>
> >>
> >>
> >>
> >> Which error reported by which test script?
> >>
> >> Running verify_demo_code_snippets gives me:
> >>
> >>     m...@localhost ~/local/src/fenics/fenics-doc/test $ python
> >>     verify_demo_code_snippets.py
> >>
> >>     Testing that all code snippets are valid.
> >>
> >>       cpp/pde/cahn-hilliard, OK.
> >>       cpp/pde/hyperelasticity, OK.
> >>       cpp/pde/poisson, OK.
> >>       python/pde/cahn-hilliard
> >>     Error:
> >>
> >>     code block:
> >>     # Model parameters
> >>     lmbda = 1.0e-02 # surface parameter
> >>     factor = 100 # chemical free energy multiplier
> >>     dt = 5.0e-06 # time step
> >>     theta = 0.5 # time stepping family, e.g. theta=1 -> backward Euler, 
> >> theta=
> >>     0.5 -> Crank-Nicolson
> >>
> >>     source_files:
> >>     ['demo.py']
> >>
> >>     in directory:  
> >> /home/meg/local/src/fenics/fenics-doc/source/demos/python/
> >>     pde/cahn-hilliard
> >>
> >>     Traceback (most recent call last):
> >>       File "verify_demo_code_snippets.py", line 132, in <module>
> >>         verify_blocks(rst_file, source_files, block_source[directory])
> >>       File "verify_demo_code_snippets.py", line 36, in verify_blocks
> >>         if path.splitext(sf)[-1] == source_type])
> >>       File "verify_demo_code_snippets.py", line 109, in block_in_source
> >>         raise RuntimeError("Illegal code block.")
> >>     RuntimeError: Illegal code block.
> >>
> > Strange, I got a different error.
>
>
> Is that "got" or "get"?

Don't know. I'm getting lots of errors from the demo I'm currently
developing so it crashes before then. I'll let you know if it
continues to fail after I have fixed my demo.

--
Anders

_______________________________________________
Mailing list: https://launchpad.net/~fenics
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~fenics
More help   : https://help.launchpad.net/ListHelp

Reply via email to