This the entire error message,
Evaluating cappress.py
Traceback (most recent call last):
File "C:\<string>", line 49, in <module>
File "C:\Python25\Lib\site-packages\fipy\terms\sourceTerm.py", line 52, in
__init__
CellTerm.__init__(self, coeff = coeff)
File "C:\Python25\Lib\site-packages\fipy\terms\cellTerm.py", line 64, in
__init__
raise TypeError, "The coefficient must be a CellVariable or a scalar
value."
TypeError: The coefficient must be a CellVariable or a scalar value.
>>>
Regards
2008/9/5 Jonathan Guyer <[EMAIL PROTECTED]>
>
>
> On Sep 5, 2008, at 7:30 AM, franck kalala wrote:
>
> I have the following error message
>> raise TypeError, "The coefficient must be a CellVariable or a scalar
>> value."
>> TypeError: The coefficient must be a CellVariable or a scalar value.
>>
>
> Is that all is reported? Usually Python prints out a full "Traceback" which
> will tell you exactly what line of code is failing. At that point, it should
> not be hard to figure out which coefficients are not "a CellVariable or a
> scalar value".
>
>
>
>
--
***********************************************
***********************************************
Franck Kalala Mutombo
[EMAIL PROTECTED]
African Institut for Mathematical Sciences, Muizenberg Cape Town, South
Africa
[EMAIL PROTECTED]
************************************************
************************************************