Ilmar Wilbers wrote: > OK, the problem is that we use DOLFIN_NOPLOT=1: > > [EMAIL PROTECTED]:~/dolfin-ass/demo/plot/python$ export DOLFIN_NOPLOT=1 > [EMAIL PROTECTED]:~/dolfin-ass/demo/plot/python$ p demo.py > Traceback (most recent call last): > File "demo.py", line 74, in <module> > plot(f) > File "/tmp/lib/python2.5/site-packages/dolfin/plot.py", line 19, in plot > file << u > File "/tmp/lib/python2.5/site-packages/dolfin/dolfin.py", line 5691, > in __lshift__ > return _dolfin.File___lshift__(*args) > RuntimeError: *** Error: Only DiscreteFunctions can be written in VTK > format. > > This didn't use to happen before. >
The error is 'correct' because sending anything other than a DiscreteFunction to a VTK file is undefined. I'll see if I can generalise the VTK output to user-defined functions easily which should take care of the problem. Garth > ilmar > > Ilmar Wilbers wrote: >> Yes, take a look at >> http://fenics.org:8010/dolfin/linux_64/builds/603/step-test/1 >> >> Tis goes for all buildbots. If it is working for you, what could be >> wrong with my setup? I don't have VTK on the buildbots. >> >> ilmar >> >> Anders Logg wrote: >> >>> That demo works for me. Are you talking about >>> demo/plot/python/demo.py? >>> >>> >>> ------------------------------------------------------------------------ >>> >>> _______________________________________________ >>> DOLFIN-dev mailing list >>> [email protected] >>> http://www.fenics.org/mailman/listinfo/dolfin-dev >>> >>> >> _______________________________________________ >> DOLFIN-dev mailing list >> [email protected] >> http://www.fenics.org/mailman/listinfo/dolfin-dev >> > _______________________________________________ > DOLFIN-dev mailing list > [email protected] > http://www.fenics.org/mailman/listinfo/dolfin-dev _______________________________________________ DOLFIN-dev mailing list [email protected] http://www.fenics.org/mailman/listinfo/dolfin-dev
