Error MMTK 1.1b1 example

Gustavo A. Mercier Jr
Mon, 6 Oct 1997 19:11:55 -0400 (EDT)


I recently installed mmtk1.1b1 and I am running the examples
where I've come across the following error message:

Traceback (innermost last):
  File "", line 31, in ?
    s = m.boundingSphere()
  File "/usr/local/lib/mmtk1.1b1/", line 42, in __getattr__
    return getattr(self.type, attr)
AttributeError: boundingSphere

The system is a PPro box running RedHat 4.1 Linux (2.0.27) and python 1.4
All the latest versions of NumPy, netcdf, scientific modules... are
installed. NumPy was installed as an extension and MMTK was 
compiled ... with -lnumpymodule in the Setup file.

In the above error it seems that the __getattr__ function in
ChemicalObject intercepts the call to the method boundingSphere
that is supposed to be inherited from the module.

The dates in the and modules
are 9/1997 so I believe these are the latest!

Any work around to the problem?

A similar error appears in running the module in the Examples directory.

Gustavo A. Mercier,Jr.,MD,PhD         (. . `) -._    )-;-,_() 
Division of Nuclear Medicine          (v_,)'  _  )`-.\  ``-
Dept. of Radiology                    _;- _,-_/ / ((,'
University of Pennsylvania           ((,.-'  ((,/
3400 Spruce St.        
Philadelphia, PA 19104         215-662-3069/3091 fax: 215-349-5843