[SciPy-User] Error
josef.pktd at gmail.com
josef.pktd at gmail.com
Fri Oct 22 08:33:10 EDT 2010
On Fri, Oct 22, 2010 at 7:54 AM, Waléria Antunes David <
waleriantunes at gmail.com> wrote:
> 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?
>
What's the difference to the last question you asked "Type Error"
Josef
>
> Thanks,
>
>
>
> On Fri, Oct 22, 2010 at 1:30 AM, David Warde-Farley <
> wardefar at 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
>
>
>
> _______________________________________________
> SciPy-User mailing list
> SciPy-User at scipy.org
> http://mail.scipy.org/mailman/listinfo/scipy-user
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.scipy.org/pipermail/scipy-user/attachments/20101022/a8106580/attachment.html>
More information about the SciPy-User
mailing list