[SciPy-User] Error

Waléria Antunes David waleriantunes@gmail....
Fri Oct 22 06:54:31 CDT 2010


The problem was solved.
Now occurs this error:

TypeError at /index/

unsupported operand type(s) for ** or pow(): 'Decimal' and 'float'

 Request Method: POST  Request URL: http://localhost:8000/index/  Exception
Type: TypeError  Exception Value:

unsupported operand type(s) for ** or pow(): 'Decimal' and 'float'

 Exception Location: views.py in index, line 24

My code: http://pastebin.com/mcMeFijV

Can you help me?

Thanks,



On Fri, Oct 22, 2010 at 1:30 AM, David Warde-Farley <
wardefar@iro.umontreal.ca> wrote:

> On 2010-10-20, at 1:04 PM, Waléria Antunes David wrote:
>
> > I have a forms.py: http://pastebin.com/ihhM9GVf
> >
> > This value comes from a form. Not right this correct?
>
>
> Then it looks like it would be a member of the form object in your original
> paste, i.e. form.omega_k.
>
> David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/scipy-user/attachments/20101022/6152a408/attachment.html 


More information about the SciPy-User mailing list