in error details

odd = None
    response.write('\r\n        ', escape=False)
    for r in pays_unconf:
        response.write("\r\n        <div class='row' 
style='padding-top:5px;padding-bottom:5px;\r\n                            ", 
escape=False)
        response.write(odd and 'background-color:lavender;' or '')
        response.write("' >\r\n                <span class='small'>\r\n         
       ", escape=False)
        response.write('{:%Y-%m-%d %H:%M:%S}'.format(r[6])) <----- this line 53 
!!

        response.write('\r\n                </span>\r\n                ', 
escape=False)
        response.write(r[1])
        response.write('\r\n            \r\n        ', escape=False)
        response.write(IMG(_src=URL('static','images/currs/' + r[0].abbrev + 
'.png'), _width=30))
        response.write('\r\n            ', escape=False)
        if addr:
            response.write('\r\n        -> ', escape=False)
            response.write(IMG(_src=URL('static','images/currs/' + 
curr_out.abbrev + '.png'), _width=30))
            response.write('\r\n            ', escape=False)
            response.write(deal.name)




вторник, 28 июля 2015 г., 0:16:40 UTC+3 пользователь Anthony написал:
>
> In list.html, what code is in place of the "......"? What is in 
> pays_unconf? You might need to see whether something is different about 
> pays_unconf on the requests that result in the error.
>
> Anthony
>
> On Monday, July 27, 2015 at 4:32:50 PM UTC-4, [email protected] 
> <javascript:> wrote:
>>
>> I need - on click tag A or on ENTER in any input of form - - call an ajax 
>> function
>>
>> in index.html view:
>>                 <form action="javascript: void(0);" 
>> enctype="multipart/form-data" method="post">
>>                     <input class="blue-c" name="addr" placeholder="Input 
>> wallet addres"
>>                        autofocus="1" id="addr"
>>                        style="  width: 100%; padding:5px; 
>> margin-bottom:25px;"
>>                        type="text" value="{{=addr}}" /> <br>
>>                 {{=A(TAG.i(_class='fa fa-search', _style='width:100px;'),
>>                     _id = 'go',
>>                     _onclick='ajax("'+URL('where', 'list')+'", ["addr"], 
>> "tag");$(",go-btn").addClass("disabled");$(this).children("i").removeClass("fa-search").addClass("fa-refresh
>>  
>> fa-spin");',
>>                     _class='go-btn button ll-blue-bgc center',
>>                     )}}
>>                 <button class="go-btn hidden"
>>                     onclick='ajax("{{=URL('where', 'list')}}", ["addr"], 
>> "tag");$(".go-btn").addClass("disabled");$("#go").children("i").removeClass("fa-search").addClass("fa-refresh
>>  
>> fa-spin");'
>>                     type='submit'
>>                         />
>>                 </form>
>>
>>
>> in list.html view:
>>         {{odd = None}}
>>         {{for r in pays_unconf:}}
>>         <div class='row' style='padding-top:5px;padding-bottom:5px;
>>                             {{=odd and 'background-color:lavender;' or 
>> ''}}' >
>>     ......
>>               </div>
>>         {{odd = not odd}}
>>         {{pass}}
>>
>>
>>
>>
>> example:
>> https://7pay.in/where
>>
>> then - if I press ENTER many times it raise error
>>
>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to