Subject: [Viper-dev] plotting bug ?

From: [email-masked]
Date: Tue, 24 Jun 2008 10:09:07 +0200 (CEST)

I get the following when I try to plot a mesh I have.

 ~/local/src/cbc-flow/data/meshes/chiari >viper  Chi0onlyTetra.xml.gz
Traceback (most recent call last):
  File "/usr/local/bin/viper", line 90, in <module>
    _main(args[-1], None)
  File "/usr/local/bin/viper", line 61, in _main
    return _dolfin_mesh_plotter(infile, outfile, data=data)
  File "/usr/local/bin/viper", line 36, in _dolfin_mesh_plotter
    p = Viper(mesh, x, 0, 1)
  File "/usr/local/lib/python2.5/site-packages/viper/viper.py", line 85,
in __init__
    self._update(x=x)
  File "/usr/local/lib/python2.5/site-packages/viper/viper.py", line 381,
in update
    if self.rescale:
AttributeError: 'Viper' object has no attribute 'rescale'

Kent

---

From: Ola Skavhaug <[email-masked]>
Date: Tue, 24 Jun 2008 11:54:09 +0200

> AttributeError: 'Viper' object has no attribute 'rescale'

It's an old bug. Try 

hg pull && hg update && python setup.py install

Ola
 
> _______________________________________________
> Viper-dev mailing list
> [email-masked]
> http://fenics.org/mailman/listinfo/viper-dev