-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 05/24/2012 11:28 AM, Garth N. Wells wrote: > You have a viper incompatibility. The latest viper will not work > with DOLFIN 1.0.
I was pretty sure I used the 1.0.x version. Will check ... Thanks for the quick reply! - -- Andre > > Garth > > On 24 May 2012 10:25, Andre Massing <mass...@simula.no> wrote: Hi! > > When I try to execute the stokes python examples in > demo/stokes-iterative or undocumented/stokes* > > the plotting routine always fails with (here for the taylor-hood > example) > > Traceback (most recent call last): File > "demo_stokes-taylor-hood.py", line 83, in <module> plot(u) File > "/home/andre/Work/software/FEniCS/install/stable/dolfin/release/lib/python2.7/site-packages/dolfin/common/plotting.py", > > line 121, in dolfin_plot > return viper_dolfin.plot(make_viper_object(object, mesh=mesh), > *args, **kwargs) File > "/home/andre/Work/software/FEniCS/install/stable/lib/python2.7/site-packages/viper/viper_dolfin.py", > > line 471, in plot > fig = _plotter.plot(data, **kwargs) File > "/home/andre/Work/software/FEniCS/install/stable/lib/python2.7/site-packages/viper/viper_dolfin.py", > > line 413, in plot > return self.autoplot(plot_object, *args, **kwargs) File > "/home/andre/Work/software/FEniCS/install/stable/lib/python2.7/site-packages/viper/viper_dolfin.py", > > line 432, in autoplot > plotter = Viper(plot_object, *args, **kwargs) File > "/home/andre/Work/software/FEniCS/install/stable/lib/python2.7/site-packages/viper/viper_dolfin.py", > > line 65, in __init__ > self.plot(data, *args, **kwargs) File > "/home/andre/Work/software/FEniCS/install/stable/lib/python2.7/site-packages/viper/viper_dolfin.py", > > line 90, in plot > plot_method(data, *args, **kwargs) File > "/home/andre/Work/software/FEniCS/install/stable/lib/python2.7/site-packages/viper/viper_dolfin.py", > > line 138, in plot_genericfunction > self.x = data.compute_vertex_values(self.mesh) TypeError: > compute_vertex_values() takes exactly 3 arguments (2 given) > > Is that just me or is that a known bug? > >> >> _______________________________________________ Mailing list: >> https://launchpad.net/~dolfin Post to : >> dolfin@lists.launchpad.net Unsubscribe : >> https://launchpad.net/~dolfin More help : >> https://help.launchpad.net/ListHelp -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQEcBAEBAgAGBQJPvf+sAAoJEA79ggnbq9dmH4EIAMNQK6je7WjHGsn7iZ756Vhe d/ji6V2ckpP10Zl3RgkIOTj2BNvv544sOTNYocQlQRopWvhyPfznCY68LHvOeC84 8TlRsxAweWETzWr9tDuHgUcNVYWVzuResfdBPHdk2YGDH/+/KAlewHhQAHZ10qJ6 T4DLYlVgDm25dYQSKJwD0zsUTr+biF6TdBu2R/dW4mwOJOQOGnEholIZC9dkSv+j llN/Z2oXSNdwIrO9TN1/8npDRgmWLNf5Se85ab/Demp5FBq9dFLizRzdnYlagvbO kdwij3U9UYUqqJcJOY3e2ZU0ztWG0+vU6pP8vpy43TAXoZdiz2ZeUiNCijC2Hsc= =ptZb -----END PGP SIGNATURE----- _______________________________________________ Mailing list: https://launchpad.net/~dolfin Post to : dolfin@lists.launchpad.net Unsubscribe : https://launchpad.net/~dolfin More help : https://help.launchpad.net/ListHelp